Re: [OMPI devel] F90 open-mpi module bug

2011-05-21 Thread Jeff Squyres
On May 21, 2011, at 10:20 AM, Dan Reynolds wrote: > Rightly so. Sorry for posting a bug to the developer list. It's just that > the bug was years old and had compiled on so many systems, plus the gfortran > error message was entirely unhelpful, so I hadn't realized to look at the > arguments

Re: [OMPI devel] F90 open-mpi module bug

2011-05-21 Thread Dan Reynolds
at the F90 module in other distrubutions (MPICH, MVAPICH, IBM, ...) don't declare "intent" on the variables, so it always just went through. Thanks again, Dan > From: jsquy...@cisco.com > Date: Sat, 21 May 2011 06:46:15 -0400 > To: de...@open-mpi.org > CC: de...@open-mpi.org

Re: [OMPI devel] F90 open-mpi module bug

2011-05-21 Thread Jeff Squyres (jsquyres)
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 th

Re: [OMPI devel] F90 open-mpi module bug

2011-05-21 Thread N.M. Maclaren
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