| 1 | #--------------------#
|
|---|
| 2 | # ISSM Configuration #
|
|---|
| 3 | #--------------------#
|
|---|
| 4 |
|
|---|
| 5 | MATLAB_PATH="/usr/local/MATLAB/R2019b"
|
|---|
| 6 |
|
|---|
| 7 | ISSM_CONFIG='\
|
|---|
| 8 | --prefix=${ISSM_DIR} \
|
|---|
| 9 | --disable-static \
|
|---|
| 10 | --enable-development \
|
|---|
| 11 | --enable-debugging \
|
|---|
| 12 | --with-numthreads=4 \
|
|---|
| 13 | --with-matlab-dir=${MATLAB_PATH} \
|
|---|
| 14 | --with-python-dir=/usr \
|
|---|
| 15 | --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
|
|---|
| 16 | --with-fortran-lib="-L/usr/lib/x86_64-linux-gnu -lgfortran" \
|
|---|
| 17 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
|---|
| 18 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
|---|
| 19 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
|---|
| 20 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
|---|
| 21 | --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
|---|
| 22 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
|---|
| 23 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
|---|
| 24 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
|---|
| 25 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
|---|
| 26 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
|---|
| 27 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
|---|
| 28 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
|---|
| 29 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
|---|
| 30 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
|---|
| 31 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
|---|
| 32 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
|---|
| 33 | '
|
|---|
| 34 |
|
|---|
| 35 | #-------------------#
|
|---|
| 36 | # External Packages #
|
|---|
| 37 | #-------------------#
|
|---|
| 38 |
|
|---|
| 39 | EXTERNALPACKAGES="
|
|---|
| 40 | autotools install-linux.sh
|
|---|
| 41 | cmake install.sh
|
|---|
| 42 | petsc install-3.12-linux.sh
|
|---|
| 43 | gsl install.sh
|
|---|
| 44 | boost install-1.7-linux.sh
|
|---|
| 45 | dakota install-6.2-linux.sh
|
|---|
| 46 | curl install-7-linux.sh
|
|---|
| 47 | netcdf install-4.7-parallel.sh
|
|---|
| 48 | proj install-6.2.sh
|
|---|
| 49 | gdal install-3-python.sh
|
|---|
| 50 | gshhg install.sh
|
|---|
| 51 | gmt install-6-linux.sh
|
|---|
| 52 | gmsh install-4.sh
|
|---|
| 53 | triangle install-linux.sh
|
|---|
| 54 | chaco install.sh
|
|---|
| 55 | m1qn3 install.sh
|
|---|
| 56 | semic install.sh
|
|---|
| 57 | shell2junit install.sh
|
|---|
| 58 | "
|
|---|
| 59 |
|
|---|
| 60 | #---------#
|
|---|
| 61 | # Testing #
|
|---|
| 62 | #---------#
|
|---|
| 63 |
|
|---|
| 64 | # Test suites
|
|---|
| 65 | MATLAB_TEST=1
|
|---|
| 66 | PYTHON_TEST=1
|
|---|
| 67 | JAVASCRIPT_TEST=0
|
|---|
| 68 | EXAMPLES_TEST=0
|
|---|
| 69 |
|
|---|
| 70 | # Number of CPUs used in ISSM compilation
|
|---|
| 71 | #
|
|---|
| 72 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
|---|
| 73 | # compilation.
|
|---|
| 74 | #
|
|---|
| 75 | NUMCPUS_INSTALL=8
|
|---|
| 76 |
|
|---|
| 77 | # Number of cpus used in the nightly runs
|
|---|
| 78 | #
|
|---|
| 79 | # NOTE: Possible problem of access to all_vertices.txt if more than 1.
|
|---|
| 80 | #
|
|---|
| 81 | NUMCPUS_RUN=1
|
|---|
| 82 |
|
|---|
| 83 | # Nightly run options
|
|---|
| 84 | #
|
|---|
| 85 | # See documentation in test/NightlyRun/runme.* for more information.
|
|---|
| 86 | #
|
|---|
| 87 | # NOTE:
|
|---|
| 88 | # - Excluding 2006 until it can be debugged (PETSc crash)
|
|---|
| 89 | # - Tests 2002, 2003, 2005, 2008, 2010, 2011, 2021, 2090, and 2101, are
|
|---|
| 90 | # excluded as Gmsh produces different meshes on macOS and Linux for (archives
|
|---|
| 91 | # are generated on macOS).
|
|---|
| 92 | #
|
|---|
| 93 | MATLAB_NROPTIONS="'benchmark','slc','exclude',[2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425]"
|
|---|
| 94 | PYTHON_NROPTIONS="--benchmark slc --exclude 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425"
|
|---|