Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] F90 open-mpi module bug
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2011-05-21 06:46:15

Nick's right - changing your test program to use ierr instead of 0 makes it compile on OMPI for me. Hence, the F90 module is actually doing exactly what it is supposed to do: tell you when you have a compile time error in your code. :)

I'm not sure why it compiles for you on MPICH - perhaps they don't have an explicit F90 interface for MPI_ABORT...?

Sent from my phone. No type good.

On May 21, 2011, at 6:14 AM, "N.M. Maclaren" <nmm1_at_[hidden]> wrote:

> On May 21 2011, Dan Reynolds wrote:
>> ./test_driver.F90:12.39: call mpi_abort(MPI_COMM_WORLD, -1, 0)
> It's unlikely to provoke that particular error, but that call is erroneous.
> It should be something like:
> integer :: ierror
> call mpi_abort(MPI_COMM_WORLD, 1, ierror)
> Negative error numbers aren't forbidden, but aren't advisable. However,
> passing a constant to an INTENT(OUT) argument is a serious no-no.
> I can imagine compilers where it might provoke that error, but I doubt
> that it is the cause. It's worth fixing and retrying, anyway.
> Regards,
> Nick Maclaren.
> _______________________________________________
> devel mailing list
> devel_at_[hidden]