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 | --with-matlab-dir=$MATLAB_PATH \
|
---|
13 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
14 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
15 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpich" \
|
---|
16 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
17 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
18 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
19 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
20 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
21 | --with-python-dir=/usr\
|
---|
22 | --with-python-numpy-dir=/usr/lib/python2.7/dist-packages/numpy\
|
---|
23 | --with-chaco-dir="$ISSM_DIR/externalpackages/chaco/install" \
|
---|
24 | --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
|
---|
25 | --with-boost-dir=$ISSM_DIR/externalpackages/boost/install/ \
|
---|
26 | --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9/ -lgfortran" \
|
---|
27 | --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
|
---|
28 | --with-numthreads=4 \
|
---|
29 | --enable-development \
|
---|
30 | --enable-debugging '
|
---|
31 |
|
---|
32 | #PYTHON and MATLAB testing
|
---|
33 | #MATLAB_TEST=1
|
---|
34 | #PYTHON_TEST=1
|
---|
35 |
|
---|
36 | #-----------------------------------#
|
---|
37 | # 3: External packages installation #
|
---|
38 | #-----------------------------------#
|
---|
39 |
|
---|
40 | #List of external pakages to be installed and their installation scripts
|
---|
41 | EXTERNALPACKAGES="autotools install.sh
|
---|
42 | mpich install-3.0-linux64.sh
|
---|
43 | petsc install-3.6-linux64.sh
|
---|
44 | triangle install-linux64.sh
|
---|
45 | boost install.sh
|
---|
46 | dakota install-6.2-linux64.sh
|
---|
47 | chaco install.sh
|
---|
48 | m1qn3 install.sh
|
---|
49 | shell2junit install.sh"
|
---|
50 |
|
---|
51 | #-----------------#
|
---|
52 | # 4: test options #
|
---|
53 | #-----------------#
|
---|
54 |
|
---|
55 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
56 | #safer as some packages are very sensitive to parallel compilation)
|
---|
57 | NUMCPUS_INSTALL=6
|
---|
58 |
|
---|
59 | #number of cpus used in the nightly runs.
|
---|
60 | NUMCPUS_RUN=3
|
---|
61 |
|
---|
62 | #Nightly run options. The matlab routine runme.m will be called
|
---|
63 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
64 | #by Matlab and runme.m
|
---|
65 | #ex: "'id',[101 102 103]"
|
---|
66 | PYTHON_NROPTIONS="--exclude 119 243 514 701 702 435"
|
---|
67 | MATLAB_NROPTIONS="'exclude',[119,243,514,701,702,435]"
|
---|