> 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
|