From 8976ba814bbf05d7bff16fd3d23d789a17e2cd35 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Thu, 11 Apr 2019 06:11:30 -0600 Subject: [PATCH] cleaned up docs --- configure.ac | 2 +- src/gptl/Makefile.am | 2 +- src/gptl/perf_mod.F90 | 18 +++++++++--------- tests/performance/Makefile.am | 3 ++- tests/performance/Pioperformance.md | 5 ++--- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/configure.ac b/configure.ac index 329dcaa37d5..7ea837ac930 100644 --- a/configure.ac +++ b/configure.ac @@ -71,7 +71,7 @@ test "x$enable_papi" = xno || enable_papi=yes AC_MSG_RESULT($enable_papi) # Does the user want to enable Fortran library? -AC_MSG_CHECKING([whether Fortran library should be build]) +AC_MSG_CHECKING([whether Fortran library should be built]) AC_ARG_ENABLE([fortran], [AS_HELP_STRING([--enable-fortran], [build the PIO Fortran library.])]) diff --git a/src/gptl/Makefile.am b/src/gptl/Makefile.am index 840e07abca9..54216d4ffa9 100644 --- a/src/gptl/Makefile.am +++ b/src/gptl/Makefile.am @@ -10,7 +10,7 @@ noinst_LTLIBRARIES = libperf_utils.la libperf_mod.la # The convenience libraries depends on their source. libperf_utils_la_SOURCES = perf_utils.F90 -libperf_mod_la_SOURCES = perf_mod.F90 f_wrappers_2.c +libperf_mod_la_SOURCES = perf_mod.F90 f_wrappers_2.c private.h # Each mod file depends on the .o file. perf_utils.mod: perf_utils.$(OBJEXT) diff --git a/src/gptl/perf_mod.F90 b/src/gptl/perf_mod.F90 index e62059de98e..622d5cf2c12 100644 --- a/src/gptl/perf_mod.F90 +++ b/src/gptl/perf_mod.F90 @@ -913,12 +913,12 @@ subroutine t_prf(filename, mpicom, num_outpe, stride_outpe, & unitn = shr_file_getUnit() ! determine what the current output mode is (append or write) - if (GPTLpr_query_write() == 1) then - pr_write = .true. - ierr = GPTLpr_set_append() - else - pr_write=.false. - endif + ! if (GPTLpr_query_write() == 1) then + ! pr_write = .true. + ! ierr = GPTLpr_set_append() + ! else + pr_write=.false. + ! endif ! Determine whether to write all data to a single fie if (present(single_file)) then @@ -1100,9 +1100,9 @@ subroutine t_prf(filename, mpicom, num_outpe, stride_outpe, & call shr_file_freeUnit( unitn ) ! reset GPTL output mode - if (pr_write) then - ierr = GPTLpr_set_write() - endif + ! if (pr_write) then + ! ierr = GPTLpr_set_write() + ! endif !$OMP END MASTER call t_stopf("t_prf") diff --git a/tests/performance/Makefile.am b/tests/performance/Makefile.am index 6d5d3dd8c07..6b7bfb5ec23 100644 --- a/tests/performance/Makefile.am +++ b/tests/performance/Makefile.am @@ -30,7 +30,8 @@ pioperf_SOURCES = pioperformance.F90 # Tests will run from a bash script. TESTS = run_tests.sh -EXTRA_DIST = CMakeLists.txt gensimple.pl Pioperformance.md pioperf.nl +EXTRA_DIST = CMakeLists.txt gensimple.pl Pioperformance.md pioperf.nl \ +run_tests.sh # Clean up files produced during testing. CLEANFILES = *.nc *.log *.mod diff --git a/tests/performance/Pioperformance.md b/tests/performance/Pioperformance.md index efe7c611045..186e489e8d3 100644 --- a/tests/performance/Pioperformance.md +++ b/tests/performance/Pioperformance.md @@ -2,7 +2,7 @@ To run pioperformance you need a dof input file. I have a whole repo of them here: -https://svn-ccsm-piodecomps.cgd.ucar.edu/trunk + You need an input namelist: @@ -59,5 +59,4 @@ When this is run, output like the following will appear: These are read and write rates in units of MB/s for Box and Subset rearrangers - the time measured is from the call to readdof or writedof to the completion of the close (since writes are buffered the -close needs to be included) . - +close needs to be included). \ No newline at end of file