Version 1 (modified by 9 years ago) ( diff ) | ,
---|
load ParaView module
Prepare first:
linuxtdc[1-6]:> module load gcc linuxtdc[1-6]:> module load openmpi/1.6.5 linuxtdc[1-6]:> export PATH=/home/vrsw/Qt/qt-4.8.5/LINUX.X86_64/bin/:${PATH}
Load ParaView module (compiled for parallel pvserver)
linuxtdc[1-6]:> export MODULEPATH=${MODULEPATH}:/home/vrsw/modules/modulefiles linuxtdc[1-6]:> module load INSITU linuxtdc[1-6]:> module load ParaView
start ParaView server on linuxtdc[1-6]´s display 0 and render into local framebuffer
Check for details here: http://www.paraview.org/Wiki/Setting_up_a_ParaView_Server
Communication between client<->server(first node) is by default via socket connection on port 11111, but only 5600-5609 are open (therefore below we use 5601).
single paraview server:
linuxtdc[1-6]:> export DISPLAY=:0 linuxtdc[1-6]:> export XAUTHORITY=/var/run/Xauthority-vr linuxtdc[1-6]:> pvserver --server-port=5601
multiple paraview server:
Make sure pvserver was compiled with the MPI you use, or you will end up with:
vtkServerSocket (0xf62390): Socket error in call to bind. Address already in use.
linuxtdc[1-6]:> export DISPLAY=:0 linuxtdc[1-6]:> export XAUTHORITY=/var/run/Xauthority-vr linuxtdc[1-6]:> mpiexec --skip -np 4 -x DISPLAY -x XAUTHORITY pvserver --server-port=5601
start ParaView client
start ParaView on your local machine and connect to server on linuxtdc[1-6]:5601
tunnel port to localhost
If you are outside of the ITCenter, you have to tunnel the port to your localhost first:
ssh -f -N -L 5601:linuxtdc[1-6].rz.rwth-aachen.de:5601 <TIM-ID>@cluster.rz.rwth-aachen.de
Then connect to 'localhost:5601' instead of 'linuxtdc[1-6] from the ParaView client.