wiki:ParaView/SampleParaViewSessionJURECA

Version 6 (modified by Herwig Zilken, 8 years ago) ( diff )

--

Sample ParaView session on visualization node(s)

Remote Rendering

In this section we show how to use ParaView's server side rendering capabilities on JURECA in a sample session step by step.

  1. Login to JURECA and load the modules for ParaView

Once the account on JURECA is created, we may connect to one of the login nodes of JURECA with 'ssh user@…'. After successful login we will see the following prompt:

bash-4.2$

Now, we have to load the modules providing the ParaView software

bash-4.2$ module load Stages/Current intel-para ParaView
module unload Mesa/.11.1.2 #we want hardware rendering

and set the DISPLAY environment variable as follows

bash-4.2$ export DISPLAY=:0.0

Next, we allocate some resources for our ParaView server, and run the ParaView server (in this example session on 2 nodes, using 48 tasks)

bash-4.2$ salloc -N 2 -p vis --gres gpu:2 --start-xserver
bash-4.2$ srun --cpu_bind=none --ntasks=48 --gres=gpu:0 vglrun pvserver --use-offscreen-rendering

which will produce the following output from the ParaView server:

Waiting for client...
Connection URL: cs://jrc1391:11111
Accepting connection(s): jrc1391:11111

where

jrc1391:11111 

is the hostname and portnumber on JURECA the server will listen to.

  1. As a next step, we establish a tunnel connection to the above mentioned port. (THIS STEP IS NOT NECESSARY IF YOU STARTED THE pvserver FROM A JURECA VIS LOGIN NODE USIN VNC):
    ssh -L 11111:jrc1391:11111 jureca
    
  1. Now, we can open the GUI on our workstation (OR IN THE VNC SESSION IF A JURECA VIS LOGIN NODE IS USED) and connect to the pvserver running on JURECA:


In the dialog that will now pop up, press "Add Server" and setup the server as follows:

Note that this has to be done only once, since ParaView remembers the generated server configurations.

Then, make sure your newly created server is selected and click the Connect button in the Choose Server Configuration dialog.

  1. Finally, we can open the Open File Dialog and select some data from JURECAS filesystem.

Attachments (8)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.