[24333] | 1 | ##-------------------------------#
|
---|
[19675] | 2 | # 1: ISSM general configuration #
|
---|
| 3 | #-------------------------------#
|
---|
| 4 |
|
---|
[20338] | 5 | #MATLAB path
|
---|
| 6 | MATLAB_PATH="/usr/local/MATLAB/R2015a"
|
---|
| 7 |
|
---|
[23121] | 8 | #ISSM CONFIGURATION
|
---|
[24333] | 9 | ISSM_CONFIG='\
|
---|
| 10 | --prefix=$ISSM_DIR \
|
---|
| 11 | --disable-static \
|
---|
| 12 | --without-kriging \
|
---|
| 13 | --without-kml \
|
---|
| 14 | --without-GiaIvins \
|
---|
| 15 | --without-Love \
|
---|
| 16 | --with-matlab-dir=$MATLAB_PATH \
|
---|
| 17 | --with-python-dir=/usr \
|
---|
| 18 | --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
|
---|
| 19 | --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \
|
---|
| 20 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
| 21 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 22 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 23 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
|
---|
| 24 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 25 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 26 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
| 27 | --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \
|
---|
| 28 | --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \
|
---|
| 29 | --with-numthreads=4 \
|
---|
| 30 | --enable-development \
|
---|
| 31 | --enable-debugging \
|
---|
| 32 | '
|
---|
[19675] | 33 |
|
---|
[24403] | 34 | # Test suites
|
---|
[19675] | 35 | MATLAB_TEST=1
|
---|
[19968] | 36 | PYTHON_TEST=1
|
---|
[24333] | 37 | JAVASCRIPT_TEST=0
|
---|
| 38 | EXAMPLES_TEST=0
|
---|
[19675] | 39 |
|
---|
| 40 | #-----------------------------------#
|
---|
| 41 | # 3: External packages installation #
|
---|
| 42 | #-----------------------------------#
|
---|
| 43 |
|
---|
| 44 | #List of external pakages to be installed and their installation scripts
|
---|
[24232] | 45 | #
|
---|
| 46 | # NOTE: The PETSc libraries are compiled but not used as they conflict with
|
---|
| 47 | # ADOL-C: PETSc is really just being used as an installer for other
|
---|
| 48 | # external packages.
|
---|
[24333] | 49 | EXTERNALPACKAGES="
|
---|
| 50 | autotools install.sh
|
---|
| 51 | cmake install.sh
|
---|
| 52 | mpich install-3.2-linux64.sh
|
---|
| 53 | lapack install-3.8-linux.sh
|
---|
| 54 | petsc install-3.7-linux64.sh
|
---|
| 55 | triangle install-linux64.sh
|
---|
| 56 | gsl install-linux64.sh
|
---|
| 57 | adolc install.sh
|
---|
| 58 | shell2junit install.sh
|
---|
| 59 | "
|
---|
[19675] | 60 |
|
---|
[20402] | 61 | #-----------------#
|
---|
| 62 | # 4: test options #
|
---|
| 63 | #-----------------#
|
---|
[19675] | 64 |
|
---|
[24300] | 65 | # Number of CPUs used in ISSM compilation
|
---|
| 66 | #
|
---|
| 67 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 68 | # compilation.
|
---|
| 69 | #
|
---|
[24403] | 70 | NUMCPUS_INSTALL=8
|
---|
[19675] | 71 |
|
---|
[24300] | 72 | # Number of CPUs used in the nightly runs
|
---|
[24407] | 73 | NUMCPUS_RUN=2
|
---|
[19675] | 74 |
|
---|
[24300] | 75 | # Nightly run options
|
---|
| 76 | #
|
---|
| 77 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
| 78 | #
|
---|
| 79 | # NOTE:
|
---|
| 80 | # - test3010 is skipped because it triggers GEMB module and a subsequent
|
---|
| 81 | # failure on ampioff configuration (really, likely a segmentation fault)
|
---|
| 82 | #
|
---|
| 83 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019],'exclude',3010"
|
---|
| 84 | PYTHON_NROPTIONS="--benchmark=adolc -i 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 --exclude=3010"
|
---|