|
[Sponsors] |
September 24, 2003, 02:04 |
problems with intel fortran compiler
|
#1 |
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 |
|
September 24, 2003, 03:47 |
Re: problems with intel fortran compiler
|
#2 |
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.
|
|
September 24, 2003, 11:25 |
Re: problems with intel fortran compiler
|
#3 |
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. |
|
September 24, 2003, 12:42 |
Re: problems with intel fortran compiler
|
#4 |
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 |
|
|
|
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 |