FEAP User Forum

FEAP => Installation => Topic started by: Bruno Mevel on December 15, 2014, 02:51:34 AM

Title: setmem error
Post by: Bruno Mevel on December 15, 2014, 02:51:34 AM
I try to compile a debug version of feap84  (intel fortran 64b)
The compiler cannot accept free(adr) . I have founded that  adr is an integer coming from w_int.h.
The function free require a pointer??? . All this is located in setmem function.


How to fix this problem :  Release version is OK, but debug version cannot be built?? Cause Error in setmem.
Title: Re: setmem error
Post by: FEAP_Admin on December 15, 2014, 10:18:06 PM
Debug versions (-g) with the Intel Compiler work on Linux and Mac OS X machines.  However the compiler appears to have bugs on Windows machines when it comes to creating debug versions.

What type of machine are you trying to do this on?
Title: Re: setmem error
Post by: Bruno Mevel on December 16, 2014, 12:35:57 AM
OS is Windows 7 pro,   other components are : 

Microsoft .NET Framework Version 4.5.50938 RTMRel, Installed Version: IDE Standard
Microsoft Visual Web Developer 2010   01011-532-2002361-70635

Intel(R) Visual Fortran Composer XE 2011 Update 11 Integration for Microsoft Visual Studio* 2010, 12.1.3534.2010,
Intel® Inspector XE 2011 Update 10   
Intel® VTune™ Amplifier XE 2011 Update 9

 
Title: Re: setmem error
Post by: Bruno Mevel on December 16, 2014, 06:40:39 AM
I must apologize for my lasts post :

I had problems to compile a debug version  : after checking the setmem  adr variable, I focused my research on the integer size in the project...

Then I noticed that the project was linked with /include/integer4.  :-[

After defining the /include/integer8, debug and release compiles properly.

At the end there is  no bug to report here.