Skip to content

Commit

Permalink
Merge branch 'dp1072-jobsubmission' into 'master'
Browse files Browse the repository at this point in the history
DP-1072: New GUI job submission examples

See merge request dakota/dakota-examples!55
  • Loading branch information
eridgway90 committed Apr 3, 2023
2 parents e2d8380 + 7a45eec commit 3ff0f69
Show file tree
Hide file tree
Showing 31 changed files with 2,566 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
environment
tabular_data
tabular_data_file "tabular.data"
output_file "dakota.out"
error_file "dakota.err"
write_restart "dakota.rst"
results_output
hdf5

method
id_method "method1"
centered_parameter_study
step_vector 20.0 0.2 0.2 100.0 5800000.0 20.0 20.0
steps_per_variable 4 4 4 4 4 4 4
model_pointer "model1"

model
id_model "model1"
single
interface_pointer "interface1"
variables_pointer "variables1"
responses_pointer "responses1"

variables
id_variables "variables1"
active
design
continuous_design 7
initial_point 100 1 1 500 2.9e7 100 100
descriptors "L" "w" "t" "p" "E" "X" "Y"

interface
id_interface "interface1"
analysis_drivers "{DRIVER}"
fork
parameters_file "params.txt"
results_file "results.txt"
file_save
work_directory
named "work_dir"
directory_tag
directory_save
asynchronous
evaluation_concurrency 4

responses
id_responses "responses1"
descriptors "mass" "stress" "displacement"
response_functions 3
scalar_responses 3
no_gradients
no_hessians
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:al="http://eclipse.org/graphiti/mm/algorithms" xmlns:gov.sandia.dart.workflow.domain="https://dart.sandia.gov/workflow/domain" xmlns:pi="http://eclipse.org/graphiti/mm/pictograms">
<pi:Diagram visible="true" gridUnit="10" diagramTypeId="dartWorkflow" name="LocalWorkflow.iwf" snapToGrid="true" pictogramLinks="/0/@children.0/@link /0/@children.0/@anchors.0/@link /0/@children.0/@anchors.1/@link /0/@children.1/@link /0/@children.1/@anchors.0/@link /0/@children.1/@anchors.1/@link /0/@children.1/@anchors.2/@link /0/@children.1/@anchors.3/@link /0/@children.0/@anchors.2/@link /0/@connections.0/@link /0/@children.2/@link /0/@children.2/@anchors.0/@link /0/@children.2/@anchors.1/@link /0/@children.2/@anchors.2/@link /0/@children.2/@anchors.3/@link /0/@children.0/@anchors.3/@link /0/@connections.1/@link /0/@children.3/@link" version="0.17.0">
<graphicsAlgorithm xsi:type="al:Rectangle" background="/0/@colors.1" foreground="/0/@colors.0" lineWidth="1" transparency="0.0" width="1000" height="1000"/>
<children xsi:type="pi:ContainerShape" visible="true" active="true">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="211" height="131" x="350" y="300" id="wfnode"/>
<link businessObjects="/1"/>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.0/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" x="-10" y="-5" id="wfport"/>
<link businessObjects="/2"/>
<location x="211" y="32"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.0/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" x="-10" y="-5" id="wfport"/>
<link businessObjects="/3"/>
<location x="211" y="47"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" incomingConnections="/0/@connections.0" referencedGraphicsAlgorithm="/0/@children.0/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" y="-5" id="wfport"/>
<link businessObjects="/34"/>
<location y="32"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" incomingConnections="/0/@connections.1" referencedGraphicsAlgorithm="/0/@children.0/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" y="-5" id="wfport"/>
<link businessObjects="/55"/>
<location y="47"/>
</anchors>
</children>
<children xsi:type="pi:ContainerShape" visible="true" active="true">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="170" height="70" x="80" y="300" id="wfnode"/>
<link businessObjects="/20"/>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.1/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" y="-5" id="wfport"/>
<link businessObjects="/21"/>
<location y="32"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.1/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" y="-5" id="wfport"/>
<link businessObjects="/22"/>
<location y="47"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" outgoingConnections="/0/@connections.0" referencedGraphicsAlgorithm="/0/@children.1/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" x="-10" y="-5" id="wfport"/>
<link businessObjects="/23"/>
<location x="170" y="32"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.1/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" x="-10" y="-5" id="wfport"/>
<link businessObjects="/24"/>
<location x="170" y="47"/>
</anchors>
</children>
<children xsi:type="pi:ContainerShape" visible="true" active="true">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="170" height="70" x="80" y="410" id="wfnode"/>
<link businessObjects="/41"/>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.2/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" y="-5" id="wfport"/>
<link businessObjects="/42"/>
<location y="32"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.2/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" y="-5" id="wfport"/>
<link businessObjects="/43"/>
<location y="47"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" outgoingConnections="/0/@connections.1" referencedGraphicsAlgorithm="/0/@children.2/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" x="-10" y="-5" id="wfport"/>
<link businessObjects="/44"/>
<location x="170" y="32"/>
</anchors>
<anchors xsi:type="pi:FixPointAnchor" visible="true" active="true" referencedGraphicsAlgorithm="/0/@children.2/@graphicsAlgorithm">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="10" height="10" x="-10" y="-5" id="wfport"/>
<link businessObjects="/45"/>
<location x="170" y="47"/>
</anchors>
</children>
<children xsi:type="pi:ContainerShape" visible="true" active="true">
<graphicsAlgorithm xsi:type="al:PlatformGraphicsAlgorithm" lineWidth="1" transparency="0.0" width="481" height="211" x="80" y="30" id="wfnote"/>
<link businessObjects="/62"/>
</children>
<connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="/0/@children.1/@anchors.2" end="/0/@children.0/@anchors.2">
<graphicsAlgorithm xsi:type="al:Polyline" foreground="/0/@colors.4" lineWidth="1" filled="false" transparency="0.0"/>
<link businessObjects="/35"/>
</connections>
<connections xsi:type="pi:FreeFormConnection" visible="true" active="true" start="/0/@children.2/@anchors.2" end="/0/@children.0/@anchors.3">
<graphicsAlgorithm xsi:type="al:Polyline" foreground="/0/@colors.4" lineWidth="1" filled="false" transparency="0.0"/>
<link businessObjects="/56"/>
</connections>
<colors red="227" green="238" blue="249"/>
<colors red="255" green="255" blue="255"/>
<colors red="98" green="131" blue="167"/>
<colors red="64" green="64" blue="64"/>
<colors green="127"/>
</pi:Diagram>
<gov.sandia.dart.workflow.domain:WFNode name="remoteNestedWorkflow" properties="/4 /5 /6 /7 /8 /9 /10 /11 /12 /13 /14 /15 /16 /17 /18 /19" inputPorts="/34 /55" outputPorts="/2 /3" type="remoteNestedWorkflow" label="remoteNestedWorkflow"/>
<gov.sandia.dart.workflow.domain:OutputPort name="stdout" type="default" node="/1"/>
<gov.sandia.dart.workflow.domain:OutputPort name="stderr" type="default" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="fileName" type="home_file" value="RemoteWorkflow.iwf" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="hostname" type="default" value="" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="username" type="default" value="" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="jumphost" type="default" value="" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="jumpuser" type="default" value="" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="remotePath" type="default" value="" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="clearRemoteWorkdir" type="boolean" value="true" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="wflib" type="default" value="" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="Other files/directories" type="multitext" value="" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="use private work directory" type="boolean" value="true" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="restartable" type="boolean" value="false" node="/1" advanced="true"/>
<gov.sandia.dart.workflow.domain:Property name="async" type="boolean" value="false" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="hide in navigator" type="boolean" value="false" node="/1" advanced="true"/>
<gov.sandia.dart.workflow.domain:Property name="disabled" type="boolean" value="false" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="clear private work directory" type="boolean" value="false" node="/1"/>
<gov.sandia.dart.workflow.domain:Property name="private work directory path" type="text" value="" node="/1" advanced="true"/>
<gov.sandia.dart.workflow.domain:WFNode name="CPS_in" properties="/25 /26 /27 /28 /29 /30 /31 /32 /33" inputPorts="/21 /22" outputPorts="/23 /24" start="true" type="file" label="CPS.in"/>
<gov.sandia.dart.workflow.domain:InputPort name="fileName" type="default" node="/20"/>
<gov.sandia.dart.workflow.domain:InputPort name="dataIn" type="default" node="/20"/>
<gov.sandia.dart.workflow.domain:OutputPort name="fileReference" type="text" node="/20" arcs="/35"/>
<gov.sandia.dart.workflow.domain:OutputPort name="dataOut" type="default" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="fileName" type="home_file" value="CPS.in" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="append" type="boolean" value="" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="checkExists" type="boolean" value="" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="async" type="boolean" value="false" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="hide in navigator" type="boolean" value="false" node="/20" advanced="true"/>
<gov.sandia.dart.workflow.domain:Property name="use private work directory" type="boolean" value="false" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="disabled" type="boolean" value="false" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="clear private work directory" type="boolean" value="false" node="/20"/>
<gov.sandia.dart.workflow.domain:Property name="private work directory path" type="text" value="" node="/20" advanced="true"/>
<gov.sandia.dart.workflow.domain:InputPort name="CPS_in" type="text" node="/1" arcs="/35"/>
<gov.sandia.dart.workflow.domain:WFArc name="fileReference -> CPS_in" properties="/36 /37 /38 /39 /40" source="/23" target="/34"/>
<gov.sandia.dart.workflow.domain:Property name="linkIncomingFileToTarget" type="default" value="false" node="/35"/>
<gov.sandia.dart.workflow.domain:Property name="expandWildcards" type="default" value="false" node="/35"/>
<gov.sandia.dart.workflow.domain:Property name="readInFile" type="default" value="false" node="/35"/>
<gov.sandia.dart.workflow.domain:Property name="writeOutFile" type="default" value="false" node="/35"/>
<gov.sandia.dart.workflow.domain:Property name="copyIncomingFileToTarget" type="default" value="true" node="/35"/>
<gov.sandia.dart.workflow.domain:WFNode name="WorkflowDriver_iwf" properties="/46 /47 /48 /49 /50 /51 /52 /53 /54" inputPorts="/42 /43" outputPorts="/44 /45" start="true" type="file" label="WorkflowDriver.iwf"/>
<gov.sandia.dart.workflow.domain:InputPort name="fileName" type="default" node="/41"/>
<gov.sandia.dart.workflow.domain:InputPort name="dataIn" type="default" node="/41"/>
<gov.sandia.dart.workflow.domain:OutputPort name="fileReference" type="text" node="/41" arcs="/56"/>
<gov.sandia.dart.workflow.domain:OutputPort name="dataOut" type="default" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="fileName" type="home_file" value="WorkflowDriver.iwf" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="append" type="boolean" value="" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="checkExists" type="boolean" value="" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="async" type="boolean" value="false" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="hide in navigator" type="boolean" value="false" node="/41" advanced="true"/>
<gov.sandia.dart.workflow.domain:Property name="use private work directory" type="boolean" value="false" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="disabled" type="boolean" value="false" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="clear private work directory" type="boolean" value="false" node="/41"/>
<gov.sandia.dart.workflow.domain:Property name="private work directory path" type="text" value="" node="/41" advanced="true"/>
<gov.sandia.dart.workflow.domain:InputPort name="WorkflowDriver_iwf" type="text" node="/1" arcs="/56"/>
<gov.sandia.dart.workflow.domain:WFArc name="fileReference -> WorkflowDriver_iwf" properties="/57 /58 /59 /60 /61" source="/44" target="/55"/>
<gov.sandia.dart.workflow.domain:Property name="linkIncomingFileToTarget" type="default" value="false" node="/56"/>
<gov.sandia.dart.workflow.domain:Property name="expandWildcards" type="default" value="false" node="/56"/>
<gov.sandia.dart.workflow.domain:Property name="readInFile" type="default" value="false" node="/56"/>
<gov.sandia.dart.workflow.domain:Property name="writeOutFile" type="default" value="false" node="/56"/>
<gov.sandia.dart.workflow.domain:Property name="copyIncomingFileToTarget" type="default" value="true" node="/56"/>
<gov.sandia.dart.workflow.domain:Note text="USER TO-DO LIST:&#xD;&#xA;&#xD;&#xA;Click on the remoteNestedWorkflow node, and adjust its properties in the Settings view:&#xD;&#xA;&#xD;&#xA;- Verify that the &quot;fileName&quot; property is set to &quot;RemoteWorkflow.iwf.&quot;&#xD;&#xA;- Set the &quot;hostname&quot; property to the name of the remote machine you will be connecting and sending files to.&#xD;&#xA;- Set the &quot;username&quot; property to your username on the remote machine.&#xD;&#xA;- Set the &quot;remotePath&quot; property to the remote destination which you would like to act as your remote directory.&#xD;&#xA;- Optionally, set the &quot;wflib&quot; property to the installation location of NGW on the remote machine." color="yellow"/>
</xmi:XMI>
Loading

0 comments on commit 3ff0f69

Please sign in to comment.