Skip to content

Commit

Permalink
cleaned up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Apr 11, 2019
1 parent 0b2d445 commit 8976ba8
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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.])])
Expand Down
2 changes: 1 addition & 1 deletion src/gptl/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
18 changes: 9 additions & 9 deletions src/gptl/perf_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down
3 changes: 2 additions & 1 deletion tests/performance/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 2 additions & 3 deletions tests/performance/Pioperformance.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<https://svn-ccsm-piodecomps.cgd.ucar.edu/trunk>

You need an input namelist:

Expand Down Expand Up @@ -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).

0 comments on commit 8976ba8

Please sign in to comment.