[mpich-devel] Question about Fortran MPROBE tests
Pavan Balaji
balaji at mcs.anl.gov
Tue Apr 30 15:04:52 CDT 2013
Bill,
On 04/30/2013 02:10 PM US Central Time, William Gropp wrote:
> I'm getting failures in the Fortran version of the MPROBE tests because
> the test assumes that STATUS is an INOUT argument, and it sets the ERROR
> field and then checks that the value is unchanged. I don't see the
> requirement that the value of the MPI_ERROR field be unchanged. Is this
> an error in the test or is there another part of the standard of which
> I've forgotten?
The C bindings say that status is an OUT parameter. The Fortran
bindings don't set an INTENT; does that imply an INOUT parameter? If
yes, shouldn't that be made consistent with C?
AFAICT, the standard doesn't state that the status will be unchanged.
If it's an OUT parameter, the input value makes no sense anyway.
-- Pavan
--
Pavan Balaji
http://www.mcs.anl.gov/~balaji
More information about the devel
mailing list