Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
27153 Discussions

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

cean
New Contributor I
160 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
Black Belt
150 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.

Reply