[Darshan-users] Call to PMPI_Comm_free when DARSHAN_ENABLE_NONMPI is set

Ed Karrels edk at illinois.edu
Fri Feb 5 16:44:25 CST 2021


Hello Darshan team,
When using Darshan to profile a non-MPI application using the
DARSHAN_ENABLE_NONMPI flag, the application is crashing with these error
messages:

Attempting to use an MPI routine before initializing MPICH
Abort(671693573) on node 0 (rank 0 in comm 0): Fatal error in
PMPI_Comm_free: Invalid communicator, error stack:
PMPI_Comm_free(137): MPI_Comm_free(comm=0x996cf0) failed
PMPI_Comm_free(85).: Invalid communicator

This is with darshan-3.2.1.  In darshan-runtime/lib/darshan-core.c line
2039 there is a call to PMPI_Comm_free(&core->mpi_comm) that isn't
protected with a check of "using_mpi". Should it be?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20210205/9fad17f7/attachment.html>


More information about the Darshan-users mailing list