[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 \
|
---|
[19675] | 16 | --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
|
---|
| 17 | --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \
|
---|
[20338] | 18 | --with-matlab-dir=$MATLAB_PATH \
|
---|
[19974] | 19 | --with-python-dir=/usr\
|
---|
| 20 | --with-python-numpy-dir=/usr/lib/python2.7/dist-packages/numpy\
|
---|
[21095] | 21 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
| 22 | --enable-development \
|
---|
| 23 | --enable-debugging '
|
---|
[19675] | 24 |
|
---|
| 25 | #PYTHON and MATLAB testing
|
---|
| 26 | MATLAB_TEST=1
|
---|
[19968] | 27 | PYTHON_TEST=1
|
---|
[19675] | 28 |
|
---|
| 29 | #-----------------------------------#
|
---|
| 30 | # 3: External packages installation #
|
---|
| 31 | #-----------------------------------#
|
---|
| 32 |
|
---|
| 33 | #List of external pakages to be installed and their installation scripts
|
---|
| 34 | EXTERNALPACKAGES="autotools install.sh
|
---|
| 35 | mpich install-3.0-linux64.sh
|
---|
[20554] | 36 | petsc install-3.7-linux64.sh
|
---|
[19675] | 37 | metis install-5.0.1-linux64.sh
|
---|
| 38 | triangle install-linux64.sh
|
---|
| 39 | gsl install-linux64.sh
|
---|
| 40 | adolc install.sh
|
---|
| 41 | shell2junit install.sh"
|
---|
| 42 |
|
---|
[20402] | 43 | #-----------------#
|
---|
| 44 | # 4: test options #
|
---|
| 45 | #-----------------#
|
---|
[19675] | 46 |
|
---|
| 47 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
| 48 | #safer as some packages are very sensitive to parallel compilation)
|
---|
[20052] | 49 | NUMCPUS_INSTALL=5
|
---|
[19675] | 50 |
|
---|
| 51 | #number of cpus used in the nightly runs.
|
---|
[20052] | 52 | NUMCPUS_RUN=4
|
---|
[19675] | 53 |
|
---|
| 54 | #Nightly run options. The matlab routine runme.m will be called
|
---|
| 55 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
| 56 | #by Matlab and runme.m
|
---|
| 57 | #ex: "'id',[101 102 103]"
|
---|
[20314] | 58 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019]"
|
---|
[20989] | 59 | PYTHON_NROPTIONS="--benchmark=adolc -i 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019"
|
---|