File: linux-brain-gcc-4.5.1-rpath-mpi-debug-cmake

package info (click to toggle)
trilinos 16.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 993,992 kB
  • sloc: cpp: 3,764,859; ansic: 425,011; fortran: 160,684; python: 101,476; xml: 74,329; sh: 37,044; makefile: 22,641; perl: 7,525; f90: 6,424; csh: 5,285; objc: 2,620; lex: 1,646; lisp: 810; yacc: 603; javascript: 552; awk: 364; ml: 281; php: 145
file content (24 lines) | stat: -rwxr-xr-x 865 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
EXTRA_ARGS=$@

# This is the script I used to configure Trilinos to use GCC and OpenMPI
# installed with the install-gcc.py and install-openmpi.py scripts.  As you
# can see I don't need to set LD_LIBRARY_PATH to get this to work by hard
# coding the rpath shown below.

GCC_INSTALL_BASE=/usr/local/trilinos-toolset
MPI_BASE_DIR=$GCC_INSTALL_BASE

cmake \
-D CMAKE_BUILD_TYPE:STRING=DEBUG \
-D Trilinos_EXTRA_LINK_FLAGS:STRING="-Wl,-rpath,$GCC_INSTALL_BASE/lib64" \
-D TPL_ENABLE_MPI:BOOL=ON \
  -D MPI_BASE_DIR:PATH=$MPI_BASE_DIR \
-D TPL_ENABLE_Boost:BOOL=ON \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
-D CMAKE_INSTALL_PREFIX:PATH=$HOME/PROJECTS/install/gcc-4.5.1/trilinos/mpi/dbg \
-D DART_TESTING_TIMEOUT:STRING=180.0 \
$EXTRA_ARGS \
../../../Trilinos

#-D Trilinos_EXTRA_REPOSITORIES:STRING=preCopyrightTrilinos \