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

can't find compiled module file

ppthelion
Beginner
311 Views
I'm a newer in linux system,and want to compile my fortran program under it.my environment is : Linux,fedora 12,Ifort :11.064 32Bit,in order to use my own libraries.I have compiled them and generate the module files and library files which locate is /opt/mylib/,then I set the environments in bash like this : INCLUDE=${INCLUDE}:/opt/mylib/include export INCLUDE and LIBRARY_PATH=${LIBRARY_PATH}:/opt/mylib/lib export LIBRARY_PATH
In my work program ,I want to use types_myown.module ,also I checked it under this subpath,but the ifort compiler seems it can't find it ,the error showed as::error #7002: Error in opening the compiled module file. Check INCLUDE paths. [types_myown]
In bash cmd ,type the"echo ${INCLUDE}" and "echo ${LIBRARY_PATH}",I can see the path is right,why can't find it ??
Any hints are appreciated,Thanks.
0 Kudos
1 Reply
eliosh
Beginner
311 Views
Try to use -I flag to specify the directories for the include path.
0 Kudos
Reply