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

error #7002: Error in opening the compiled module file. Check INCLUDE paths

xuwanqing
Beginner
625 Views

when i am going to converting a program from cvf to ivf, then come to error #7002: Error in opening the compiled module file. Check INCLUDE paths.

program:

subroutine acd
use ran_mod
use input

in cvf,the ran_mod is a module to create Random numbers,and the cvf contain it.but i don't know what is the random module in ivf.

 

0 Kudos
2 Replies
mecej4
Black Belt
619 Views

Neither ran_mod.mod nor input.mod is present in my CVF 6.6 installation. I suspect that these were user-provided/generated module files. You could search for the source files in which these modules are declared and try compiling them. Alternatively, you could comment out the corresponding USE statements and obtain a list of missing external names at link time.

A number of non-standard random number related routines were provided in DFLIB. 

Which versions of CVF and IFort are you using?

Steve_Lionel
Black Belt Retired Employee
595 Views

There was no ran_mod provided by CVF.

My advice is to use the Fortran intrinsic procedure RANDOM_NUMBER (along with RANDOM_SEED if you need it.) 

Reply