Thursday, July 13, 2017 7:51 PM
- About: an open-source, multi-platform data analysis and visualization application
- Category: Graphics
- URL: http://www.paraview.org/
- Interactive executable: paraview
|module (bold = default)||build||dependencies|
|paraview/5.2/b1||Binary version for Linux|
|paraview/5.2/b2||gcc 6.2.0; No GUI; python enabled|
|paraview/5.2/b3||gcc 6.2.0; with GUI; python enabled|
Starting a paraview server on BlueHive
You can run paraview servers on any node in the cluster, however if you want the paraview server to support rendering, you will need to use nodes in the visual partition. The following example sbatch script starts up paraview servers with rendering support. Make sure to submit the script using sbatch.
#!/bin/bash #SBATCH -p visual #SBATCH -N 2 #SBATCH --ntasks-per-node=12 #SBATCH --mem=22gb #SBATCH -t 60 #SBATCH --exclusive srun -n 2 hostname for i in `parse-range $SLURM_NODELIST`; do ssh $i "Xorg :0" & done module load virtualgl module load paraview vglrun srun pvserver -display :0 --use-offscreen-rendering
If you want a paraview server without rendering support, use the following example sbatch script
#!/bin/bash #SBATCH -p standard #SBATCH -N 2 #SBATCH --ntasks-per-node=24 #SBATCH --mem=60gb #SBATCH -t 60 srun -n 2 hostname module load virtualgl module load paraview srun pvserver sleep 10d
In either case, your slurm output file should contain a paraview server address..
Waiting for client... Connection URL: cs://bhx0103:11111 Accepting connection(s): bhx0103:11111
Then you can connect your paraview client on your laptop using an ssh tunnel. For example, to connect to bhx0103:11111 from your laptop, you would open up terminal, mobaxterm, or putty, and run
ssh -L 11111:bhx0103:11111 YourNetIDHere@bluehive.circ.rochester.edu
YourNetIDHere should be replaced by your actual netid.
Then you can start the paraview client on your laptop and setup a manual connection to localhost, port 11111
You can run the Paraview client on BlueHive using X2go, in which case you would not need to tunnel the connection from the paraview server to the paraview client. Instead you would just put the name of the compute node (ie bhx0103) instead of localhost when setting up the connection from the client.
You can also use a TurboVNC session to run the paraview client on the BlueHive cluster following the instructions under Remote Visualization. In that case, you would not need to setup a tunnel from the Paraview client to the server.
You can also startup a TurboVNC server as part of your batch script that runs on the same node as your paraview server.
First make sure you can connect to a TurboVNC server started using vnc_start following the instructions at Remote Visualization. This will also setup a VNC passwd for use later.
Then you could modify the first script to start the vnc server
#!/bin/bash #SBATCH -p visual #SBATCH -N 2 #SBATCH --ntasks-per-node=12 #SBATCH --mem=22gb #SBATCH -t 60 #SBATCH --exclusive srun -n 2 hostname for i in `parse-range $SLURM_NODELIST`; do ssh $i "Xorg :0" & done /opt/TurboVNC/bin/vncserver module load virtualgl module load paraview vglrun srun pvserver -display :0 --use-offscreen-rendering
Then your standard out will also contain a turboVNC server address
Desktop 'TurboVNC: bhx0103:14 (YourNetIDHere)' started on display bhx0103:14
which you can use to setup the ssh tunnel
ssh -L 5901:bhx0103:5914 YourNetIDHere@bluehive.circ.rochester.edu
And then you can connect your TurboVNC client to
also see Using Software.