From Documentation
Revision as of 17:54, 20 February 2015 by Tyson (Talk | contribs) (Using client/server mode through the visualization station)

Jump to: navigation, search
Description: Application designed to visualize data sets of size varying from small to very large
SHARCNET Package information: see PARAVIEW software page in web portal
Full list of SHARCNET supported software

Visualization Stations

ParaView can be started from the applications menu (the one in the upper-left hand corner) under the graphics sub-menu after logging into any of the visualization stations. It can also be launched from the command prompt on any of the visualization stations by typing


Adding a --stereo option will enable stereo rendering when supported by the hardware.

Visualization Stations and your PC

You can also download ParaView for your PC (Linux, MacOS, and Windows version exist) from the ParaView Website (or install it using your package manager under Linux) and use it in client server mode. Note that you must

  • use the same version of ParaView as on the visualization stations, and
  • setup ssh for passwordless login

Linux and MacOS

Place the following in servers.pvsc under .config/ParaView in your home directory (this must be done while ParaView is not running)

  <Server name="SHARCNET" resource="csrc://localhost">
        <Option name="PV_SERVER_HOST" label="Host" save="true">
          <String default=""/>
        <Option name="PV_SERVER_PORT" label="Port">
          <Range type="int" min="1024" max="65535" step="1" default="random"/>
        <Option name="PV_NODES" label="CPUs" save="true">
          <Range type="int" min="1" max="16" step="1" default="4"/>
        <Option name="PV_USERNAME" label="Login" save="true">
        <Option name="PV_CONNECT_ID" label="ID" readonly="true">
          <Range type="int" min="1" max="65535" step="1" default="random"/>
      <Command exec="ssh" timeout="0" delay="5">
          <Argument value="-x"/>
          <Argument value="-R"/>
          <Argument value="$PV_SERVER_PORT$:localhost:$PV_SERVER_PORT$"/>
          <Argument value="-l"/>
          <Argument value="$PV_USERNAME$"/>
          <Argument value="$PV_SERVER_HOST$"/>
          <Argument value="sh"/>
          <Argument value="-c"/>
          <Argument value="'module load mpi/openmpi-x86_64; DISPLAY=:0 exec mpirun -n $PV_NODES$ pvserver --reverse-connection --client-host=localhost --server-port=$PV_SERVER_PORT$ --connect-id=$PV_CONNECT_ID$'"/>

After adding this file start ParaView. Click the connect icon (third from the the right) or picking connect from the file menu will now bring up a menu that allows you to connect to SHARCNET. Pick SHARCNET and then clicking connect. This will give a menu where you can pick the number of CPUs (more can actually be slower) and enter your SHARCNET login.

If everything goes correctly, you should see csrc://localhost:<number> (where <number> is some number) in your pipeline browser. Data files will now be your SHARCNET files and only state files will be local. Beware that any changes made to servers.pvsc while ParaView is running will be lost.


A similar file, customized for your ssh setup, must be placed under your applications settings directory, and then the above directions will apply as well.


o Paraview Help Documentation

o Sharcnet Paraview Training Document