Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Fortran - MPI_WORLD_COMM
From: Kevin.Buckley_at_[hidden]
Date: 2010-06-22 22:43:02


> This is basic fortran programming issue, you may want to consult
> some fortran programming book.
>
> A.Chan

It is more an issue with understanding the usual implementations
of the MPI Fortran bindings, namely, having to include mpif.h in
ALL procedures that wish to make use of the MPI variables.

The OP would be better advised to consult some MPI documentation.

Most MPI documentation would:

a) mention the recommendation of the use of mpif.h
b) tell one that MPI_Comm_World and bretheren in mpif.h are
     Fortran parameters

You won't find that info by consulting some fortran programming
book.

-- 
Kevin M. Buckley                                  Room:  CO327
School of Engineering and                         Phone: +64 4 463 5971
 Computer Science
Victoria University of Wellington
New Zealand