[Paraview] Randomly generated connect ids not working

Mark Van Moer mvanmoer at ncsa.illinois.edu
Mon Dec 6 14:29:48 EST 2010


forgot to cc the list

----- Original Message -----
From: "Mark Van Moer" <mvanmoer at ncsa.illinois.edu>
To: "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com>
Sent: Monday, December 6, 2010 1:24:54 PM
Subject: Re: [Paraview] Randomly generated connect ids not working

Hi Utkarsh, Here it is. I've also attached the pv_rc_test.sh remotescript. 
 <Server name="RC to Abe" resource="csrc://localhost">
    <CommandStartup>
      <Options>
        <Option name="MACHINE" label="Remote Machine" readonly="true">
          <String default="abe.ncsa.uiuc.edu"/>
        </Option>
        <Option name="SSH_USER" label="Username" save="true">
          <String default="mvanmoer"/>
        </Option>
        <Option name="SSH_EXE" label="SSH Executable" save="true">
          <File default="plink.exe"/>
        </Option>
        <Option name="REMOTESCRIPT" label="The remote script that generates batch script">
          <String default="~/batch_scripts/pv_rc_test.sh"/>
        </Option>
        <Option name="CLIENTNAME" label="The ip address or name of this client machine">
          <String default="talbot.ad.ncsa.edu"/>
        </Option>
        <Option name="PV_SERVER_PORT" label="Server Port ">
          <Range type="int" min="1" max="65535" step="1" default="11111"/>
        </Option>
        <Option name="JOBNAME" label="Job Name, PBS -N" save="true">
          <String default="pv_rc"/>
        </Option>
        <Option name="EMAILADDRESS" label="email address, PBS -M" save="true">
          <String default="mvanmoer at ncsa.illinois.edu"/>
        </Option>
        <Option name="GROUP" label="Charged Group, PBS -A" save="true">
          <String default="aaa"/>
        </Option>
        <Option name="QUEUE" label="Queue, PBS -q" save="true">
          <String default="debug"/>
        </Option>
        <Option name="NODES" label="Nodes, PBS -l nodes=" save="true">
          <Range type="int" min="1" max="256" step="1" default="1"/>
        </Option>
        <Option name="PPN" label="Processors per node, PBS -l ppn=" save="true">
          <Range type="int" min="1" max="8" step="1" default="1"/>
        </Option>
        <Option name="NUMHOURS" label="Number Of Hours to reserve" save="true">
          <Range type="int" min="0" max="72" step="1" default="0"/>
        </Option>
        <Option name="MINUTES" label="Number of minutes" save="true">
          <Range type="int" min="0" max="59" step="1" default="15"/>
        </Option>
        <Option name="CONNECTID" label="ConnectionID" readonly="true">
          <Range type="int" min="1" max="65535" step="1" default="random"/>
        </Option>
      </Options>
      <Command exec="$SSH_EXE$" delay="5">
        <Arguments>
          <Argument value="$MACHINE$"/>
          <Argument value="-l"/>
          <Argument value="$SSH_USER$"/>
          <Argument value="-R"/>
          <Argument value="11111:localhost:11111"/>
          <Argument value="-i"/>
          <Argument value="C:/Users/mvanmoer/AppData/Roaming/PuTTY/private.ppk"/>
          <Argument value="$REMOTESCRIPT$"/>
          <Argument value="$CLIENTNAME$"/>
          <Argument value="$PV_SERVER_PORT$"/>
          <Argument value="$JOBNAME$"/>
          <Argument value="$EMAILADDRESS$"/>
          <Argument value="$GROUP$"/>
          <Argument value="$QUEUE$"/>
          <Argument value="$NODES$"/>
          <Argument value="$PPN$"/>
          <Argument value="$NUMHOURS$"/>
          <Argument value="$MINUTES$"/>
          <Argument value="$CONNECTID$"/>
        </Arguments>
      </Command>
    </CommandStartup>
  </Server>

----- Original Message -----
From: "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com>
To: "Mark Van Moer" <mvanmoer at ncsa.illinois.edu>
Cc: "paraview" <paraview at paraview.org>
Sent: Monday, December 6, 2010 12:37:31 PM
Subject: Re: [Paraview] Randomly generated connect ids not working

Can you post the relevant <Servers > portion from the
server-configuration xml please? I verified that random connect-id by
itself, like in case 7 is working.

Utkarsh

On Mon, Dec 6, 2010 at 12:27 PM, Mark Van Moer
<mvanmoer at ncsa.illinois.edu> wrote:
> Hello,
> I'm trying to get a server configuration working that's Case 11 with the additional connect-id from Case 7 on the wiki: http://www.paraview.org/Wiki/ParaView:Server_Configuration
>
> I get these errors:
>
> ERROR: In ..\..\..\src\Servers\Common\vtkServerConnection.cxx, line 444
> vtkServerConnection (00000000070804A0): Connection ID mismatch. Make sure to specify the right connection id on the server and client. This error can also occur if you have mismatching client and server versions even if you are not using connection ids.
>
>
> ERROR: In ..\..\..\src\Servers\Common\vtkServerConnection.cxx, line 370
> vtkServerConnection (00000000070804A0): Failed to authenticate with Data Server.
>
>
> ERROR: In ..\..\..\src\Servers\Common\vtkProcessModuleConnectionManager.cxx, line 706
> vtkProcessModuleConnectionManager (0000000003ED0030): Rejecting new connection.
>
> This is ParaView 3.8.1, the client is on Win 7 64 bit, server is on a 64 bit intel cluster. The errors go away if I explicitly set the connect-id when launching the client and in the servers.pvsc file. eg., in servers.pvsc have:
>
> <Option name="CONNECTID" label="ConnectionID" readonly="true">
>          <Range type="int" min="1" max="65535" step="1" default="1234"/>
>        </Option>
>
> and launch with:
>
> C:\Users\mvanmoer>"c:\Program Files\ParaView 3.8.1\bin\paraview.exe" --connect-id="1234"
>
> Is there a step that I'm missing to enable using random connect ids?
>
> Thanks,
> Mark
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>



More information about the ParaView mailing list