wiki:VisIt/build_x86

Version 1 (modified by Jens Henrik Goebbert, 9 years ago) ( diff )

--

How to build VisIt with support for in-situ visualization

Building a parallel version of VisIt on your system allows you to configure VisIt that way, that it uses your MPI library and compiler to avoiding incompatibilities.

If you do not need any special configuration use the prebuild packages provided here (link)!

QUICK HOWTO

1) download VisIt build script

2) build 3rd party libraries

We build the 3rd party libraries in a separate step first (with "--no-visit").

a) with GCC (module load gcc):

Error: Failed to load processor ShellExample
No macro or processor named 'ShellExample' found

b) with Intel Compiler (module load intel):

Error: Failed to load processor ShellExample
No macro or processor named 'ShellExample' found

This will ...

  • automatic: downloading packages ...
  • automatic: configure,build packages ...
    • follow output with "tail -f build_visit2.x.x_log"
  • each of the external packages get compiled and installed into a directory prefix of ./visit/PACKAGE/VERSION/ARCH/
    • the corresponding third-library-cmake-settings are created in ./hostname.cmake

3) download VisIt

  • extract visitx.y.z.tar.gz to previous build directory
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found

4) configure VisIt

  • copy third-library-cmake-settings to visitx.y.z
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found
  • set default compiler to GCC (module switch …)
  • change director to visitx.y.z/src
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found
  • run VisIt's-'ccmake .' and generate Makefiles:
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found

5) compile VisIt

  • build will happen in visitx.y.z/src only
    (=> remove and re-extract directory visitx.y.z is a complete clean)
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found

6) install VisIt

  • create a tar.gz file
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found
  • install VisIt from that tar.gz package
    (all symlinks in libraries will be reset to the paths of the machine !!)
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found
    • eg. visit2.8.1/src/svn_bin/visit-install 2.8.1 linux-x86_64 /home/vrsw/VisIt/2.8.1/gcc44_ompi18

7) test VisIt

  • add visit path to $PATH
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found
  • add VisIt librarys to your path before you start VisIt - especially a wrong Qt leads to errors difficult to track
    (check with 'ldd' on VisIt's gui-binary)
    Error: Failed to load processor ShellExample
    No macro or processor named 'ShellExample' found


IMPORTANT COMMENTS

  • VisIt should be compiled with GCC (only try Intel Compiler Suite if you really need it, in general it does not work right out of the box (more infos).
    => make sure 'mpicc' 'mpic++' etc. use GCC before you start the build process
  • IceT: may fail if "mpicc --showme:compile" does not return the path to mpi.h as first entry. Check if this is the case.
    If not you might have to set the variables PAR_COMPILER and PAR_INCLUDE before (seems to be fixed in current VisIt version):
    • export PAR_COMPILER=mpicc
    • export PAR_INCLUDE=<'mpicc --showme:compile' with path to mpi.h first>

any feedback welcomed - h.zilken@…, goebbert@…

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.