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" <n...@cam.ac.uk> 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
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel

Reply via email to