Skip to content

Commit

Permalink
add SAVE_TIMING_DIR for blues
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jul 19, 2016
1 parent 380f8d4 commit 42ad9e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions cime_config/acme/machines/config_machines.xml
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@
<COMPILERS>gnu,pgi,intel,nag</COMPILERS>
<MPILIBS>mvapich,mpich,openmpi,mpi-serial</MPILIBS>
<CESMSCRATCHROOT>/lcrc/project/$PROJECT/$USER/acme_scratch</CESMSCRATCHROOT>
<SAVE_TIMING_DIR>/lcrc/project/$PROJECT</SAVE_TIMING_DIR>
<RUNDIR>$CESMSCRATCHROOT/$CASE/run</RUNDIR>
<EXEROOT>$CESMSCRATCHROOT/$CASE/bld</EXEROOT>
<DIN_LOC_ROOT>/home/ccsm-data/inputdata</DIN_LOC_ROOT>
Expand Down
4 changes: 2 additions & 2 deletions utils/python/CIME/case_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ def save_timing_setup_acme(case, lid):
return

timing_dir = case.get_value("SAVE_TIMING_DIR")
if timing_dir is None:
if timing_dir is None or timing_dir == 'UNSET':
logger.warning("ACME requires SAVE_TIMING_DIR to be set in order to save timings. Skipping save timings")
return

logger.warn("timing dir is %s"%timing_dir)
rundir = case.get_value("RUNDIR")
caseroot = case.get_value("CASEROOT")
cimeroot = case.get_value("CIMEROOT")
Expand Down

0 comments on commit 42ad9e0

Please sign in to comment.