CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

problems with intel fortran compiler

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 24, 2003, 02:04
Default problems with intel fortran compiler
  #1
ryoga
Guest
 
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.)

ryoga
  Reply With Quote

Old   September 24, 2003, 03:47
Default Re: problems with intel fortran compiler
  #2
prasat
Guest
 
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, 11:25
Default Re: problems with intel fortran compiler
  #3
Peter Attar
Guest
 
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, 12:42
Default Re: problems with intel fortran compiler
  #4
ryoga
Guest
 
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.)

Ryoga
  Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ICEM] Problems with coedge curves and surfaces tommymoose ANSYS Meshing & Geometry 6 December 1, 2020 12:12
Comparison between C/C++ and Fortran? rick Main CFD Forum 45 September 6, 2011 01:52
Fortran Compiler Problems Majed_A CFX 0 July 18, 2010 11: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 04:59


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