[Darshan-commits] [Git][darshan/darshan][master] fix to get output ordering right in shutdown_bench
Shane Snyder
xgitlab at cels.anl.gov
Tue Aug 9 10:37:08 CDT 2016
Shane Snyder pushed to branch master at darshan / darshan
Commits:
90b7a90e by Shane Snyder at 2016-08-09T08:34:42-07:00
fix to get output ordering right in shutdown_bench
- - - - -
1 changed file:
- darshan-runtime/lib/darshan-core.c
Changes:
=====================================
darshan-runtime/lib/darshan-core.c
=====================================
--- a/darshan-runtime/lib/darshan-core.c
+++ b/darshan-runtime/lib/darshan-core.c
@@ -1771,7 +1771,7 @@ void darshan_shutdown_bench(int argc, char **argv)
darshan_mpiio_shutdown_bench_setup(1);
if(my_rank == 0)
- printf("# 1 unique file per proc\n");
+ fprintf(stderr, "# 1 unique file per proc\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_core_shutdown();
darshan_core = NULL;
@@ -1786,7 +1786,7 @@ void darshan_shutdown_bench(int argc, char **argv)
darshan_mpiio_shutdown_bench_setup(2);
if(my_rank == 0)
- printf("# 1 shared file per proc\n");
+ fprintf(stderr, "# 1 shared file per proc\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_core_shutdown();
darshan_core = NULL;
@@ -1801,7 +1801,7 @@ void darshan_shutdown_bench(int argc, char **argv)
darshan_mpiio_shutdown_bench_setup(3);
if(my_rank == 0)
- printf("# 1024 unique files per proc\n");
+ fprintf(stderr, "# 1024 unique files per proc\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_core_shutdown();
darshan_core = NULL;
@@ -1816,7 +1816,7 @@ void darshan_shutdown_bench(int argc, char **argv)
darshan_mpiio_shutdown_bench_setup(4);
if(my_rank == 0)
- printf("# 1024 shared files per proc\n");
+ fprintf(stderr, "# 1024 shared files per proc\n");
DARSHAN_MPI_CALL(PMPI_Barrier)(MPI_COMM_WORLD);
darshan_core_shutdown();
darshan_core = NULL;
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/90b7a90e0d2046fc74e0707022d21458c54b36c2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20160809/fc5df0a5/attachment-0001.html>
More information about the Darshan-commits
mailing list