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-30 11:11:19


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 <brockp_at_[hidden]> 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
> brockp_at_[hidden]
> (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
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>