[MPI3 Fortran] TYPE(MPI_Status) with SEQUENCE attribute

Rolf Rabenseifner rabenseifner at hlrs.de
Thu Mar 31 14:31:08 CDT 2011


Dear all,

as discussed, I had removed the SEQUENCE attribute from form the
new TYPE(MPI_Status) derived type within the new mpi_f08 module.

I checked now with a test program whether the new status can be used 
in a user program in the same way as the old status (i.e. an INTEGER,
DIMENSION(MPI_STATUS_SIZE) array) and detected, that the compiler
will issue a lot of incompatibilities if the newly defined status
does not use internally the sequence attribute.

It is not expected that this SEQUENCE attribute has any negative 
impact in scalable applications.

Therefore, I had to reinvent the SEQUENCE into the TYPE(MPI_Status).

The test program and compiler output is attached.
The NON_.... variables are declared with types where 
the SEQUENCE is missing.
All these NON_.... variables cause errors and the abort of the compilation.

Same usage patterns with MPI handle and status types internally using
SEQUENCE do not cause any errors.

Best regards
Rolf

-- 
Dr. Rolf Rabenseifner . . . . . . . . . .. email rabenseifner at hlrs.de
High Performance Computing Center (HLRS) . phone ++49(0)711/685-65530
University of Stuttgart . . . . . . . . .. fax ++49(0)711 / 685-65832
Head of Dpmt Parallel Computing . . . www.hlrs.de/people/rabenseifner
Nobelstr. 19, D-70550 Stuttgart, Germany . (Office: Allmandring 30)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: handle_status_commonblock_test.f90
Type: text/x-fortran
Size: 2124 bytes
Desc: not available
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20110331/83e0ac73/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: handle_status_commonblock_test_compilation_protocol.txt
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20110331/83e0ac73/attachment-0001.txt>


More information about the mpiwg-fortran mailing list