forked from trilinos/Trilinos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcheckin-test-rodimus.sh
executable file
·43 lines (33 loc) · 1.2 KB
/
checkin-test-rodimus.sh
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
#!/bin/bash
#
# This is the script that I used to checkin to Trilinos on my scico-lan
# machine. You can copy this script and adapt it to your own machine.
#
#
# Allow command-line arguments to pass through to cmake configure!
#
EXTRA_ARGS=$@
#
# Set build options
#
echo "
-DTPL_BLAS_LIBRARIES:STRING=/usr/lib64/libblas.so.3
-DTPL_LAPACK_LIBRARIES:STRING=/usr/lib64/liblapack.so.3
" > COMMON.config
echo "
-DMPI_BASE_DIR:PATH=/home/dridzal/software/openmpi-1.4.3/install
" > MPI_DEBUG.config
echo "
-DCMAKE_CXX_COMPILER:FILEPATH=/home/dridzal/software/gcc/install_gcc-4.5.1/bin/g++
-DCMAKE_C_COMPILER:FILEPATH=/home/dridzal/software/gcc/install_gcc-4.5.1/bin/gcc
-DCMAKE_Fortran_COMPILER:FILEPATH=/home/dridzal/software/gcc/install_gcc-4.5.1/bin/gfortran
" > SERIAL_RELEASE.config
#
# Run the standard checkin testing script with my specializations
#
export LD_LIBRARY_PATH=/home/dridzal/software/openmpi-1.4.3/gcc-4.5.1/lib:/home/dridzal/software/gcc/install_gcc-4.5.1/lib64/:/home/dridzal/software/gcc/install_mpc/lib:/home/dridzal/software/gcc/install_mpfr/lib:/home/dridzal/software/gcc/install_gmp/lib:
../../checkin-test.py \
--make-options=-j12 \
--ctest-options=-j12 \
--ctest-timeout=180 \
$EXTRA_ARGS