Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

'var$2004' is being used without being defined

$
0
0

Hi all,

I am encountering a strange message related to run time check.
I compiled with ifort 12.1.3.293 build 20120212 on linux64 with following options : -g -O0 -fp-model precise -openmp  -Dmkl -ftz -extend-source -DFCCI -check uninit -fpe0 -ftrapuv  -traceback -lefence

Running my program leads to :

forrtl: severe (193): Run-Time Check Failure. The variable 'mysource_$ICUT' is being used without being defined
Image              PC                Routine            Line        Source             
e_mainline_linux6  0000000003B9E426  mysource_                  371  mysource.F

Line 371 is a ENDDO statement. ICUT is clearly defined with this DO/ENDDO block :
344 : DO ICUT=1,NBCUT
...
371 :  ENDDO ! next ICUT

Seting ICUT=0 at the begining of the subroutine leads to :

forrtl: severe (193): Run-Time Check Failure. The variable 'var$2004' is being used without being defined
Image              PC                Routine            Line        Source             
e_mainline_linux6  0000000003B9E426  mysource_                  371  mysource.F

But String "2004" does not occur in any source file.

Thanks for any help.
Thierry

 


Viewing all articles
Browse latest Browse all 2583