Paraview : Différence entre versions
Ligne 1 : | Ligne 1 : | ||
− | |||
− | |||
− | |||
{{entete}} | {{entete}} | ||
Ligne 17 : | Ligne 14 : | ||
− | Paraview version '' | + | Paraview version ''5.0.1'' is installed on the cluster (compiled with openmpi-gcc) . |
Documentation: see also [http://daac.hpc.mil/software/ParaView/ this site]. | Documentation: see also [http://daac.hpc.mil/software/ParaView/ this site]. | ||
Ligne 36 : | Ligne 33 : | ||
− | On the nef cluster, paraview | + | On the nef cluster, two versions of paraview are installed ; one compiled with opengl (can be used on gpu nodes or with remote display) , and one with mesa (for offline rendering). |
+ | Both versions are available through a module (type <code>module avail</code> to see the current versions) | ||
+ | |||
The usual way to use paraview on nef is to start the client (paraview binary) on your workstation, start a paraview server (pvserver) on nef and then use the client to connect to the server. | The usual way to use paraview on nef is to start the client (paraview binary) on your workstation, start a paraview server (pvserver) on nef and then use the client to connect to the server. | ||
Ligne 44 : | Ligne 43 : | ||
− | To start the Paraview server, you have to use a script like this (paraview. | + | To start the Paraview server, you have to use a script like this (paraview.sh): |
#!/bin/sh | #!/bin/sh | ||
− | |||
server=`hostname` | server=`hostname` | ||
echo "The server is listening on host $server " | echo "The server is listening on host $server " | ||
− | + | source /etc/profile.d/modules.sh | |
− | + | module load paraview/5.0.1-mesa | |
− | + | module load mpi/openmpi-1.10.1-gcc | |
+ | mpirun --prefix $MPI_HOME $PARAVIEW_DIR/bin/pvserver --use-offscreen-rendering | ||
− | Then, to start paraview server on | + | Then, to start paraview server on 4 nodes: <code>oarsub -l /nodes=4,walltime=2:0:0 ./paraview.sh</code> |
− | The server will be started on | + | The server will be started on all the cores of the 4 nodes, but a single instance will listen to client connections. To know the name of the listening node, use oarpeek [job id]. |
− | + | nef:>oarpeek 407086 | |
− | + | -- Info - Your job is in Running state ! -- | |
− | + | -- Info - Command is : cat /home/nniclaus/paraview/OAR.407086.stdout | |
− | The server is listening on host | + | -- Info - Output is : |
− | + | The server is listening on host nef066 | |
Waiting for client... | Waiting for client... | ||
+ | Connection URL: cs://nef066:11111 | ||
+ | Accepting connection(s): nef066:11111 | ||
+ | |||
− | In this example, the listening node is ''' | + | In this example, the listening node is '''nef066''', so on the paraview client , you have to connect to '''nef066.inria.fr''' using the connect button ( if this is the first time you use this server, you have to use ''Add server'', and put nef066 in Host and Name. Then use the '''Manual''' Startup type and save) |
Version du 22 avril 2016 à 18:18
Sommaire
Features
Paraview is an open-source, multi-platform data analysis and visualization application. It is developped by Kitware. The version installed on the cluster is built with MPI support; therefore it can be started on several nodes of the cluster in parallel mode.
Installation & documentation
Paraview version 5.0.1 is installed on the cluster (compiled with openmpi-gcc) .
Documentation: see also this site.
Local Installation
For Fedora users, Paraview can be installed on their workstation. To do this, yum install paraview. If the version doesn't match with the version installed on nef, you can download a binary from the paraview website.
Documentation
Documentation is available online.
Usage
On the nef cluster, two versions of paraview are installed ; one compiled with opengl (can be used on gpu nodes or with remote display) , and one with mesa (for offline rendering).
Both versions are available through a module (type module avail
to see the current versions)
The usual way to use paraview on nef is to start the client (paraview binary) on your workstation, start a paraview server (pvserver) on nef and then use the client to connect to the server.
Batch mode usage
To start the Paraview server, you have to use a script like this (paraview.sh):
#!/bin/sh server=`hostname` echo "The server is listening on host $server " source /etc/profile.d/modules.sh module load paraview/5.0.1-mesa module load mpi/openmpi-1.10.1-gcc mpirun --prefix $MPI_HOME $PARAVIEW_DIR/bin/pvserver --use-offscreen-rendering
Then, to start paraview server on 4 nodes: oarsub -l /nodes=4,walltime=2:0:0 ./paraview.sh
The server will be started on all the cores of the 4 nodes, but a single instance will listen to client connections. To know the name of the listening node, use oarpeek [job id].
nef:>oarpeek 407086 -- Info - Your job is in Running state ! -- -- Info - Command is : cat /home/nniclaus/paraview/OAR.407086.stdout -- Info - Output is : The server is listening on host nef066 Waiting for client... Connection URL: cs://nef066:11111 Accepting connection(s): nef066:11111
In this example, the listening node is nef066, so on the paraview client , you have to connect to nef066.inria.fr using the connect button ( if this is the first time you use this server, you have to use Add server, and put nef066 in Host and Name. Then use the Manual Startup type and save)