[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 \
|
---|
| 25 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
[25095] | 26 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install
|
---|
[24412] | 27 | '
|
---|
| 28 |
|
---|
[24593] | 29 | #-------------------#
|
---|
| 30 | # External Packages #
|
---|
| 31 | #-------------------#
|
---|
[24412] | 32 |
|
---|
| 33 | EXTERNALPACKAGES="
|
---|
[25125] | 34 | autotools install-debian-linux.sh
|
---|
| 35 | cmake install.sh
|
---|
| 36 | petsc install-3.12-linux-solid_earth.sh
|
---|
| 37 | triangle install-linux.sh
|
---|
| 38 | chaco install.sh
|
---|
| 39 | m1qn3 install.sh
|
---|
| 40 | semic install.sh
|
---|
| 41 | boost install-1.7-linux.sh
|
---|
| 42 | curl install-7.67.sh
|
---|
| 43 | netcdf install-4.7-parallel.sh
|
---|
| 44 | proj install-6.2.sh
|
---|
[25200] | 45 | gdal install-3-python-netcdf.sh
|
---|
[25125] | 46 | gshhg install.sh
|
---|
| 47 | gmt install-6.0-linux.sh
|
---|
| 48 | gmsh install-4.sh
|
---|
| 49 | shell2junit install.sh
|
---|
[24412] | 50 | "
|
---|
| 51 |
|
---|
[24593] | 52 | #---------#
|
---|
| 53 | # Testing #
|
---|
| 54 | #---------#
|
---|
[24412] | 55 |
|
---|
[24593] | 56 | # Test suites
|
---|
[25126] | 57 | MATLAB_TEST=1
|
---|
[24593] | 58 | PYTHON_TEST=1
|
---|
| 59 | JAVASCRIPT_TEST=0
|
---|
| 60 | EXAMPLES_TEST=0
|
---|
| 61 |
|
---|
[24412] | 62 | # Number of CPUs used in ISSM compilation
|
---|
| 63 | #
|
---|
| 64 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 65 | # compilation.
|
---|
| 66 | #
|
---|
| 67 | NUMCPUS_INSTALL=8
|
---|
| 68 |
|
---|
| 69 | # Number of cpus used in the nightly runs
|
---|
| 70 | #
|
---|
| 71 | # NOTE: Possible problem of access to all_vertices.txt if more than 1.
|
---|
| 72 | #
|
---|
| 73 | NUMCPUS_RUN=1
|
---|
| 74 |
|
---|
| 75 | # Nightly run options
|
---|
| 76 | #
|
---|
| 77 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
| 78 | #
|
---|
[25434] | 79 | # NOTE:
|
---|
[25545] | 80 | # - Tests 2002, 2003, 2010, 2101, and 2021 are excluded as Gmsh produces different-sized meshes on macOS and Linux for 3d objects (archives are generated on macOS).
|
---|
[25434] | 81 | #
|
---|
[25552] | 82 | MATLAB_NROPTIONS="'benchmark','slr','exclude',[2002 2003 2010 2021 2101]"
|
---|
| 83 | PYTHON_NROPTIONS="--benchmark slr --exclude 2002 2003 2010 2021 2101"
|
---|