[Paraview] pvsc server config file string substitution syntax (paraview 3.2.3)

Thomas Kaempfer thomas.kaempfer at usace.army.mil
Wed Oct 15 10:46:15 EDT 2008


I am trying to port a windows pvsc server configuration file to linux
and run into trouble when defining an argument value that contains
several variables:

I first define variables using:
       <Option name="SYS1" label="node1">
          <Boolean true="node1," false="," default="true" />
        </Option>
        <Option name="SYS2" label="node2">
          <Boolean true="node2," false="," default="false" />
        </Option>

and want to construct the execution-command as:
     <Command exec="ssh" delay="5">
        <Arguments>
         <Argument value="mpirun" />
         <Argument value="--host" />
         <Argument value="$SYS1$$SYS2$/>         
        </Arguments>
      </Command>

all works fine when using just
         <Argument value="$SYS1$/>

but the multiple variable substitution seems not to work. It looks to me
as if the system tries to substitute the whole string 
"SYS1$$SYS2" instead of "SYS1" and "SYS2"

Note that the script works for a windows client, replacing all the $
with %. 

I am using paraview 3.2.3.

any hints or help appreciated. 

regards,
Thomas Kaempfer     


-- 
--------------------------------------------------------
Thomas Kaempfer
U.S. Army Engineer Research and Development Center
USA CRREL
72 Lyme Road
Hanover, NH 03755-1290, USA

phone : +1 603 646 4472
fax   : +1 603 646 4477

e-mail: thomas.kaempfer at usace.army.mil
--------------------------------------------------------



More information about the ParaView mailing list