Skip to content

Commit f065b06

Browse files
committed
Workflow parser: Set O2_NO_CATCHALL_EXCEPTIONS=1 in the prependexe for all tasks
1 parent dc6e5be commit f065b06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DATA/tools/parse

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ for line in f:
213213
if 'GEN_TOPO_STDERR_LOGGING' in os.environ and int(os.environ['GEN_TOPO_STDERR_LOGGING']):
214214
odccommand += ' --mon tools/monitoring_workflows/epnstderrlog.xml'
215215
if args[1] != '':
216-
odccommand += ' --prependexe "' + modulecmd + ' module load ' + args[1] + ' 2>&1 ; "'
216+
odccommand += ' --prependexe "' + modulecmd + ' module load ' + args[1] + ' 2>&1 ; export O2_NO_CATCHALL_EXCEPTIONS=1 ; "'
217217
odccommand += ' -o ' + sys.argv[3]
218218
print('Running ODC command', odccommand)
219219
if os.system(odccommand) != 0:

0 commit comments

Comments
 (0)