Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

Wrong MPICH_NUMVERSION in mpi.h on Windows?

Volker_J_
Novice
1,571 Views

Hi,

we've recently moved to Intel 19 Update 3 MPI and noticed that the MPICH_VERSION macro in mpi.h is wrong/confusing on Windows and is also different than on Linux:

2019.3.203/intel64/include/mpi.h:504 (windows)
#define MPICH_VERSION "0.0"
#define MPICH_NUMVERSION 300

on Linux:

#define MPICH_VERSION "3.3b3"
#define MPICH_NUMVERSION 30300103

The latter case is much more reasonable and works fine, while the first case seems to be broken.

In the end, that 3 digit version number makes PETSc assume that it is using an old MPICH version and therefore compares "0.0" with MPI_Get_library_version(), which will eventually fail on Windows.
https://bitbucket.org/petsc/petsc/src/f03f29e6b9f50a9f9419f7d348de13f7c6b76dec/src/sys/objects/pinit.c#lines-807

Can you please fix the version number of windows?

Thank you and kind regards,

Volker Jacht

0 Kudos
1 Reply
Yury_K_Intel
Employee
1,571 Views

Hello,

Thank you for the report, it will be fixed in upcoming release.

--

Best regards, Yury

0 Kudos
Reply