[Paraview] Multiple servers
pat marion
pat.marion at kitware.com
Fri Jul 24 13:13:47 EDT 2009
1) Try sshing to the machine and launching a program like glxgears or
xeyes. Probably won't work, right? Now try:
ssh remote-machine
export DISPLAY=:0
xeyes
Now does it work? If so, try adding -x DISPLAY to your mpirun command, you
can read about this in the mpirun man page.
2) Each pvserver process is looking in the filesystem for the data.
Usually people use a parallel filesystem like lustre (
http://en.wikipedia.org/wiki/Lustre_(file_system) so that all the machines
in the cluster have access to the same files, but you can also duplicate the
file on each machine. It must have the same path name on each machine.
Pat
On Fri, Jul 24, 2009 at 1:01 PM, David Doria <daviddoria at gmail.com> wrote:
> On Thu, Jul 23, 2009 at 12:29 PM, David E
> DeMarle<dave.demarle at kitware.com> wrote:
> > David, can you do these two things?
> >
> > 1) from the shell on the local machine, ssh to one node of the remote
> > machine and execute a command without supplying a password (ie you
> > have ssh authentication set up)
> > ex.
> > kargad> ssh amber1 uname -a
> > Linux amber1 2.6.18-6-amd64 #1 SMP Tue Aug 19 04:30:56 UTC 2008 x86_64
> GNU/Linux
> >
> > 2) log on the first node of the remote machine, set up a machine file
> > listing the nodes in the remote, then run mpirun to start a parallel
> > job on all of the server nodes
> > kargad> ssh amber1
> > amber1> cat > ~/mymachinefile.txt
> > amber1
> > amber2
> > Ctrl-D
> > amber1> mpirun -m ~/mymachinefile.txt -np 2 /bin/uname -a
> > Linux amber1 2.6.18-6-amd64 #1 SMP Tue Aug 19 04:30:56 UTC 2008 x86_64
> GNU/Linux
> > Linux amber2 2.6.18-6-amd64 #1 SMP Tue Aug 19 04:30:56 UTC 2008 x86_64
> GNU/Linux
> >
> > If you can do those two things, then your command should be
> > ssh remotemachine mpirun -np N pvserver
> >
> >
> >
> >
> > David E DeMarle
> > Kitware, Inc.
> > R&D Engineer
> > 28 Corporate Drive
> > Clifton Park, NY 12065-8662
> > Phone: 518-371-3971 x109
> >
> >
> >
> > On Thu, Jul 23, 2009 at 12:18 PM, pat marion<pat.marion at kitware.com>
> wrote:
> >> Hmm, maybe I'm misunderstanding you, but it sounds like you are giving
> >> paraview a command to start the server and expecting paraview to log
> into
> >> the remote machine to execute the command? The command will be run on
> your
> >> client machine. So you need to write a shell script that will take care
> of
> >> launching pvserver on the remote machine. If you are using mpi you can
> do
> >> this with mpirun, and use a machinefile that lists the remote machines.
> >>
> >> Pat
> >>
>
> Ok, getting much closer - just a couple of questions
>
> 1)
> If I see "Display is not accessible on the server side - remote
> rendering will be disabled" on a machine with no rendering hardware, I
> need to make sure Mesa is configured properly and start the server
> with --use-offscreen-rendering. However, if the machine DOES have
> graphics hardware (I'm assuming a normal video card counts as graphics
> hardware?), then why would I see that warning?
>
> 2) Does the data have to be available to all of the machines? I have
> the following setup:
>
> Computer A: my desktop
> Computer B: a machine with 8 cores
>
> I want to use 1 core on Computer A and 8 cores on Computer B.
>
> I start the server on Computer A with:
> mpirun -machinefile machines.txt pvserver --use-offscreen-rendering
>
> where machines.txt contains
> ComputerA_IP
> ComputerB_IP slots=8
>
> Then I use paraview on Computer A to connect to the server running on
> Computer A.
>
> Everything seems to go smoothly. However, now when I go to open data
> (which is located on Computer A at
> /media/portable/Data/2cars/car_0.vtp) I get the following error for
> each process and nothing ever gets displayed in paraview:
>
> Process id: 1 >> ERROR: In
> /home/doriad/src/ParaView3/VTK/IO/vtkXMLReader.cxx, line 219
> vtkXMLPolyDataReader (0x50e5e90): Error opening file
> /media/portable/Data/2cars/car_0.vtp
>
> Process id: 1 >> ERROR: In
> /home/doriad/src/ParaView3/VTK/Filtering/vtkExecutive.cxx, line 757
> vtkCompositeDataPipeline (0x50e6710): Algorithm
> vtkFileSeriesReader(0x50e37e0) returned failure for request:
> vtkInformation (0x50ef4e0)
> Debug: Off
> Modified Time: 29922
> Reference Count: 1
> Registered Events: (none)
> Request: REQUEST_DATA
> FORWARD_DIRECTION: 0
> FROM_OUTPUT_PORT: 0
> ALGORITHM_AFTER_FORWARD: 1
>
> Does anyone know why that would happen?
>
> Thanks,
>
> David
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090724/124a9baf/attachment.htm>
More information about the ParaView
mailing list