...
Code Block | ||||
---|---|---|---|---|
| ||||
<workflow-builder name="eAIRS-Single" experimentId="singleCFDWorkflow" eventLevel="DEBUG"> <!-- <global-resource>grid-abe.ncsa.teragrid.org</global-resource> --> <global-resource></global-resource> <scheduling> <profile name="batch"> <property name="submissionType"> <value>batch</value> </property> </profile> </scheduling> <execution> <profile name="mesh0"> <property name="RESULT_LOC"> <value><<value>some-file-uri</value> </property> <property name="executable"> <value><<value>some-file-uri</value> </property> <property name="meshType"> <value>fakeType<<value>some-file-uri</value> </property> <property name="inputParam"> <value>fakeInput<<value>some-file-uri</value> </property> </profile> </execution> <graph> <execute name="compute0"> <scheduler-constraints>batch</scheduler-constraints> <execute-profiles>mesh0</execute-profiles> <payload>2DComp</payload> </execute> </graph> <scripts> <payload name="2DComp" type="elf"> <elf> <serial-scripts> <ogrescript> <!-- This is the old way of executing this, with the user specifying the executable we no longer need to copy it anywhere <copy> <uri-pair source="file:${executable}" target="file:${runtime.dir}/2D_Comp-2.0"/> </copy> <chmod taskName="CHMOD_SOURCE" permissions="755" pathExpression="${runtime.dir}/2D_Comp-2.0" recursive="false"/> --> <echo message="Result location = file:${RESULT_LOC}/${service.job.name} result directory is file:${runtime.dir}/result, copy target is file:${RESULT_LOC}/${service.job.name}"/> <simple-process execution-dir="${runtime.dir}" out-file="cfd.out" > <command-line>${executable} -mesh ${meshType} -param ${inputParam}</command-line> <!-- <command-line>${runtime.dir}/2D_Comp-2.0 -mesh ${meshType} -param ${inputParam}</command-line> --> </simple-process> <mkdir> <uri>file:${RESULT_LOC}/${service.job.name}</uri> </mkdir> <copy sourceDir="file:${runtime.dir}/result" target="file:${RESULT_LOC}/${service.job.name}"/> </ogrescript> </serial-scripts> </elf> </payload> </scripts> </workflow-builder> |
...