[20338] | 1 |
|
---|
[19471] | 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 | --without-kriging \
|
---|
| 13 | --without-kml \
|
---|
| 14 | --without-Gia \
|
---|
| 15 | --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
|
---|
| 16 | --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \
|
---|
| 17 | --with-ampi-dir=$ISSM_DIR/externalpackages/adjoinablempi/install \
|
---|
[20338] | 18 | --with-matlab-dir=$MATLAB_PATH \
|
---|
[19471] | 19 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 20 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
[21759] | 21 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi" \
|
---|
[19471] | 22 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
| 23 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 24 | --with-numthreads=4 \
|
---|
| 25 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
| 26 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
[19473] | 27 | --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9/ -lgfortran" \
|
---|
[19474] | 28 | --enable-development '
|
---|
[19473] | 29 |
|
---|
[19471] | 30 | #PYTHON and MATLAB testing
|
---|
| 31 | MATLAB_TEST=1
|
---|
| 32 | PYTHON_TEST=0
|
---|
| 33 |
|
---|
| 34 | #-----------------------------------#
|
---|
| 35 | # 3: External packages installation #
|
---|
| 36 | #-----------------------------------#
|
---|
| 37 |
|
---|
| 38 | #List of external pakages to be installed and their installation scripts
|
---|
[22892] | 39 | EXTERNALPACKAGES="autotools install.sh
|
---|
| 40 | cmake install.sh
|
---|
[21759] | 41 | mpich install-3.2-linux64.sh
|
---|
| 42 | petsc install-3.7-linux64.sh
|
---|
[19471] | 43 | metis install-5.0.1-linux64.sh
|
---|
| 44 | triangle install-linux64.sh
|
---|
| 45 | gsl install-linux64.sh
|
---|
| 46 | adjoinablempi install.sh
|
---|
| 47 | adolc install-withampi.sh
|
---|
| 48 | shell2junit install.sh"
|
---|
| 49 |
|
---|
[20402] | 50 | #-----------------#
|
---|
| 51 | # 4: test options #
|
---|
| 52 | #-----------------#
|
---|
[19471] | 53 |
|
---|
| 54 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
| 55 | #safer as some packages are very sensitive to parallel compilation)
|
---|
[19516] | 56 | NUMCPUS_INSTALL=2
|
---|
[19471] | 57 |
|
---|
| 58 | #number of cpus used in the nightly runs.
|
---|
[19492] | 59 | NUMCPUS_RUN=1
|
---|
[19471] | 60 |
|
---|
| 61 | #Nightly run options. The matlab routine runme.m will be called
|
---|
| 62 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
| 63 | #by Matlab and runme.m
|
---|
| 64 | #ex: "'id',[101 102 103]"
|
---|
| 65 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 3010, 3101, 3102, 3103, 3104, 3105, 3106, 3107, 3108, 3109, 3119]"
|
---|
| 66 | PYTHON_NROPTIONS=""
|
---|