Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28543 Discussions

include file: In one source file, some subs can include it, some can't.

cean
New Contributor II
357 Views

Hi,

 

My one source for(F77) file has many subroutines. Some of them include one same include file which is about common block. I got an error #5102: Cannot open include file 'MYCOM.FOR' for 3 of the subroutines. 

 

Any idea what should I look to see why these 3 subs is different, while there are 30+ subs have no problem to include.

 

Cheers,

 

Cean

 

 

0 Kudos
1 Reply
mecej4
Honored Contributor III
347 Views

Please display in detail at least one instance of each: subroutine with INCLUDE that the compiler accepts, and another where it is rejected. You can, instead, zip the source and include files and attach the zip to your reply.

0 Kudos
Reply