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