Commit 0faace15 authored by Juve, Gideon's avatar Juve, Gideon
Browse files

Add error messages for diagnostics, set maxwalltime

parent cd27c60c
...@@ -101,6 +101,9 @@ tr acme-amwg { ...@@ -101,6 +101,9 @@ tr acme-amwg {
type "STAGEABLE" type "STAGEABLE"
profile globus "hostcount" "1" profile globus "hostcount" "1"
profile globus "jobtype" "single" profile globus "jobtype" "single"
profile pegasus "exitcode.successmsg" "NORMAL EXIT FROM SCRIPT"
profile pegasus "exitcode.failuremsg" "CONVERT NOT FOUND"
profile pegasus "exitcode.failuremsg" "Segmentation fault"
} }
} }
""" % (DAXGEN_DIR, self.mppwidth, DAXGEN_DIR, DAXGEN_DIR)) """ % (DAXGEN_DIR, self.mppwidth, DAXGEN_DIR, DAXGEN_DIR))
...@@ -181,6 +184,7 @@ tr acme-amwg { ...@@ -181,6 +184,7 @@ tr acme-amwg {
diag.addArguments(script) diag.addArguments(script)
diag.uses(script, link=Link.INPUT) diag.uses(script, link=Link.INPUT)
diag.uses(diagnostics, link=Link.OUTPUT, register=False, transfer=True) diag.uses(diagnostics, link=Link.OUTPUT, register=False, transfer=True)
diag.addProfile(Profile(namespace="globus", key="maxwalltime", value="30"))
dax.addJob(diag) dax.addJob(diag)
dax.depends(diag, stage) dax.depends(diag, stage)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment