[mpich-discuss] How to get MPI version?

Luiz Carlos da Costa Junior lcjunior at ufrj.br
Wed Sep 24 15:59:57 CDT 2008


Hi,

I have an application, first implemented by the time of MPI1 standard and
now also upgraded to MPI2.
This application uses simple MPI functions (the MPI1 standard still works
for it).

Despite the fact that I should upgrade every instances of this applications
to MPICH2, just one modification was needed in order to upgrade to MPI2.
In this way, I would like to make my code portable along the 2 versions.

Is there any function that returns the version of MPI standard (1 or 2) that
I can use (in the 2 standards)?

Thanks in advance,
Luiz//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080924/2ae28031/attachment.htm>


More information about the mpich-discuss mailing list