[Ncep.list.nems.announce] nems r95306: Search all six potential ptmp and stmp locations on WC...

Samuel.Trahan at noaa.gov Samuel.Trahan at noaa.gov
Fri Jul 14 23:05:41 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: 95306
Author:   samuel.trahan at noaa.gov
Date:     2017-07-10T22:20:20.622319Z
Message:
Search all six potential ptmp and stmp locations on WCOSS Cray


Differences:
Index: checkout/tests/rtgen
===================================================================
--- checkout/tests/rtgen	(revision 94917)
+++ checkout/tests/rtgen	(revision 95306)
@@ -688,9 +688,13 @@
                 [ '/ptmpp2', '-j', 'ptmp-p2', 'gpfs-'+tg+'p2'] ]
         max_area='/ptmpp2' # default on failure
     else: # assume cray (pex=0)
-        ptmps=[ [ '/gpfs/hps/ptmp', '-j', 'hps-ptmp', 'hps'],
-                [ '/gpfs/hps/stmp', '-j', 'hps-stmp', 'hps'] ]
-        max_area='/gpfs/hps/ptmp' # default on failure
+        ptmps=[ [ '/gpfs/hps', '-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'],
+                [ '/gpfs/hps3/ptmp', '-j', 'hps3-ptmp', 'hps3'],
+                [ '/gpfs/hps3/stmp', '-j', 'hps3-stmp', 'hps3'] ]
+        max_area='/gpfs/hps2/ptmp' # default on failure
     
     # Area with maximum space available and available space in TB:
     max_avail=0
@@ -735,7 +739,7 @@
                     ( max_area, max_avail) = ( area, avail )
         except(EnvironmentError,ExitStatusException,KeyError,ValueError) as e:
             # Log all likely errors before emergency fallback option:
-            logger.error(str(e),exc_info=True)
+            logger.error(str(e),exc_info=False)
 
     if max_area:
         logger.info('%s: use this ptmp with %d TB available'%(
-------------- next part --------------
Index: checkout/tests/rtgen
===================================================================
--- checkout/tests/rtgen	(revision 94917)
+++ checkout/tests/rtgen	(revision 95306)
@@ -688,9 +688,13 @@
                 [ '/ptmpp2', '-j', 'ptmp-p2', 'gpfs-'+tg+'p2'] ]
         max_area='/ptmpp2' # default on failure
     else: # assume cray (pex=0)
-        ptmps=[ [ '/gpfs/hps/ptmp', '-j', 'hps-ptmp', 'hps'],
-                [ '/gpfs/hps/stmp', '-j', 'hps-stmp', 'hps'] ]
-        max_area='/gpfs/hps/ptmp' # default on failure
+        ptmps=[ [ '/gpfs/hps', '-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'],
+                [ '/gpfs/hps3/ptmp', '-j', 'hps3-ptmp', 'hps3'],
+                [ '/gpfs/hps3/stmp', '-j', 'hps3-stmp', 'hps3'] ]
+        max_area='/gpfs/hps2/ptmp' # default on failure
     
     # Area with maximum space available and available space in TB:
     max_avail=0
@@ -735,7 +739,7 @@
                     ( max_area, max_avail) = ( area, avail )
         except(EnvironmentError,ExitStatusException,KeyError,ValueError) as e:
             # Log all likely errors before emergency fallback option:
-            logger.error(str(e),exc_info=True)
+            logger.error(str(e),exc_info=False)
 
     if max_area:
         logger.info('%s: use this ptmp with %d TB available'%(


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