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