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