Changes between Version 9 and Version 10 of Software/eTutorialSupport


Ignore:
Timestamp:
Jun 26, 2016, 9:29:41 PM (8 years ago)
Author:
ffund01
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Software/eTutorialSupport

    v9 v10  
    143143
    144144
     145=== Making OMF scripts that work with the scheduler ===
     146
     147To work with the scheduler utility script, the OMF experiment script should define a property 'node' that specifies the resource to use. This should also be the name of a queue. For an experiment that requires multiple resources, they should be specified with e.g. a dictionary.
     148
     149For example, this script defines a "sndnode" and a "rcvnode":
     150
     151{{{
     152defProperty('prefix', '', "Prefix for HRN")
     153defProperty('suffix', '.grid.orbit-lab.org', "Suffix for HRN")
     154defProperty('node', 'node3-19', "ID of sender node, will be passed by job scheduler")
     155
     156# Set up node pair
     157sndnode = "#{property.prefix}#{property.node}#{property.suffix}"
     158assignments = {"node3-19" => "node3-18", "node14-10" => "node14-11"}
     159rcvnode = assignments["#{property.node}"].to_s
     160}}}
     161
     162
     163
    145164=== Using the scheduler ===
    146165