Commit 6a6f306a authored by Shane Snyder's avatar Shane Snyder
Browse files

modify bg/q module record to belong to rank -1

parent 5bf35a7a
...@@ -194,9 +194,13 @@ static void bgq_shutdown( ...@@ -194,9 +194,13 @@ static void bgq_shutdown(
if (my_rank == 0) if (my_rank == 0)
{ {
bgq_runtime->record->base_rec.rank = -1;
DARSHAN_MPI_CALL(PMPI_Comm_size)(mod_comm, &nprocs); DARSHAN_MPI_CALL(PMPI_Comm_size)(mod_comm, &nprocs);
ion_ids = malloc(sizeof(*ion_ids)*nprocs); ion_ids = malloc(sizeof(*ion_ids)*nprocs);
result = (ion_ids != NULL); result = (ion_ids != NULL);
if(!result)
bgq_runtime->record->counters[BGQ_INODES] = -1;
} }
DARSHAN_MPI_CALL(PMPI_Bcast)(&result, 1, MPI_INT, 0, mod_comm); DARSHAN_MPI_CALL(PMPI_Bcast)(&result, 1, MPI_INT, 0, mod_comm);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment