Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

can't find modules or libraries

807575Nov 11 2004 — edited Nov 12 2004
I am trying to compile some fortran 90 code. I am using the -M option to specify the location of modules as indicated by the following line:


f90 -M/home2/pncgisho/jensen/apps/f90gl-1.2.9/include/GL -c mod_OpenGL_visualization.f90


However, I get the following error message:


use opengl_glut
^
"mod_OpenGL_visualization.f90", Line = 3, Column = 6: ERROR: "OPENGL_GLUT" is specified as the module name on a USE statement, but the compiler cannot find it.


I know that the module is located in the directory as specified. The most frustrating aspect of the problem is that on another machine (both are SunBlade 2000's) the compiler can find the modules. I have the directories configured exactly the same on both machines and I use the exact same makefile. Do you have any suggestions as to why the compiler cannot find the modules?

I am also having a similar issue with the linker not being able to locate libraries, eventhough I am using the -L and -l options to specify the location and names. With the libraries, if I give the complete path and name of the library (i.e., /usr/lib/libmylib.a), the linker will find it. Otherwise I get the message that the linker cannot find the libraries.

Any help will be greatly appreciated.

Sincerely,
Richard Jensen
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 10 2004
Added on Nov 11 2004
3 comments
361 views