- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

CRAY XC40 Graphic Environment

From HLRS Platforms
Jump to navigationJump to search

Building Paraview

To build ParaView on hww machines first of all download the source package of the version to be build from http://www.paraview.org/download and extract it to your home directory.

The second step would be to *create an empty build directory outside the source directory* since an out of source build is the recomended way to compile ParaView.

To build ParaView certain recent dependencies have to be satisfied. For an OpenGL build these are:

  • Autotools
  • Cmake
  • Qt 4

If you want to build a ParaView server suitable for the Hornet compute nodes als recent versions of

  • LLVM with CLang
  • libclc and
  • Mesa

have to be available.

All these dependencies are installed on Hornet. Currently the following versions are available:

  • m4-1.4.17
  • autoconf-2.69
  • automake-1.14
  • libtool-2.4.2
  • pkg-config-0.28
  • llvm-3.4.2
  • libclc-0.1.5
  • Mesa-10.2.2
  • Qt-4.8.6
  • Cmake-3.0.2

To modify your environment in a way that these dependencies are usable simply source the following bash-script.

  • setenv-pv.sh*

<dev>

  1. !/bin/bash
  2. Setup modules #######################################

module load tools/autotools module load tools/cmake module unload PrgEnv-cray module load PrgEnv-gnu module swap gcc/4.9.1 gcc/4.8.1

  1. LLVM ###############################################

export LD_LIBRARY_PATH=/sw/hornet/hlrs/tools/paraview/4.1.0/aux/llvm/lib:$LD_LIBRARY_PATH export PATH=/sw/hornet/hlrs/tools/paraview/4.1.0/aux/llvm/bin:$PATH

  1. MESA ###############################################

export LD_LIBRARY_PATH=/sw/hornet/hlrs/tools/paraview/4.1.0/aux/mesa/lib:$LD_LIBRARY_PATH

  1. QT #################################################

export LD_LIBRARY_PATH=/sw/hornet/hlrs/tools/paraview/4.1.0/aux/qt/lib:$LD_LIBRARY_PATH export PATH=/sw/hornet/hlrs/tools/paraview/4.1.0/aux/qt/bin:$PATH

</dev>

This means copying the statements above to a file named |setenv-pv.sh| and executing

<dev> source setenv-pv.sh </dev>

will make your environment ready to build ParaView.