[Ncep.list.nems.announce] NEMS commit to restore support for /gpfs/hps/ptmp

Samuel Trahan - NOAA Affiliate samuel.trahan at noaa.gov
Thu Jul 20 15:17:28 UTC 2017


Hi all,

Recall I modified the NEMSCompsetRun last week so the filesystem space
auto-detector will scan the new /gpfs/hps[23]/[sp]tmp filesystems on Luna.
I tried to retain backward compatibility to the old filesystem structure,
but had no way to test that.  The unimaginable has happened: I broke
backward compatibility.  I'm going to commit a change shortly, around 12:30
PM eastern, that fixes this bug.  It has been tested with the only app that
supports WCOSS Cray: NEMSfv3gfs.

This also hides a confusing message you'll see when the script realizes the
new filesystems don't exist on Surge.

Index: tests/rtgen
===================================================================
--- tests/rtgen (revision 95891)
+++ tests/rtgen (working copy)
@@ -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 --------------
An HTML attachment was scrubbed...
URL: https://www.lstsrv.ncep.noaa.gov/pipermail/ncep.list.nems.announce/attachments/20170720/3c7221ea/attachment.html 


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