- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi, I tried to compile the example MPI program written in f90.
I installed intel fortran compiler 8.1 and mpi-1.2.6 on the
Opteron AMD computer.
This is the error message I got,
fortcom: Error: pi3f90.f90, line 22: Error in opening the Library module file. [MPI]
use mpi
-----^
compilation aborted for pi3f90.f90 (code 1)
Before compiling f90 program, I tested the example f77 program
with the same intel compiler, it worked fine. C program was also
good. Both are MPI programs.
Does anybody have any idea about why this happens?
Thanks!
I installed intel fortran compiler 8.1 and mpi-1.2.6 on the
Opteron AMD computer.
This is the error message I got,
fortcom: Error: pi3f90.f90, line 22: Error in opening the Library module file. [MPI]
use mpi
-----^
compilation aborted for pi3f90.f90 (code 1)
Before compiling f90 program, I tested the example f77 program
with the same intel compiler, it worked fine. C program was also
good. Both are MPI programs.
Does anybody have any idea about why this happens?
Thanks!
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you compile the source to module mpi with the Intel Fortran compiler? The compiler is saying it can't find or doesn't understand the compiled module for mpi (mpi.mod).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks!
I think the module(mpi.mod) should be included in the library
as indicated in the error message. I also tried "locate MPI.mod",
this module couldn't be found.
I think the module(mpi.mod) should be included in the library
as indicated in the error message. I also tried "locate MPI.mod",
this module couldn't be found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to compile the Fortran source for the module. It may be that a precompiled module was provided - if so, you need to use -I to tell the compiler where to find it.
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