The Open MPI that ships with Leopard does not include Fortran support
because OS X does not ship with a Fortran compiler (this was Apple's
decision, not ours). If you have Fortran MPI applications, you'll
need to a) download and install your own Fortran compiler (e.g., http://hpc.sf.net/)
,
Hello again,
I have to be more specific with my problem.
1) I am using the Mac OS X (Leopard) operating system.
When I do uname -a, I get Darwin Kernel Version 9.5.0
2) My code if fortran 90
3) I tried using the mpif90 wrapper and I got the following message
x
mpif90 -c -O3 /User
If you are using the module 'use mpi' then don't have "include
'mpif.h'"
use only one of those.
Make sure you use 'mpif90' to compile. Also make sure to read the
other reply on this list. about include paths for headers and modules.
Brock Palen
www.umich.edu/~brockp
Center for Advanced
Brock,
I am using the g95 compiler on Mac OS X.
I had
include 'mpif.h'
and I got the message "could not open mpif.h".
At your suggestion, I have added
USE mpi
include 'mpif.h'
I get the message "Can't open module file 'mpi.mod'
What am I doing wrong?
Thanks
Ben
On Thu, Oct 30, 2008 at 2:38 PM
Benjamin Lamptey wrote:
Hello,
I am new at using open-mpi and will like to know something basic.
What is the equivalent of the "mpif.h" in open-mpi which is normally
"included" at
the beginning of mpi codes (fortran in this case).
Hello Benjamin and List
As far as I know, it is just the s
Benjamin Lamptey wrote:
Hello,
I am new at using open-mpi and will like to know something basic.
What is the equivalent of the "mpif.h" in open-mpi which is normally
"included" at
the beginning of mpi codes (fortran in this case).
I shall appreciate that for cpp as well.
For Fortran:
If your using fortran 90 the mpi module is best:
use mpi
If 77 (or don't have a working module)
include 'mpif.h'
Just like any other MPI library.
Brock Palen
www.umich.edu/~brockp
Center for Advanced Computing
bro...@umich.edu
(734)936-1985
On Oct 30, 2008, at 10:33 AM, Benjamin Lamptey w