Remote visualization¶
Remote data visualization service allowing pre- and post-processing using graphical software
Prerequisite: Install the latest version of the TurboVNC client on your workstation [http://www.turbovnc.org/]
Step 1: Start a graphical session¶
From a Boréale front end: request a graphical viewing session by typing the command: startvisu
.
Help is available by adding --help
to the command line.
This script submits a calculation in Slurm, in a queue dedicated to visualization sessions.
Once the calculation has started, a message is displayed in your command window with the parameters to give to your TurboVNC client on your workstation
Step 2: Connect to the session¶
On your workstation: Launch the TurboVNC viewer client and enter the server and display settings and password.
A "desktop" window should appear. The task bar at the bottom of the window will open a terminal.
Step 3: End of Session¶
Closing the TurboVNC Viewer window does not end the session. You can reconnect using the same settings.
To end the session, you must either log out (right-click on the bottom bar, then "Log Out") or kill the associated Slurm job (command scancel
with the calculation number).
As for any calculation, at the end of the duration of the calculation "TimeLimit" (by default 4 h), the calculation is killed: the session and all that it contains are destroyed.
Default session¶
By default, the following resources are associated:
- Wallclock: 4 h
- Number of CPU cores : 4
- Memory: 64 GB
If you need more resources, check the startvisu
options using the --help
argument.
Software¶
Software, such as Paraview, Visit or Blender, can be accessed through the module management. Type the command module avail
to see the list.
Note
graphics software using OpenGL libraries must be launched via the vglrun
command: for example, to launch Paraview, after having loaded the corresponding module (Example: module load paraview)
, you must type vglrun paraview
.
Amount of memory used¶
View sessions are Slurm calculations like any other. It is therefore possible to consult the consumption report generated by Slurm.
- example:
sacct -o "MaxVMSize,MaxRSS,AllocGRES,JobID%20,User,Partition" --start 2020-03-23 --end 2020-03-26 --partition visu
More information about the sacct
command in the detailed documentation
Retrieving session information¶
The session information is saved in the file ~/.visu/slurm-jobid.out
by replacing jobid
with the number of the calculation.
Public IP of the server :
boreale-visu1.criann.fr
=195.221.27.116
Note : do not forget to specify the session number with the :
after the server IP.