Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Equivalent .h files
From: Benjamin Lamptey (bllamptey_at_[hidden])
Date: 2008-10-31 05:48:43

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

mpif90 -c -O3 /Users/lamptey/projectb/src/blag_real_burnmpi.f90
Unfortunately, this installation of Open MPI was not compiled with
Fortran 90 support. As such, the mpif90 compiler is non-functional.

make: *** [blag_real_burnmpi.o] Error 1

4) I have the g95 compiler installed. So when I try using the
g95, (with include "mpif.h" or 'mpif.h'), I get the following mesage:

g95 -fno-pic -c -O3 /Users/lamptey/projectb/src/blag_real_burnmpi.f90
Error: Can't open included file 'mpif.h'
make: *** [blag_real_burnmpi.o] Error 1

5) What are people's experience in this case?


On Thu, Oct 30, 2008 at 2:33 PM, Benjamin Lamptey <bllamptey_at_[hidden]>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.
> Thanks
> Ben