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

Location of PMPI symbols

Weiss__Christian
1,580 Views

I have a question regarding the organization of Fortran MPI modules.

According to the MPI standard (3.1), the following holds:

Within the mpi_f08 and mpi modules and mpif.h, for all MPI procedures, a second procedure with the same calling conventions shall be supplied, except that the name is modified by prefixing with the letter “P”, e.g., PMPI_Isend. The specific procedure names for these PMPI_Xxxx procedures must be different from the specific procedure names for the MPI_Xxxx procedures and are not specified by this standard.

However, this does not seem to be the case. The test code

program foo
  use mpi, only : PMPI_INIT
end program foo

fails using mpiifort with the message that pmpi_init is not found in the given module, although according to the MPI standard, it should be available. Instead, if I use the module pmpi_f08, it works.

Is there a reason for this inconsistency? 

0 Kudos
1 Solution
Klaus-Dieter_O_Intel
1,429 Views

The fix is now available in Intel MPI 2019 Update 9 Build 20200923 which is also part of Parallel Studio 2020 Update 4.


View solution in original post

0 Kudos
5 Replies
PrasanthD_intel
Moderator
1,565 Views

Hi Weiss,

 

Thanks for reporting the issue.

We have tested and found some inconsistencies with the standard.

But with use mpi_f08 we didn't get any errors.

Which version of IMPI were you using?

If you were using an old version could you please update to the latest version(2019u7) and check with usempi_f08.

 

Regards

Prasanth

 

0 Kudos
Weiss__Christian
1,560 Views

Dear Prasanth,

I am using version 2019 (Build 20180829) of Intel MPI. 

I can confirm that it also works if I use the module mpi_f08 instead of pmpi_f08. I guess I can switch to that module to assure compatibility with other compilers. 

Still, I am curious for the reason why the PMPI symbols are not included in the mpi module.

 

Best,

Christian

 

0 Kudos
PrasanthD_intel
Moderator
1,542 Views

Hi Weiss,

 

As I have already said there are some inconsistencies.

We are transferring this query to the respective team.

 

Regards

Prasanth



0 Kudos
Klaus-Dieter_O_Intel
1,518 Views

Thanks for the report. The case was escalated to engineering.


0 Kudos
Klaus-Dieter_O_Intel
1,430 Views

The fix is now available in Intel MPI 2019 Update 9 Build 20200923 which is also part of Parallel Studio 2020 Update 4.


0 Kudos
Reply