[vtkusers] VTK MPI with SSH Display problem

Simon Warfield warfield at bwh.harvard.edu
Wed Jul 18 12:55:07 EDT 2001


ssh can be configured to automatically forward the X display for you.

See the ForwardX11 option of the ssh man page.

You can also explicitly pass the display back to your localhost.  We have had
success running vtk tcl scripts with MPICH it via e.g.

xhost +
mpirun -np 3 /d/pathtobinary/vtk -display localhost:0.0 -nolocal -machinefile machines-for-this-run /d/pathtovtkscript


On Wed, Jul 18, 2001 at 10:38:58AM -0500, Simon Winberg wrote:
> Hi all,
> 
> I've got VTK compiled with the MPI option, and am testing the
> ParallelIso program. I'm using ssh with the ssh-agent to connect to the
> other PC's.
> 
> When I execute the program (using the lamexec command) the
> application runs for a few seconds and then crashes (see output
> below). I can run the application fine on one PC simulating multiple
> processors, but when I add any of the other PCs in my cluster I get this
> error:
> 
> --------
> $ lamexec -np 3 ParallelIso
> 
> Update 3000 took 0.531551 seconds to produce 68 triangles
> Update 1750 took 0.828511 seconds to produce 88310 triangles
> Update 500 took 0.738054 seconds to produce 64982 triangles
> Update 3000 took 2.94585 seconds to produce 68 triangles
> ERROR: In vtkXRenderWindow.cxx, line 176
> vtkMesaRenderWindow (0x8235550): bad X server connection.
> 
> ERROR: In vtkMesaRenderWindow.cxx, line 122
> vtkMesaRenderWindow (0x8235550): bad X server connection.
> --------
> 
> I have tried the other example programs with similar results.
> Could this be a problem with how ssh handles exporting of the display?
> 
> Any ideas?
> 
> 
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

-- 
Simon Warfield, Ph.D. warfield at bwh.harvard.edu Phone:617-732-7090
http://www.spl.harvard.edu/~warfield           FAX:  617-582-6033
Thorn 329, Brigham and Women's Hospital, Harvard Medical School
Department of Radiology, 75 Francis St, Boston, MA, 02115




More information about the vtkusers mailing list