[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 \
|
---|
| 21 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 22 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24919] | 23 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24593] | 24 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[25690] | 25 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
| 26 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
| 27 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
[24593] | 28 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
[25700] | 29 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
| 30 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
| 31 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
[24412] | 32 | '
|
---|
| 33 |
|
---|
[24593] | 34 | #-------------------#
|
---|
| 35 | # External Packages #
|
---|
| 36 | #-------------------#
|
---|
[24412] | 37 |
|
---|
| 38 | EXTERNALPACKAGES="
|
---|
[25125] | 39 | autotools install-debian-linux.sh
|
---|
| 40 | cmake install.sh
|
---|
[25765] | 41 | petsc install-3.12-linux.sh
|
---|
[25690] | 42 | gsl install.sh
|
---|
[25125] | 43 | boost install-1.7-linux.sh
|
---|
[25690] | 44 | dakota install-6.2-linux.sh
|
---|
| 45 | boost install-1.7-linux.sh
|
---|
[25789] | 46 | curl install-7.sh
|
---|
[25125] | 47 | netcdf install-4.7-parallel.sh
|
---|
| 48 | proj install-6.2.sh
|
---|
[25200] | 49 | gdal install-3-python-netcdf.sh
|
---|
[25125] | 50 | gshhg install.sh
|
---|
[25748] | 51 | gmt install-6-linux.sh
|
---|
[25125] | 52 | gmsh install-4.sh
|
---|
[25690] | 53 | triangle install-linux.sh
|
---|
| 54 | chaco install.sh
|
---|
| 55 | m1qn3 install.sh
|
---|
| 56 | semic install.sh
|
---|
[25125] | 57 | shell2junit install.sh
|
---|
[24412] | 58 | "
|
---|
| 59 |
|
---|
[24593] | 60 | #---------#
|
---|
| 61 | # Testing #
|
---|
| 62 | #---------#
|
---|
[24412] | 63 |
|
---|
[24593] | 64 | # Test suites
|
---|
[25126] | 65 | MATLAB_TEST=1
|
---|
[24593] | 66 | PYTHON_TEST=1
|
---|
| 67 | JAVASCRIPT_TEST=0
|
---|
| 68 | EXAMPLES_TEST=0
|
---|
| 69 |
|
---|
[24412] | 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 | #
|
---|
[25434] | 87 | # NOTE:
|
---|
[25706] | 88 | # - Tests 2002, 2003, 2005, 2010, 2101, and 2021 are excluded as Gmsh produces
|
---|
| 89 | # different-sized meshes on macOS and Linux for 3d objects (archives are
|
---|
| 90 | # generated on macOS).
|
---|
[25704] | 91 | # - Excluding 2006 until it can be debugged (PETSc crash)
|
---|
[25434] | 92 | #
|
---|
[25704] | 93 | MATLAB_NROPTIONS="'benchmark','slr','exclude',[2002 2003 2005 2006 2010 2021 2101]"
|
---|
| 94 | PYTHON_NROPTIONS="--benchmark slr --exclude 2002 2003 2005 2006 2010 2021 2101"
|
---|