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, Brock Palen <bro...@umich.edu> wrote:

> 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 <http://www.umich.edu/%7Ebrockp>
> Center for Advanced Computing
> bro...@umich.edu
> (734)936-1985
>
>
>
>
> On Oct 30, 2008, at 10:33 AM, 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.
>>
>> Thanks
>> Ben
>> _______________________________________________
>> users mailing list
>> us...@open-mpi.org
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

Reply via email to