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

More PMPI symbols not found

Weiss__Christian
1,161 Views

This post refers to https://community.intel.com/t5/Intel-oneAPI-HPC-Toolkit/Location-of-PMPI-symbols/m-p/1192532#M6932.

 

While I can confirm that the test code posted there works with OneAPI 2021.1, the following still fails to compile.

 

program foo
  use mpi, only: PMPI_Init, PMPI_Send
end program foo

 

The program only differs from the original in the inclusion of PMPI_Send. Compilation yields

test.f90(2): error #6580: Name in only-list does not exist or is not accessible.   [PMPI_SEND]
  use mpi, only: PMPI_INIT, PMPI_Send

More, other PMPI symbols lead  to the same problem.

 

Naively, this looks as though not all PMPI symbols are included in the library, or contained in another library which is not linked by the wrapper.

 

 

0 Kudos
8 Replies
VarshaS_Intel
Moderator
1,117 Views

Hi,

 

Thanks for reporting to us.

 

We are able to reproduce your issue. Meanwhile, please try using the mpi_f08 or pmpi_f08 as we are not facing any errors.

 

program foo
 use mpi_f08(or pmpi_f08), only: PMPI_Init, PMPI_Send
end program foo

 

Could you please let us the MPI version you are using?

 

For the "use mpi" module, we are reporting this to the concerned development team. We will update you once the issue is fixed.

 

Thanks & Regards,

Varsha

 

0 Kudos
Weiss__Christian
1,106 Views

Dear Varsha,

 

thank you for your quick reply. Good to hear that you can reproduce the issue. The workaround is not really feasible for me, but I can wait until an update will be released.

 

I am using Intel MPI version 2021.1, Build 20201112 (id: b9c9d2fc5), as per mpirun --version.

 

Best regards,

Christian

0 Kudos
Weiss__Christian
1,105 Views

Dear Varsha,

 

I have an update on the PMPI functions we would require for our code to work:

 

PMPI_ACCUMULATE
PMPI_ALLGATHER
PMPI_ALLGATHERV
PMPI_ALLREDUCE
PMPI_ALLTOALL
PMPI_ALLTOALLV
PMPI_ALLTOALLW
PMPI_BARRIER
PMPI_BCAST
PMPI_BSEND
PMPI_BSEND_INIT
PMPI_COMPARE_AND_SWAP
PMPI_EXSCAN
PMPI_FETCH_AND_OP
PMPI_GATHER
PMPI_GATHERV
PMPI_GET
PMPI_GET_ACCUMULATE
PMPI_IALLGATHER
PMPI_IALLGATHERV
PMPI_IALLREDUCE
PMPI_IALLTOALL
PMPI_IALLTOALLV
PMPI_IALLTOALLW
PMPI_IBARRIER
PMPI_IBCAST
PMPI_IBSEND
PMPI_IEXSCAN
PMPI_IGATHER
PMPI_IGATHERV
PMPI_INEIGHBOR_ALLGATHER
PMPI_INEIGHBOR_ALLGATHERV
PMPI_INEIGHBOR_ALLTOALL
PMPI_INEIGHBOR_ALLTOALLV
PMPI_INEIGHBOR_ALLTOALLW
PMPI_IPROBE
PMPI_IRECV
PMPI_IREDUCE
PMPI_IREDUCE_SCATTER
PMPI_IREDUCE_SCATTER_BLOCK
PMPI_IRSEND
PMPI_ISCAN
PMPI_ISCATTER
PMPI_ISCATTERV
PMPI_ISEND
PMPI_ISSEND
PMPI_NEIGHBOR_ALLGATHER
PMPI_NEIGHBOR_ALLGATHERV
PMPI_NEIGHBOR_ALLTOALL
PMPI_NEIGHBOR_ALLTOALLV
PMPI_NEIGHBOR_ALLTOALLW
PMPI_PROBE
PMPI_PUT
PMPI_RACCUMULATE
PMPI_RECV
PMPI_RECV_INIT
PMPI_REDUCE
PMPI_REDUCE_SCATTER
PMPI_REDUCE_SCATTER_BLOCK
PMPI_REQUEST_FREE
PMPI_RGET
PMPI_RGET_ACCUMULATE
PMPI_RPUT
PMPI_RSEND
PMPI_RSEND_INIT
PMPI_SCAN
PMPI_SCATTER
PMPI_SCATTERV
PMPI_SEND
PMPI_SEND_INIT
PMPI_SENDRECV
PMPI_SENDRECV_REPLACE
PMPI_SSEND
PMPI_SSEND_INIT
PMPI_START
PMPI_Startall
PMPI_TEST
PMPI_TESTALL
PMPI_TESTANY
PMPI_TESTSOME
PMPI_WAIT
PMPI_WAITALL
PMPI_WAITANY
PMPI_WAITSOME

 

Could you discuss with the developers if there are any conceptual problems with these functions?

0 Kudos
VarshaS_Intel
Moderator
1,062 Views

Hi,


Thanks for providing the information.


We have reported the other PMPI functions mentioned by you to the concerned development team. We will update you once the issue is fixed.


Thanks & Regards,

Varsha  


0 Kudos
VarshaS_Intel
Moderator
1,043 Views

Hi,


We have discussed your issue with our developer's team and we would like to inform you that this request will be implemented in the upcoming future releases. However, it might not be implemented in the very next release.


Meanwhile, as a workaround, we may recommend avoid using the "use only" statement if possible.



Thanks & Regards,

Varsha


0 Kudos
VarshaS_Intel
Moderator
722 Views

Hi Christian,


Could you please let us know how you are using the PMPI standard functions?

Could you please elaborate your use-case?


Thanks & Regards,

Varsha


0 Kudos
VarshaS_Intel
Moderator
703 Views

Hi,


We have not heard back from you. Could you please let us know how you are using PMPI functions and could you please elaborate on your use case?


Thanks & Regards,

Varsha


0 Kudos
Weiss__Christian
664 Views

Hi Varsha,

 

sorry for the late reply, somehow I did not get a notification about your answers.

 

Our use case is the Vftrace profiler: https://github.com/SX-Aurora/Vftrace

It uses the PMPI functions to intercept an application's MPI calls. This way, a communication profile is created. 

 

Best regards,

Christian

0 Kudos
Reply