[mpich-discuss] Fortran 08 tests with 'use mpi'
Raffenetti, Ken
raffenet at anl.gov
Fri Jan 7 10:59:14 CST 2022
We would consider a patch, yes. First, you would need to sign and return the contributors agreement. https://www.mpich.org/documentation/contributor-docs/
As for whether or not automatic conversion is practical, I think if we structured the tests such that the types needing conversion were easily identifiable, then it could be done. It would require some churn of the existing tests. It may also complicate the addition of new, as the author would need to adhere to guidelines that may not be obvious without prior knowledge.
I gave myself a task to support automatic conversion of the tests the `use mpi_f08`, but it is not very high priority at the moment.
Ken
On 1/7/22, 3:10 AM, "Gregor Corbin via discuss" <discuss at mpich.org> wrote:
Hi MPICH,
I noticed that some of the tests in test/mpi/f08 still work with 'use
mpi' instead of 'use mpi_f08', mostly in the pt2pt folder. These seem
to be copies of the tests in f90 which in turn have been generated by
f77tof90.
Shouldn't these tests be converted to 'use mpi_f08'? If so, would you be
interested in a PR that fixes this? I would need to do this anyway.
Kind regards,
Gregor Corbin
PS.: The interfaces for 'use mpi' and 'use mpi_f08' are probably too
different for an automatic conversion to be practical (how to change all
the integers to type(mpi_xxx) for example?).
More information about the discuss
mailing list