CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

problems with intel fortran compiler

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   September 24, 2003, 01:04
Default problems with intel fortran compiler
Posts: n/a
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.)

  Reply With Quote

Old   September 24, 2003, 02:47
Default Re: problems with intel fortran compiler
Posts: n/a
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.

  Reply With Quote

Old   September 24, 2003, 10:25
Default Re: problems with intel fortran compiler
Peter Attar
Posts: n/a
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.

  Reply With Quote

Old   September 24, 2003, 11:42
Default Re: problems with intel fortran compiler
Posts: n/a
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.)

  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 00:52
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 0 August 5, 2011 16:02
Fortran Compiler Problems Majed_A CFX 0 July 18, 2010 10:34
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Fortran compiler Arnab Siemens 5 September 14, 2004 03:59

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