Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

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

cean
New Contributor II
599 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
589 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