[Ncep.list.nems.announce] nems r93212: NEMS update:
Samuel.Trahan at noaa.gov
Samuel.Trahan at noaa.gov
Wed May 24 17:43:05 UTC 2017
1. Allow @ in compset names
2.
Workaround...
Message-ID: <5925c629.nEpfHopOUjdZADME%Samuel.Trahan at noaa.gov>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="=_5925c629.RyxPZ31JPNOGJgOsKRLOVGYz/xhAIq/NuIYCXHEyCpuVRqpq"
This is a multi-part message in MIME format.
--=_5925c629.RyxPZ31JPNOGJgOsKRLOVGYz/xhAIq/NuIYCXHEyCpuVRqpq
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Friendly NEMS developers,
This is an automated email about a NEMS commit.
Project: nems
URL: https://svnemc.ncep.noaa.gov/projects/nems/trunk
Revision: 93212
Author: samuel.trahan at noaa.gov
Date: 2017-05-24T17:39:00.663393Z
Message:
NEMS update:
1. Allow @ in compset names
2. Workaround in NEMSCompsetRun for recent nohup issues on WCOSS
Differences:
Index: checkout/tests/rtgen
===================================================================
--- checkout/tests/rtgen (revision 92559)
+++ checkout/tests/rtgen (revision 93212)
@@ -12,6 +12,7 @@
import getopt
import StringIO
import socket
+import signal
def fail(how):
"""!Aborts the program with status 1. Should only be called
@@ -967,11 +968,17 @@
# Argument parsing
########################################################################
+def is_ignoring_sighup():
+ old=signal.signal(signal.SIGHUP,signal.SIG_IGN)
+ signal.signal(signal.SIGHUP,old)
+ return old==signal.SIG_IGN
+
have_setup_produtil=False
def setup_produtil(jobname,verbose):
global have_setup_produtil
if have_setup_produtil: return
produtil.setup.setup(
+ ignore_hup=is_ignoring_sighup(), # pass on sighup behavior
send_dbn=False, # avoids "dbnalert missing" warnings
jobname=jobname, # set job name for jlogfile messages
ologlevel=logging.INFO if verbose else logging.WARNING)
Index: checkout/tests
===================================================================
--- checkout/tests (revision 92559)
+++ checkout/tests (revision 93212)
Property changes on: checkout/tests
___________________________________________________________________
Modified: svn:externals
## -1 +1 ##
-produtil -r92558 https://svnemc.ncep.noaa.gov/projects/nceplibs/produtil/branches/regtests-run
+produtil -r93052 https://svnemc.ncep.noaa.gov/projects/nceplibs/produtil/branches/regtests-run
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /nems/branches/nohup-at/tests:r92696-93211
Index: checkout/src
===================================================================
--- checkout/src (revision 92559)
+++ checkout/src (revision 93212)
Property changes on: checkout/src
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /nems/branches/nohup-at/src:r92696-93211
Index: checkout
===================================================================
--- checkout (revision 92559)
+++ checkout (revision 93212)
Property changes on: checkout
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /nems/branches/nohup-at:r92696-93211
--=_5925c629.RyxPZ31JPNOGJgOsKRLOVGYz/xhAIq/NuIYCXHEyCpuVRqpq
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="93212.diff"
Index: checkout/tests/rtgen
===================================================================
--- checkout/tests/rtgen (revision 92559)
+++ checkout/tests/rtgen (revision 93212)
@@ -12,6 +12,7 @@
import getopt
import StringIO
import socket
+import signal
def fail(how):
"""!Aborts the program with status 1. Should only be called
@@ -967,11 +968,17 @@
# Argument parsing
########################################################################
+def is_ignoring_sighup():
+ old=signal.signal(signal.SIGHUP,signal.SIG_IGN)
+ signal.signal(signal.SIGHUP,old)
+ return old==signal.SIG_IGN
+
have_setup_produtil=False
def setup_produtil(jobname,verbose):
global have_setup_produtil
if have_setup_produtil: return
produtil.setup.setup(
+ ignore_hup=is_ignoring_sighup(), # pass on sighup behavior
send_dbn=False, # avoids "dbnalert missing" warnings
jobname=jobname, # set job name for jlogfile messages
ologlevel=logging.INFO if verbose else logging.WARNING)
Index: checkout/tests
===================================================================
--- checkout/tests (revision 92559)
+++ checkout/tests (revision 93212)
Property changes on: checkout/tests
___________________________________________________________________
Modified: svn:externals
## -1 +1 ##
-produtil -r92558 https://svnemc.ncep.noaa.gov/projects/nceplibs/produtil/branches/regtests-run
+produtil -r93052 https://svnemc.ncep.noaa.gov/projects/nceplibs/produtil/branches/regtests-run
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /nems/branches/nohup-at/tests:r92696-93211
Index: checkout/src
===================================================================
--- checkout/src (revision 92559)
+++ checkout/src (revision 93212)
Property changes on: checkout/src
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /nems/branches/nohup-at/src:r92696-93211
Index: checkout
===================================================================
--- checkout (revision 92559)
+++ checkout (revision 93212)
Property changes on: checkout
___________________________________________________________________
Modified: svn:mergeinfo
## -0,0 +0,1 ##
Merged /nems/branches/nohup-at:r92696-93211
--=_5925c629.RyxPZ31JPNOGJgOsKRLOVGYz/xhAIq/NuIYCXHEyCpuVRqpq--
More information about the Ncep.list.nems.announce
mailing list