Disable PMPI bindings?

10 views
Skip to first unread message

Joshua Strodtbeck

unread,
Feb 14, 2025, 2:28:20 PMFeb 14
to us...@lists.open-mpi.org
Hi everyone,

I am trying to use Open MPI built with IBM's Open XLF 17.x, and I get
compile-time errors in the application (WRF) due to an apparent mismatch
between the PMPI argument list and what was actually compiled into the
module, e.g.:

"mpif-sizeof.h", line 2463.6: 1514-699 (S) Procedure
"pmpi_sizeof_real32_r6" must have a nonoptional dummy argument that
corresponds by position in the argument list to a dummy argument not
present in procedure "pmpi_sizeof_real32_r6", present and type
incompatible, present with different kind type parameters, or present
with a different rank.

Open XLF is generally a lot stricter about the Fortran standards than
gfortran or ifort. Is it possible to disable PMPI bindings at compile
time so they don't appear at all? I am also happy to triage the bug,
since I have a Power10 system and the Open XLF compiler.

-JPS

Jeff Squyres

unread,
Feb 15, 2025, 8:29:43 AMFeb 15
to Open MPI User's List
Greetings Joshua.

I *suspect* that disabling the PMPI bindings won’t help you; the bindings between the MPI API and the PMPI are the same.  I.e., if there’s an issue in the PMPI bindings, there’s almost certainly an issue with the MPI bindings.

Can you open a GitHub issue about this, and submit all the information requested here: 

https://docs.open-mpi.org/en/v5.0.x/getting-help.html#for-problems-building-or-installing-open-mpi

Fortran compilers vary wildly in their support for various things, and Open MPI attempts to adapt itself to your Fortran compiler.  As such, we may need to see the specific mpif-sizeof.h that was generated for your system, etc.



To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@lists.open-mpi.org.



-- 
{+} Jeff Squyres

George Bosilca

unread,
Feb 17, 2025, 7:24:40 AMFeb 17
to us...@lists.open-mpi.org
I'm not sure if I correctly understand the compiler complaint here, but I think it is complaining about a non-optional dummy argument being omitted from the call. In this case, I assume the issue is raised in the mpif Fortran interface (not the f08 interface), due to the fact that the error is not an optional argument.

How exactly are you calling MPI_Sizeof ? IT must be with 3 arguments because according to the MPI standard 4.1 the 3-rd argument of the MPI_sizeif, aka. the error, is not optional. 

George.
Reply all
Reply to author
Forward
0 new messages