- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to use -I flag to specify the directories for the include path.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page