[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 \
|
---|
| 15 | --without-Gia \
|
---|
| 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\
|
---|
[20340] | 21 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install '
|
---|
[19675] | 22 |
|
---|
| 23 | #PYTHON and MATLAB testing
|
---|
| 24 | MATLAB_TEST=1
|
---|
[19968] | 25 | PYTHON_TEST=1
|
---|
[19675] | 26 |
|
---|
| 27 | #-----------------------------------#
|
---|
| 28 | # 3: External packages installation #
|
---|
| 29 | #-----------------------------------#
|
---|
| 30 |
|
---|
| 31 | #List of external pakages to be installed and their installation scripts
|
---|
| 32 | EXTERNALPACKAGES="autotools install.sh
|
---|
| 33 | mpich install-3.0-linux64.sh
|
---|
[20554] | 34 | petsc install-3.7-linux64.sh
|
---|
[19675] | 35 | metis install-5.0.1-linux64.sh
|
---|
| 36 | triangle install-linux64.sh
|
---|
| 37 | gsl install-linux64.sh
|
---|
| 38 | adolc install.sh
|
---|
| 39 | shell2junit install.sh"
|
---|
| 40 |
|
---|
[20402] | 41 | #-----------------#
|
---|
| 42 | # 4: test options #
|
---|
| 43 | #-----------------#
|
---|
[19675] | 44 |
|
---|
| 45 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
| 46 | #safer as some packages are very sensitive to parallel compilation)
|
---|
[20052] | 47 | NUMCPUS_INSTALL=5
|
---|
[19675] | 48 |
|
---|
| 49 | #number of cpus used in the nightly runs.
|
---|
[20052] | 50 | NUMCPUS_RUN=4
|
---|
[19675] | 51 |
|
---|
| 52 | #Nightly run options. The matlab routine runme.m will be called
|
---|
| 53 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
| 54 | #by Matlab and runme.m
|
---|
| 55 | #ex: "'id',[101 102 103]"
|
---|
[20314] | 56 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019]"
|
---|
| 57 | PYTHON_NROPTIONS="--benchmark=adolc"
|
---|