Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
ParaView
========
An open-source, multi-platform data analysis and visualization
application
Introduction
------------
ParaView** is an open-source, multi-platform data analysis and
visualization application. ParaView users can quickly build
visualizations to analyze their data using qualitative and quantitative
techniques. The data exploration can be done interactively in 3D or
programmatically using ParaView's batch processing capabilities.
ParaView was developed to analyze extremely large datasets using
distributed memory computing resources. It can be run on supercomputers
to analyze datasets of exascale size as well as on laptops for smaller
data.
Homepage : <http://www.paraview.org/>
Installed version
-----------------
Currently, version 4.0.1 compiled with GCC 4.8.1 against Bull MPI
library and OSMesa 10.0 is installed on Anselm.
Usage
-----
On Anselm, ParaView is to be used in client-server mode. A parallel
ParaView server is launched on compute nodes by the user, and client is
launched on your desktop PC to control and view the visualization.
Download ParaView client application for your OS here
: <http://paraview.org/paraview/resources/software.php>. Important :
your version must match the version number installed on Anselm** !
(currently v4.0.1)
### Launching server
To launch the server, you must first allocate compute nodes, for example
:>
$ qsub -I -q qprod -A OPEN-0-0 -l select=2
to launch an interactive session on 2 nodes. Refer to [Resource
Allocation and Job
Execution](../resource-allocation-and-job-execution/introduction.html)
for details.
After the interactive session is opened, load the ParaView module :
$ module add paraview
Now launch the parallel server, with number of nodes times 16 processes
:
$ mpirun -np 32 pvserver --use-offscreen-rendering
Waiting for client...
Connection URL: cs://cn77:11111
Accepting connection(s): cn77:11111
Note the that the server is listening on compute node cn77 in this
case, we shall use this information later.
### Client connection
Because a direct connection is not allowed to compute nodes on Anselm,
you must establish a SSH tunnel to connect to the server. Choose a port
number on your PC to be forwarded to ParaView server, for example 12345.
If your PC is running Linux, use this command to estabilish a SSH tunnel
:
ssh -TN -L 12345:cn77:11111 username@anselm.it4i.cz
replace username with your login and cn77
with the name of compute node your ParaView server is running on (see
previous step). If you use PuTTY on Windows, load Anselm connection
configuration, t>hen go to Connection->
SSH>->Tunnels to set up the
port forwarding. Click Remote radio button. Insert 12345 to Source port
textbox. Insert cn77:11111. Click Add button, then Open. [Read
more about port
forwarding.](https://docs.it4i.cz/anselm-cluster-documentation/software/resolveuid/11e53ad0d2fd4c5187537f4baeedff33)
Now launch ParaView client installed on your desktop PC. Select
File->Connect..., click Add Server. Fill in the following :
Name : Anselm tunnel
Server Type : Client/Server
Host : localhost
Port : 12345
Click Configure, Save, the configuration is now saved for later use. Now
click Connect to connect to the ParaView server. In your terminal where
you have interactive session with ParaView server launched, you should
see :
Client connected.
You can now use Parallel ParaView.
### Close server
Remember to close the interactive session after you finish working with
ParaView server, as it will remain launched even after your client is
disconnected and will continue to consume resources.
GPU support
-----------
Currently, GPU acceleration is not supported in the server and ParaView
will not take advantage of accelerated nodes on Anselm. Support for GPU
acceleration might be added in the future.