Folks,

I ran some basic tests with IPM profiler-like
https://github.com/nerscadmin/IPM and found that when fortran calls an
mpi subroutine, this is accounted twice.
IPM defines both MPI_* subroutines and their fortran mpi_*_ counterpart.
since the ompi fortran calls the MPI_* symbol (and not the PMPI_* one), and
IPM does nothing to prevent double accounting, all subroutines are
accounted twice

what is the rationale for calling MPI_* from fortran instead of PMPI_* ?

basically, I can see three options
1. we do nothing, this is an IPM problem, not an Open MPI one
2. we change ompi to call the PMPI_* symbols
3. we add a configure option to call PMPI_* symbols instead of the MPI_*
ones

any thoughts ?

Cheers,

Gilles

Reply via email to