Commit 3032aff0 authored by Philip Carns's avatar Philip Carns

add barriers between shutdown_bench test scenarios


git-svn-id: https://svn.mcs.anl.gov/repos/darshan/trunk@597 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 5b9f50bf
......@@ -1426,6 +1426,7 @@ void darshan_shutdown_bench(int argc, char** argv, int rank, int nprocs)
if(rank == 0)
printf("# 1 unique file per proc\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_shutdown(1);
darshan_global_job = NULL;
......@@ -1449,6 +1450,7 @@ void darshan_shutdown_bench(int argc, char** argv, int rank, int nprocs)
if(rank == 0)
printf("# 1 shared file across procs\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_shutdown(1);
darshan_global_job = NULL;
......@@ -1472,6 +1474,7 @@ void darshan_shutdown_bench(int argc, char** argv, int rank, int nprocs)
if(rank == 0)
printf("# 1024 unique files per proc\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_shutdown(1);
darshan_global_job = NULL;
......@@ -1495,6 +1498,7 @@ void darshan_shutdown_bench(int argc, char** argv, int rank, int nprocs)
if(rank == 0)
printf("# 1024 shared files across procs\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_shutdown(1);
darshan_global_job = NULL;
......
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