ParaView Server-Client
- Login to the LRZ Cluster (login node)
Create a job script, e.g. for SuperMUC-NG with the content
It is necessary to use the mesa variant for off-screen-software-rendering.
Security: Consider options like--server-port=...
and--disable-further-connections
to enhance the security of your paraview sessions! Be aware thatpvserver
does not support any password protection at the moment.Submit the script via
$ sbatch pvtest.sh
and check, where it is running (
squeue -u $USER ...
(see SLURM documentation)). Once it is running, check the output file forConnection URL: cs://i01r02c01s05.sng.lrz.de:11111
Create a SSH forward tunnel. Open a shell on your local computer and run:
ssh -L 11111:i01r02c01s05opa:11111 <userID>@<server>
opa is important, for SuperMUC-NG.<server>
is most probablyskx.supermuc.lrz.de
on SuperMUC-NG (depends also on your local SSH configuration).
Another port is possible and may be necessary if 11111 (left == local port above) is already used. (Consult your SSH client's documentation!) The port on the compute node should be always available as 11111, as nodes are exclusively used. But also this can be changed by executingpvserver
with the option--server-port=<other port number>
.
On CoolMUC-2, the node name needs to be extended by ib, for the InfiniBand network. (If for some reason that doesn't work ... try without ib )- Open locally (on the Laptop/PC in front of you) the
paraview
GUI of the same version as thepvserver
! Click on connect to server button, and create a connection (manual) tolocalhost:11111
(the SSH tunnel prolongs this - use the other port number if you had to change this for the SSH tunnel). - After connection, you should be able to open case files on the LRZ cluster file system. We also recommend to open the memory monitor (see ParaView GUI documentation!).
- After finishing the visualization, close the connection to the server. The server automatically finishes the operation, and the SLURM job finishes.