On 08/25/2015 02:44 PM, Gilles Gouaillardet wrote:
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 ?

One more datapoint, also from a monitor tool (Score-P, as some of you know): The Open SHMEM part of Open MPI also calls the MPI interface, not the PMPI. That may result in performance data from MPI calls in SHMEM applications, which seems weird too.

Bert


Cheers,

Gilles



--
Dipl.-Inf. Bert Wesarg
wiss. Mitarbeiter

Technische Universität Dresden
Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH)
01062 Dresden
Tel.: +49 (351) 463-42451
Fax: +49 (351) 463-37773
E-Mail: bert.wes...@tu-dresden.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to