CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   problems with intel fortran compiler (http://www.cfd-online.com/Forums/main/6606-problems-intel-fortran-compiler.html)

ryoga September 24, 2003 01:04

problems with intel fortran compiler
 
I have been having trouble with intel's free non-commercial fortran compiler for linux (ifc). I am trying to compile and run one of my research codes, which was written in f90. When I use ifc, the code does compile, however, when I try to run it, the code dies and I get the following error message:

Deallocate error 493: Variable was not created by ALLOCATE

End of diagnostics

Has anyone encountered an error like this before? I know that source code is okay in that in the past I have compiled it with Absoft's linux fortran compiler and obtained an executable that runs. (Unfortunately, I don't have access to the Absoft compiler anymore.)

ryoga

prasat September 24, 2003 02:47

Re: problems with intel fortran compiler
 
I guess if you are using allocate command or not. I got it several times but everytime it is a problem of allocation and deallocation.


Peter Attar September 24, 2003 10:25

Re: problems with intel fortran compiler
 
Just because code compiles with one compiler does not mean it's ok. It could be that the first compiler either 1) has a bug or 2) a nonstandard feature which allows the code to compile and execute correctly. I would first compile the code with all the debug options set(ie for ifc -g -C)

Sounds to me like you are trying to deallocate a variable which is not allocatable.


ryoga September 24, 2003 11:42

Re: problems with intel fortran compiler
 
Thanks for your input guys!

I'll compile it in debug mode (which I should've done in the first place) and see if that renders any more clues. However, I do believe that the code is "okay" in that it has compiled and executed with Absoft, Sun, and Tru64 unix fortran compilers in the past. (Again, I no longer have access to these compilers.)

Ryoga


All times are GMT -4. The time now is 11:54.