Difference between revisions of "VisIt"

From SourceWiki
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Installing [https://wci.llnl.gov/codes/visit/home.html VisIt] 1.10.0==
+
==Installing [https://wci.llnl.gov/codes/visit/home.html VisIt] 1.11.1==
 +
 
 +
These are notes from Rupert Gladstone, modified by Gethin Williams.
 +
 
 +
Note that (like ChomboVis) VisIt is not at all friendly over a remote connection (such as SSH with Exceed, for example).  These notes are for installing VisIt directly on your Linux machine.
 +
 
 +
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.
  
These are notes from Rupert Gladstone.  I would need to re-build visit to ensure that these notes are correct.
 
  
 
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.
+
directory.  For example, on dartagnan, this dir is '''/opt/visit'''.
  
2. Download the [https://wci.llnl.gov/codes/visit/1.10.0/build_visit build VisIt] script.
+
2. Download the VisIt 1.11.1 sources:
 +
<pre>
 +
wget https://wci.llnl.gov/codes/visit/1.11.1/visit1.11.1.tar.gz
 +
</pre>
  
3. Download the VisIt 1.10.0 sources from the [https://wci.llnl.gov/codes/visit/source.html downloads] page.
+
3. Download the [https://wci.llnl.gov/codes/visit/1.11.1/build_visit build script] and save as '''build_visit'''.
  
4. Under Setup in the [https://wci.llnl.gov/codes/visit/1.10.0/build_visit build VisIt] script
+
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 [https://wci.llnl.gov/codes/visit/source.html downloads] page:
is a list of required 3rd party software.  Download all the 'must have' tarballs and also  
+
 
HDF5, NetCDF, szip.  These can be downloaded from the bottom of the  
+
<pre>
[https://wci.llnl.gov/codes/visit/source.html downloads]  
+
wget https://wci.llnl.gov/codes/visit/3rd_party/qt-x11-free-3.3.8.tar.gz
page.
+
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
 +
</pre>
  
 
5. (optional) If you want to use an existing installation of the 3rd party software  
 
5. (optional) If you want to use an existing installation of the 3rd party software  
Line 26: Line 42:
  
 
I also had to download Imaging-1.1.6.tar.gz from  
 
I also had to download Imaging-1.1.6.tar.gz from  
[http://effbot.org/downloads/ here], prompted by a message in the build log.
+
[http://effbot.org/downloads/ here], prompted by a message in the build log:
 +
 
 +
<pre>
 +
wget http://effbot.org/downloads/Imaging-1.1.6.tar.gz
 +
</pre>
  
 
Note that this should give a valid install of VisIt, but VisIt will still not function properly  
 
Note that this should give a valid install of VisIt, but VisIt will still not function properly  

Latest revision as of 17:24, 12 January 2009

Installing VisIt 1.11.1

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

Note that (like ChomboVis) VisIt is not at all friendly over a remote connection (such as SSH with Exceed, for example). These notes are for installing VisIt directly on your Linux machine.

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.