Difference between revisions of "VisIt"

From SourceWiki
Jump to navigation Jump to search
Line 3: Line 3:
 
These are notes from Rupert Gladstone, modified by Gethin Williams.
 
These are notes from Rupert Gladstone, modified by Gethin Williams.
  
https://wci.llnl.gov/codes/visit/1.11.1/BUILD_NOTES
+
Additional build notes are available at https://wci.llnl.gov/codes/visit/1.11.1/BUILD_NOTES.  However, these describe a manual build of all the dependencies, which will be far more tedius and error-prone than using the build script, described below.
  
<pre>
 
export VISITDIR=/opt/visit/visit1.11.1
 
export VISITARCH=linux_centos5.2_gcc_4.1.2
 
</pre>
 
  
 
1. Create the directory in which you wish to install VisIt, and cd to this  
 
1. Create the directory in which you wish to install VisIt, and cd to this  
 
directory.  For example, on dartagnan, this dir is '''/opt/visit'''.
 
directory.  For example, on dartagnan, this dir is '''/opt/visit'''.
  
2. Download the VisIt 1.11.1 sources, unpack abd cd to the created dir:
+
2. Download the VisIt 1.11.1 sources:
 
<pre>
 
<pre>
 
wget https://wci.llnl.gov/codes/visit/1.11.1/visit1.11.1.tar.gz
 
wget https://wci.llnl.gov/codes/visit/1.11.1/visit1.11.1.tar.gz
tar -xzf visit1.11.1.tar.gz
 
cd visit1.11.1
 
 
</pre>
 
</pre>
  

Revision as of 17:09, 12 January 2009

Installing VisIt 1.11.1

These are notes from Rupert Gladstone, modified by Gethin Williams.

Additional build notes are available at https://wci.llnl.gov/codes/visit/1.11.1/BUILD_NOTES. However, these describe a manual build of all the dependencies, which will be far more tedius and error-prone than using the build script, described below.


1. Create the directory in which you wish to install VisIt, and cd to this directory. For example, on dartagnan, this dir is /opt/visit.

2. Download the VisIt 1.11.1 sources:

wget https://wci.llnl.gov/codes/visit/1.11.1/visit1.11.1.tar.gz

3. Download the build script and save as build_visit.

4. There is a list of required 3rd party software in the Setup section of build_visit. Download all the 'must have' tarballs and also HDF5, NetCDF, szip. These can be downloaded from the bottom of the downloads page:

wget https://wci.llnl.gov/codes/visit/3rd_party/qt-x11-free-3.3.8.tar.gz
wget https://wci.llnl.gov/codes/visit/3rd_party/Mesa-5.0-mangled.tar.gz
wget https://wci.llnl.gov/codes/visit/3rd_party/Python-2.5.tgz
wget https://wci.llnl.gov/codes/visit/3rd_party/vtk-5.0.0c.tar.gz
wget https://wci.llnl.gov/codes/visit/3rd_party/cmake-2.4.5.tar.gz
wget https://wci.llnl.gov/codes/visit/3rd_party/silo-4.6.2.tar.gz
wget https://wci.llnl.gov/codes/visit/3rd_party/hdf5-1.8.1.tar.gz
wget https://wci.llnl.gov/codes/visit/3rd_party/netcdf.tar.gz
wget https://wci.llnl.gov/codes/visit/3rd_party/szip-2.1.tar.gz

5. (optional) If you want to use an existing installation of the 3rd party software (note that that in some cases VisIt requires older versions) you can force this with this hack (uses Python as an example).

6. Run the build VisIt script.


Further notes:

I also had to download Imaging-1.1.6.tar.gz from here, prompted by a message in the build log:

wget http://effbot.org/downloads/Imaging-1.1.6.tar.gz

Note that this should give a valid install of VisIt, but VisIt will still not function properly when used remotely via ssh/exceed. This is because exceed does not support openGL. See also this Linux forum comment and the exceed website for more info. It would appear that exceed3d could be purchased to get round this problem.