source: issm/trunk-jpl/jenkins/linux64_ross_ad@ 24407

Last change on this file since 24407 was 24407, checked in by jdquinn, 5 years ago

CHG: Optimizing number of cores used in tests

  • Property svn:executable set to *
File size: 2.6 KB
Line 
1##-------------------------------#
2# 1: ISSM general configuration #
3#-------------------------------#
4
5#MATLAB path
6MATLAB_PATH="/usr/local/MATLAB/R2015a"
7
8#ISSM CONFIGURATION
9ISSM_CONFIG='\
10 --prefix=$ISSM_DIR \
11 --disable-static \
12 --without-kriging \
13 --without-kml \
14 --without-GiaIvins \
15 --without-Love \
16 --with-matlab-dir=$MATLAB_PATH \
17 --with-python-dir=/usr \
18 --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
19 --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \
20 --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
21 --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
22 --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
23 --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
24 --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
25 --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
26 --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
27 --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
28 --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \
29 --with-numthreads=4 \
30 --enable-development \
31 --enable-debugging \
32'
33
34# Test suites
35MATLAB_TEST=1
36PYTHON_TEST=1
37JAVASCRIPT_TEST=0
38EXAMPLES_TEST=0
39
40#-----------------------------------#
41# 3: External packages installation #
42#-----------------------------------#
43
44#List of external pakages to be installed and their installation scripts
45#
46# NOTE: The PETSc libraries are compiled but not used as they conflict with
47# ADOL-C: PETSc is really just being used as an installer for other
48# external packages.
49EXTERNALPACKAGES="
50 autotools install.sh
51 cmake install.sh
52 mpich install-3.2-linux64.sh
53 lapack install-3.8-linux.sh
54 petsc install-3.7-linux64.sh
55 triangle install-linux64.sh
56 gsl install-linux64.sh
57 adolc install.sh
58 shell2junit install.sh
59"
60
61#-----------------#
62# 4: test options #
63#-----------------#
64
65# Number of CPUs used in ISSM compilation
66#
67# NOTE: One is usually safer as some packages are very sensitive to parallel
68# compilation.
69#
70NUMCPUS_INSTALL=8
71
72# Number of CPUs used in the nightly runs
73NUMCPUS_RUN=2
74
75# Nightly run options
76#
77# See documentation in test/NightlyRun/runme.* for more information.
78#
79# NOTE:
80# - test3010 is skipped because it triggers GEMB module and a subsequent
81# failure on ampioff configuration (really, likely a segmentation fault)
82#
83MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019],'exclude',3010"
84PYTHON_NROPTIONS="--benchmark=adolc -i 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 --exclude=3010"
Note: See TracBrowser for help on using the repository browser.