Visualization : VisIT

From Define Wiki
Jump to navigation Jump to search

Installation

VisIT provide the script to do all the compilation.

Download the latest script from : http://portal.nersc.gov/project/visit/releases/2.10.0/build_visit2_10_0

Script download most of dependency , If internet connection is not provides then the tar of the dependency has to be provided. Which will be identified by script. http://visitusers.org/index.php?title=Build_visit_overview for more information and flags.

wget http://portal.nersc.gov/project/visit/releases/2.10.0/build_visit2_10_0
chmod 764 build_visit2_10_0
module load gcc.5.2.0
build_visit2_10_0 --mesa --prefix /cm/shared/apps/visit/2.10
...


Following are the additional plugin that visit uses , Script is capable of downloading the components or if the specific version of plugin is required then its binary should be present.

--boxlib        Build Boxlib [no]
--ccmio         Build Star-CD support [no]
--cfitsio       Build CFITSIO [no]
--cgns          Build CGNS [no]
--cmake         Build CMake [built by default unless --no-thirdparty flag is used]
--console       Do not use dialog ('graphical') interface [!yes]
--debug         Enable debugging for this script [false]
--exodus        Build Exodus (requires NetCDF) [no]
--fastbit       Build FastBit [no]
--flags-debug   Add '-g' to C[XX]FLAGS [false]
--gdal          Build GDAL [no]
--group         Group name of installed libraries [unknown]
--h5part        Build H5Part [no]
--hdf4          Build HDF4 [no]
--hdf5          Build HDF5 [no]
-h              Display this help message. [false]
--help          Display this help message. [false]
--icet          Build Ice-T (parallel rendering lib) [no]
--itaps         Build ITAPS [no]
--java          Build with the Java client library [no]
--mesa          Build Mesa [built by default unless --no-thirdparty flag is used]
--mili          Build Mili [no]
                NOTE: not available for download from web
--netcdf        Build NetCDF [no]
--no-visit      Do not build VisIt, build 3rd party libraries only [yes]
--no-thirdparty Do not build required 3rd party libraries [on]
--no-hostconf   Do not create host.conf file. [on]
--parallel      Enable parallel build, display MPI prompt [no]
--print-vars    Display user settable environment variables [false]
--python        Build Python [built by default unless --no-thirdparty flag is used]
--python-module Build with the VisIt Python module [no]
--qt            Build Qt [built by default unless --no-thirdparty flag is used]
--silo          Build Silo support [no]
--slivr         Build with SLIVR shader support [no]
--stdout        Write build log to stdout [build_visit_log]
--szip          Build with SZIP [no]
--tcmalloc      Build tcmalloc from Google's perftools [no]
                NOTE: not available for download from web
--visus         Build ViSUS (experimental!) [no]
--vtk           Build VTK [built by default unless --no-thirdparty flag is used]
--dbio-only     Disables EVERYTHING but I/O. [no]



PARALLEL Build

Parallel visit compile is simple , add the parallel flag as option in visit script.

build_visit2_10_0 --mesa --parallel --prefix /cm/shared/apps/visit/2.10

Custom mpi compilation could be mentioned in <VisIt>/src/config-site/<hostname>.cmake and it contains the variables needed to tell visit build system where it can find libraries needed to build VisIt.

     Tell the build system where to find the include paths for your MPI header files: 

  SET(VISIT_MPI_CXX_FLAGS -I/usr/lib/mpi/include)

    Tell the build system where to find your MPI libraries: 

  SET(VISIT_MPI_LD_FLAGS -L/usr/lib/mpi/mpi_gnu/lib)

    Or, if your system gets MPI libraries from multiple locations: 

  SET(VISIT_MPI_LD_FLAGS "-L/usr/lib/mpi/mpi_gnu/lib -L/some/other/path/mpi")

    Finally, tell the build system which libraries use: 

  SET(VISIT_MPI_LIBS mpi)

Installation