File: linux-fissile4-gcc-4.6.1-mpi-debug-static-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 (62 lines) | stat: -rwxr-xr-x 2,193 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
#
# Scrpt used by Ross Bartlett for MPI_DEBUG build with GCC 4.5.1 on CASL
# fissile 4 machines.
#
# This is my primary development script that I used to drive functionality.
# Look at this script whenever you want to see what I am doing to drive my
# development.
#
# Pass in extra arguments on the command-line to this script with:
#
#   -DTrilinos_ENABLE_LIME=ON \
#   -DTrilinos_EXTRA_REPOSITORIES=LIMEExt \
#
# NOTE: To set extra repos pass in:
#    -DTrilinos_EXTRA_REPOSITORIES=LIMEExt,PSSDriversExt,...
#
# NOTE: Copy this file for your own use if you want to be able to
# hard-code Trilinos_EXTRA_REPOSITORIES or change anything else.
#
# NOTE: The default source location is for the peer directory is:
#
#   BUILDS/GCC_4.5.1/<SOME_BUILD_NAME>
#
# which you can change in your copy.
#
# NOTE: Other options you might want to pass in:
#  -D Trilinos_ENABLE_COVERAGE_TESTING:BOOL=ON \
#

EXTRA_ARGS=$@

TRILINOS_DIR=../../../Trilinos  # Change for the location of your Trilinos source

TRILINOS_DIR_ABS=$(readlink -f $TRILINOS_DIR)
echo "TRILINOS_DIR_ABS = $TRILINOS_DIR_ABS"

DRIVERS_BASE_DIR=$TRILINOS_DIR_ABS/cmake/ctest/drivers/pu241

cmake \
-D Trilinos_CONFIGURE_OPTIONS_FILE:FILEPATH="$DRIVERS_BASE_DIR/gcc-4.6.1-mpi-debug-ss-options.cmake,$DRIVERS_BASE_DIR/trilinos-tpls-gcc.4.6.1.cmake,$DRIVERS_BASE_DIR/SubmitToTrilinos.cmake" \
-D CTEST_PARALLEL_LEVEL:STRING="8" \
-D CMAKE_BUILD_TYPE:STRING=DEBUG \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D TPL_ENABLE_BinUtils:BOOL=ON \
-D Teuchos_ENABLE_COMPLEX=OFF \
-D Tpetra_INST_COMPLEX_DOUBLE=OFF \
-D Tpetra_INST_COMPLEX_FLOAT=OFF \
-D Tpetra_INST_FLOAT=OFF \
-D Teuchos_ENABLE_FLOAT=OFF \
-D Trilinos_ENABLE_TESTS:BOOL=ON \
-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \
-D Trilinos_ENABLE_CONFIGURE_TIMING:BOOL=ON \
-D Teuchos_ENABLE_DEFAULT_STACKTRACE:BOOL=ON \
-D DART_TESTING_TIMEOUT:STRING=180.0 \
-D CTEST_BUILD_FLAGS:STRING="-j8" \
-D Trilinos_EXCLUDE_PACKAGES="CTrilinos;ForTrilinos;PyTrilinos;Didasko;Mesquite;Phdmesh;Pliris;Claps" \
$EXTRA_ARGS \
${TRILINOS_DIR_ABS}

# Above, I am using the core build options for CASL development but I am doing
# a true debug, with explicit instantiation, stack tracing, etc.