For the complete documentation index, see llms.txt. This page is also available as Markdown.

VisIt

Tips on how to get running with Visit

Installing visit on Ubuntu

Download the latest version for which your version of Ubuntu is supported. Note that it often will not work if your version of Ubuntu is too new. The tarball (.tgz) is recommended.

where you must change the path (the red part) to whatever path you

Extract and put in a common location (usually /opt). The executable is in {extracted path}/bin/. You can add it to your shell by putting the following in your ./.bashrc file:

export PATH=${PATH}:/opt/visit3_3_3.linux-x86_64/bin/

where you must change the path to match whatever the unzipped tarball was.

Visit on Nova

The Gist has files and scripts to build VisIt and connect to VisIt with client-server, serial/parallel mode.

Version Support

These scripts and configurations have been tested with VisIt 3.4.2 built with the following environment modules:

Software
Version

gcc

14.2.0-cuda12-vx6uhdf

openmpi

4.1.6-jd5jqt4

libtool

2.4.7-cmddukv

expat

2.6.3-73vqnat

git

2.47.0-hy4cypr

All environment modules loaded

Building

Edit the build-visit.sh script below as follows:

  • Add your email address to the --mail-user field.

  • Set VISIT_ROOT to the directory VisIt should be installed to.

Run sbatch build-visit.sh to build VisIt. I've run into an issue where the VisIt build will fail occasionally because it can't find the Python include directory. Running the build job again usually resolves this issue.

Configuring Shell

When you use VisIt in client-server mode, it first must spin up a metadata server and several other background processes on the server. To do so, VisIt must be able to resolve the OpenMPI library that was used to build VisIt. Since it is currently impossible to run commands immediately after the SSH session is established, we need to run any necessary commands in your remote shell's startup files.

Add the following code to your remote shell's startup file (normally .bashrc). This code may need to be modified for non-Bash shells.

Configuring VisIt

Download the host_isu_nova.xml file from this Git gist. This file is a host profile which VisIt uses to configure the remote server. Put this file in VisIt's host profile directory. For macOS, this directory is ~/.visit/hosts.

You will need to set a couple parameters of the host profile for your own installation. These can be set in the GUI or by directly editing the .xml file.

  • userName: set to your username on the remote server

  • directory: set to the root VisIt directory (this is $VISIT_ROOT in build-visit.sh)

Once configured, follow the VisIt documentation to connect via a host profile.

If you have problems connecting, you may need to configure passwordless SSH or start VisIt from the command line with the -nopty option.

Visit tips and tricks

Suppressing warnings and error dialogs

Visit's warning/error dialog messages are obnoxious and excessive. To hard-suppress them during a session, open Controls -> Command and execute

You can pass 2 instead of 1 to suppress warnings only.

(Even then, some errors will make it though - visit is quite persistent. But it should be a little less intrusive.)

Last updated

Was this helpful?