[Ncep.list.nems.announce] nems r95904: Add back in support for auto-detecting /gpfs/hps/ptmp ...

Samuel.Trahan at noaa.gov Samuel.Trahan at noaa.gov
Thu Jul 20 17:13:05 UTC 2017


Friendly NEMS developers,

This is an automated email about a NEMS commit.

Project: nems
URL: https://svnemc.ncep.noaa.gov/projects/nems/trunk
Revision: 95904
Author:   samuel.trahan at noaa.gov
Date:     2017-07-20T17:10:19.091078Z
Message:
Add back in support for auto-detecting /gpfs/hps/ptmp in NEMSCompsetRun


Differences:
Index: checkout/tests/rtgen
===================================================================
--- checkout/tests/rtgen	(revision 95629)
+++ checkout/tests/rtgen	(revision 95904)
@@ -688,7 +688,7 @@
                 [ '/ptmpp2', '-j', 'ptmp-p2', 'gpfs-'+tg+'p2'] ]
         max_area='/ptmpp2' # default on failure
     else: # assume cray (pex=0)
-        ptmps=[ [ '/gpfs/hps', '-j', 'hps-ptmp', 'hps'],
+        ptmps=[ [ '/gpfs/hps/ptmp', '-j', 'hps-ptmp', 'hps'],
                 [ '/gpfs/hps/stmp', '-j', 'hps-stmp', 'hps'],
                 [ '/gpfs/hps2/ptmp', '-j', 'hps2-ptmp', 'hps2'],
                 [ '/gpfs/hps2/stmp', '-j', 'hps2-stmp', 'hps2'],
@@ -700,6 +700,8 @@
     max_avail=0
 
     for ptmp in ptmps:
+        if not os.path.exists(ptmp[0]):
+            jlogger.info('%s: does not exist'%(ptmp[0],))
         try:
             args=['/usr/lpp/mmfs/bin/mmlsquota', '--block-size', '1T' ]
             args.extend(ptmp[1:])
-------------- next part --------------
Index: checkout/tests/rtgen
===================================================================
--- checkout/tests/rtgen	(revision 95629)
+++ checkout/tests/rtgen	(revision 95904)
@@ -688,7 +688,7 @@
                 [ '/ptmpp2', '-j', 'ptmp-p2', 'gpfs-'+tg+'p2'] ]
         max_area='/ptmpp2' # default on failure
     else: # assume cray (pex=0)
-        ptmps=[ [ '/gpfs/hps', '-j', 'hps-ptmp', 'hps'],
+        ptmps=[ [ '/gpfs/hps/ptmp', '-j', 'hps-ptmp', 'hps'],
                 [ '/gpfs/hps/stmp', '-j', 'hps-stmp', 'hps'],
                 [ '/gpfs/hps2/ptmp', '-j', 'hps2-ptmp', 'hps2'],
                 [ '/gpfs/hps2/stmp', '-j', 'hps2-stmp', 'hps2'],
@@ -700,6 +700,8 @@
     max_avail=0
 
     for ptmp in ptmps:
+        if not os.path.exists(ptmp[0]):
+            jlogger.info('%s: does not exist'%(ptmp[0],))
         try:
             args=['/usr/lpp/mmfs/bin/mmlsquota', '--block-size', '1T' ]
             args.extend(ptmp[1:])


More information about the Ncep.list.nems.announce mailing list