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 - correction
From: Kevin.Buckley_at_[hidden]
Date: 2010-06-22 18:52:51

> I think the problem is that you didn't include mpif.h in testsubr().
> Hence, the value of MPI_INTEGER was undefined -- I don't think it's a
> problem with the value of MPI_Comm.

That's correct.

You also don't then need to pass MPI_Comm_World around, it is a
parameter defined in mpif-common.h which gets included by mpif.h .

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