<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div>Hello Darshan team,</div><div>When using Darshan to profile a non-MPI application using the DARSHAN_ENABLE_NONMPI flag, the application is crashing with these error messages:</div><div><br></div><div>
<div>Attempting to use an MPI routine before initializing MPICH</div>
<div>Abort(671693573) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Comm_free: Invalid communicator, error stack:</div>
<div>PMPI_Comm_free(137): MPI_Comm_free(comm=0x996cf0) failed</div>
<div>PMPI_Comm_free(85).: Invalid communicator</div>

</div><div><br></div><div>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?</div><div><br></div></div>