User Tools

Site Tools


howto:visit

Running VisIt

There are two versions of VisIt installed on Lengau. Visit-2.10.2 is installed in /apps/chpc/compmech/CFD/VisIt/visit2.10.2/src/bin. Visit-2.13.2 is installed in /apps/chpc/compmech/visit2_12_3.linux-x86_64. Both versions are available as modules. Use the command module avail to find it. Please refer to the VisIt web site for more information on VisIt. For interactive graphics, an OpenGL-enabled environment will be required, therefore refer to the page on Remote Visualization for instructions on setting up a connection to the visualization node, and running VisIt with the VirtualGL wrapper. VisIt is an extremely versatile post-processor, and can be used as the primary visualization tool for a very wide range of applications and file formats.

Running VisIt on a visualization node

It is possible to run a VisIt client on your local workstation, with the data and render processing happening on a cluster node. However, is is easier to use one of the visualization nodes (chpclic1 or chpcviz1) to run the interface. In order to do this, load the module chpc/compmech/VisIt/2.12.3-VNC, and start VisIt with the command vglrun visit. This will get you a serial version of VisIt, which is adequate for processing smaller data sets.

VisIt on a viz node with the compute engine on a compute node

In order to visualize large data sets effectively, add one or more compute nodes. For VisIt to be able to start the remote compute engine on a compute node, three modules need to be loaded by default, which is most easily achieved by inserting these three lines in your ~/,bashrc file:

module load gcc/6.1.0
module load chpc/compmech/mpich/3.2/gcc-6.2.0
module load chpc/compmech/mesa/17.0.1

However, the mesa module will clash with the VNC implementation of VisIt, therefore you will need to unload it in your VNC session before starting VisIt.

Now start VisIt in your VNC-session, as per usual. To get access to a full compute node, start an interactive PBS session:

 qsub -I -X -l select=1:ncpus=24:mpiprocs=24 -l walltime=4:00:00 -q smp -P MECH1234 

Note down the hostname of the compute node assigned to you. In this case, it is cnode0756.

In VisIt, go to the Options - Host Profiles menu and fill in the necessary details as per this example

Click Apply, and then set up an appropriate parallel host profile:

Click Apply and dismiss the form.

Now go to the File - Open menu:

Change the host from localhost to your compute node, and if all goes well, you can select the appropriate data file on the compute node.

You are then given the option of selecting the number of parallel processes you want to use on the compute node:

From here onwards proceed as usual. Note that you will only get parallel acceleration if your data set is parallel.

/var/www/wiki/data/pages/howto/visit.txt · Last modified: 2017/12/03 08:22 by ccrosby