Argonne PVSC

From KitwarePublic
Jump to navigationJump to search
 <Server name="eureka.4.0.1" resource="csrc://localhost">
   <CommandStartup>
     <Options>
       <Option name="SSH_EXE" label="SSH executable" save="true">
         <File default="ssh"/>
       </Option>
       <Option name="MACHINE" label="Remote machine" save="true">
         <String default="eureka.alcf.anl.gov"/>
       </Option>
       <Option name="USER" label="Username" save="true">
         <String default="demarle"/>
       </Option>
       <Option name="CLIENT_PORT" label="Client port">
         <Range type="int" min="1025" max="65535" step="1" default="11111"/>
       </Option>
       <Option name="SERVER_PORT" label="Server port">
         <Range type="int" min="1025" max="65535" step="1" default="random"/>
       </Option>
       <Option name="NUMNODES" label="Number of nodes to reserve" save="true">
         <Range type="int" min="1" max="1024" step="4" default="2"/>
       </Option>
       <Option name="NUMMINUTES" label="Number of minutes to reserve" save="true">
         <Range type="int" min="5" max="1000" step="5" default="5"/>
       </Option>
       <Option name="ACCOUNT" label="Account" save="true">
         <String default="SDAV"/>
       </Option>
       <Option name="QUEUE" label="Queue" save="true">
         <String default="default"/>
       </Option>
       <Option name="JOBNAME" label="Job name" save="true">
         <String default="paraview_server"/>
       </Option>
     </Options>
     <Command exec="/usr/X11/bin/xterm" timeout="0" delay="0" Arguments="0">
       <Arguments>
         <Argument value="-T"/>
         <Argument value="ParaView4.0.1 $REMOTE_USER$@Eureka"/>
         <Argument value="-hold"/>
         <Argument value="-e"/>
         <Argument value="$SSH_EXE$"/>
         <Argument value="-i ~/.ssh/idrsalongnew"/>
         <Argument value="-R"/>
         <Argument value="$SERVER_PORT$:localhost:$CLIENT_PORT$"/>
         <Argument value="$USER$@$MACHINE$"/>
         <Argument value="/soft/apps/paraview/connect/launch.sh"/>
         <Argument value="$NUMNODES$"/>
         <Argument value="$NUMMINUTES$"/>
         <Argument value="$ACCOUNT$"/>
         <Argument value="$QUEUE$"/>
         <Argument value="$JOBNAME$"/>
         <Argument value="$SERVER_PORT$"/>
         <Argument value="pvserver"/>
       </Arguments>
     </Command>
   </CommandStartup>
 </Server>