Difference between revisions of "Slicer3:Grid Interface"

From NAMIC Wiki
Jump to: navigation, search
m (Update from Wiki)
 
m (Text replacement - "http://www.slicer.org/slicerWiki/index.php/" to "https://www.slicer.org/wiki/")
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Project'''<nowiki>: Integration of NAMIC Kit and the 'Grid' </nowiki>
+
<big>'''Note:''' We are migrating this content to the slicer.org domain - <font color="orange">The newer page is [https://www.slicer.org/wiki/Slicer3:Grid_Interface here]</font></big>
 
 
'''Goals'''<nowiki>: </nowiki>
 
 
 
* Supply Grid execution components to [[Slicer3:Execution_Model|Slicer3:Execution_Model]]
 
* Clearly define expectations and dependencies for grid execution
 
 
 
'''Current Status'''<nowiki>: </nowiki>
 
 
 
* CLRegistration as primary use case for grid
 
 
 
# Create XML-aware Grid component to interface with NAMIC executables
 
 
 
'''Example of Grid Interface XML Awareness'''<nowiki>: >./gi-init -xml </nowiki>
 
 
 
 
<?xml version="1.0" encoding="utf-8"?>
 
<executable>
 
    <category>execution environment</category>
 
    <title>Slicer3 Grid Interface</title>
 
    <description>Launches executables in a grid environment</description>
 
    <version>1.0</version>
 
    <documentationurl></documentationurl>
 
    <license></license>
 
    <contributor>Brendan Faherty</contributor>
 
 
    <parameters>
 
        <label>Grid Interface Parameters</label>
 
        <description></description>
 
 
        <flag>
 
            <flag>-i</flag>
 
            <description>Use to pass XML instructions through STDIN</description>
 
            <label>XML STDIN</label>
 
        </flag>
 
 
        <file>
 
            <flag>-f</flag>
 
            <descriptions>use to pass XML instructuions through a file</description>
 
            <label>XML File</label>
 
        </file>
 
</executable>
 
 
 
The XML file that might be referenced via "gi-init -f JOB.xml" >cat CLRegistration.xml
 
 
 
 
<?xml version="1.0" encoding="utf-8"?>
 
<executable>
 
  <executable>CLRegistration</executable>
 
  <path>/path/to/CLRegistration</path>
 
 
<parameters>
 
    <integer>
 
      <flag>b</flag>
 
      <value>30</value>
 
    </integer>
 
 
    <integer>
 
      <flag>s</flag>
 
      <value>10000</value>
 
    </integer>
 
 
    <string>
 
      <flag>i</flag>
 
      <longflag>iterations</longflag>
 
      <value>200,100</value>
 
    </string>
 
 
    <string>
 
      <flag>l</flag>
 
      <value>0.05,0.005</value>
 
    </string>
 
   
 
    <double>
 
      <flag>t</flag>
 
      <value>100.0</value>
 
    </double>
 
 
    <file>
 
    {! -- will be passed as "-Fixed Image1" --}
 
      <flag>-Fixed</flag>
 
      <name>Image1</name>
 
      <protocol>srb</protocol>
 
      <path>/home/Projects/NAMIC_0003/Files/Havard/active_morph/HUV109121/images/</path>
 
      <transfer>singleton</transfer>
 
    </file>
 
 
    <file>
 
    {! -- will be passed as "-Moving Image2" --}
 
      <flag>-Moving</flag>
 
      <name>Image2</name>
 
      <protocol>srb</protocol>
 
      <path>/home/Projects/NAMIC_0003/Files/Havard/active_morph/HUV109121/images/</path>
 
      <transfer>directory_non_recursive</transfer>
 
    </file>
 
 
    <file>
 
    {! -- will be passed as "-Output Data" --}
 
      <flag>-Output</flag>
 
      <name>Data</name>
 
      <path>/home/Projects/NAMIC__0003/Files/Harvard/archive_morph/HUVA0123123/</path>
 
      <protocol>srb</protocol>
 
      <transfer>directory_recursive</transfer>
 
    </file>
 
  </parameters>
 
 
</executable>
 
 
 
'''Team Members'''<nowiki>: </nowiki>
 
 
 
* Jeff Grethe- UCSD
 
* Brendan Faherty - UCSD
 
* Steve Pieper - BWH
 
* Daniel Blezek - GE
 

Latest revision as of 18:05, 10 July 2017

Home < Slicer3:Grid Interface

Note: We are migrating this content to the slicer.org domain - The newer page is here