Difference between revisions of "VisIt"

From SourceWiki
Jump to navigation Jump to search
 
 
(14 intermediate revisions by 2 users 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.  I would need to re-build visit to ensure that these notes are correct.
+
These are notes from Rupert Gladstone, modified by Gethin Williams.
  
Download the [https://wci.llnl.gov/codes/visit/1.10.0/build_visit build VisIt] script.
+
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.
  
Download the VisIt sources from the [https://wci.llnl.gov/codes/visit/source.html downloads] page.
+
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.
  
Under Setup in the [https://wci.llnl.gov/codes/visit/1.10.0/build_visit build VisIt] script
 
is a list of required 3rd party software.  Download all the 'must have' tarballs and
 
HDF5, NetCDF, szip.  These can be downloaded from the bottom of the
 
[https://wci.llnl.gov/codes/visit/source.html VisIt downloads]
 
page.
 
  
I also had to download Imaging-1.1.6.tar.gz from
+
1. Create the directory in which you wish to install VisIt, and cd to this
[http://effbot.org/downloads/ here], prompted by a message in the build log.
+
directory. For example, on dartagnan, this dir is '''/opt/visit'''.
  
 +
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>
  
If you want to use an existing installation of the 3rd party software
+
3. Download the [https://wci.llnl.gov/codes/visit/1.11.1/build_visit build script] and save as '''build_visit'''.
(note that that in some cases VisIt requires older versions) you can
 
force this with the following [[VisIt:compile_hack hack]] (uses Python as an example):
 
  
From the directory you run build_visit from, run the
+
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:
command:
 
  
  mkdir -p visit/python/2.5/linux-x86_64_gcc-4.1.2 (last bit is architecture/compiler dependant)
+
<pre>
 +
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
 +
</pre>
  
This will cause build_visit to think python is already installed,
+
5. (optional) If you want to use an existing installation of the 3rd party software
skipping the compile/install of it.  However, after build_visit
+
(note that that in some cases VisIt requires older versions) you can
completes, you'll have to change your `host`.conf.  Simply change the
+
force this with [[VisIt:compile_hack | this hack]] (uses Python as an example).
  
  PYDIR=/some/long/directory/name
+
6. Run the [https://wci.llnl.gov/codes/visit/1.10.0/build_visit build VisIt] script.
  
line to:
 
  
  PYDIR=/usr
+
Further notes:
 
 
This will cause VisIt to use your system's python.
 
 
 
 
 
Run the [https://wci.llnl.gov/codes/visit/1.10.0/build_visit build VisIt] script.
 
  
 +
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:
  
 +
<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 functiona properly  
+
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  
 
when used remotely via ssh/exceed.  This is because exceed does not support openGL.  See also this  
 
[http://www.linuxforums.org/forum/linux-desktop-x-windows/32497-glx-extension-missing.html Linux forum comment]
 
[http://www.linuxforums.org/forum/linux-desktop-x-windows/32497-glx-extension-missing.html Linux forum comment]

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.