1 | #
|
---|
2 | #-------------------------------#
|
---|
3 | # 1: ISSM general configuration #
|
---|
4 | #-------------------------------#
|
---|
5 |
|
---|
6 | #MATLAB path
|
---|
7 | MATLAB_PATH="/usr/local/MATLAB/R2015a"
|
---|
8 |
|
---|
9 | #ISSM CONFIGURATION
|
---|
10 | ISSM_CONFIG='--prefix=$ISSM_DIR\
|
---|
11 | --disable-static \
|
---|
12 | --without-kriging \
|
---|
13 | --without-kml \
|
---|
14 | --without-GiaIvins \
|
---|
15 | --without-Love \
|
---|
16 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
17 | --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
|
---|
18 | --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \
|
---|
19 | --with-matlab-dir=$MATLAB_PATH \
|
---|
20 | --with-python-dir=/usr \
|
---|
21 | --with-python-numpy-dir=/var/lib/jenkins/.local/lib/python2.7/site-packages/numpy \
|
---|
22 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
23 | --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9/ -lgfortran" \
|
---|
24 | --enable-development \
|
---|
25 | --enable-debugging '
|
---|
26 |
|
---|
27 | #PYTHON and MATLAB testing
|
---|
28 | MATLAB_TEST=1
|
---|
29 | PYTHON_TEST=1
|
---|
30 |
|
---|
31 | #-----------------------------------#
|
---|
32 | # 3: External packages installation #
|
---|
33 | #-----------------------------------#
|
---|
34 |
|
---|
35 | #List of external pakages to be installed and their installation scripts
|
---|
36 | EXTERNALPACKAGES="autotools install.sh
|
---|
37 | cmake install.sh
|
---|
38 | mpich install-3.2-linux64.sh
|
---|
39 | petsc install-3.7-linux64.sh
|
---|
40 | triangle install-linux64.sh
|
---|
41 | gsl install-linux64.sh
|
---|
42 | adolc install.sh
|
---|
43 | shell2junit install.sh"
|
---|
44 |
|
---|
45 | #-----------------#
|
---|
46 | # 4: test options #
|
---|
47 | #-----------------#
|
---|
48 |
|
---|
49 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
50 | #safer as some packages are very sensitive to parallel compilation)
|
---|
51 | NUMCPUS_INSTALL=5
|
---|
52 |
|
---|
53 | #number of cpus used in the nightly runs.
|
---|
54 | NUMCPUS_RUN=4
|
---|
55 |
|
---|
56 | #Nightly run options. The matlab routine runme.m will be called
|
---|
57 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
58 | #by Matlab and runme.m
|
---|
59 | #ex: "'id',[101 102 103]"
|
---|
60 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019]"
|
---|
61 | PYTHON_NROPTIONS="--benchmark=adolc -i 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019"
|
---|