[24593] | 1 | #--------------------#
|
---|
| 2 | # ISSM Configuration #
|
---|
| 3 | #--------------------#
|
---|
[24412] | 4 |
|
---|
| 5 | MATLAB_PATH="/usr/local/MATLAB/R2019b"
|
---|
| 6 | ISSM_CONFIG='\
|
---|
[24593] | 7 | --prefix=${ISSM_DIR} \
|
---|
[24412] | 8 | --disable-static \
|
---|
[24593] | 9 | --enable-development \
|
---|
| 10 | --enable-debugging \
|
---|
| 11 | --with-numthreads=4 \
|
---|
| 12 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
[24412] | 13 | --with-python-dir=/usr \
|
---|
| 14 | --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
|
---|
[24641] | 15 | --with-fortran-lib="-L/usr/lib/x86_64-linux-gnu -lgfortran" \
|
---|
[24632] | 16 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
| 17 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 18 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24593] | 19 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 20 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 21 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24919] | 22 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24593] | 23 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 24 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
[25095] | 25 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install
|
---|
[24412] | 26 | '
|
---|
| 27 |
|
---|
[24593] | 28 | #-------------------#
|
---|
| 29 | # External Packages #
|
---|
| 30 | #-------------------#
|
---|
[24412] | 31 |
|
---|
| 32 | EXTERNALPACKAGES="
|
---|
[25125] | 33 | autotools install-debian-linux.sh
|
---|
| 34 | cmake install.sh
|
---|
| 35 | petsc install-3.12-linux-solid_earth.sh
|
---|
| 36 | triangle install-linux.sh
|
---|
| 37 | chaco install.sh
|
---|
| 38 | m1qn3 install.sh
|
---|
| 39 | semic install.sh
|
---|
| 40 | boost install-1.7-linux.sh
|
---|
| 41 | curl install-7.67.sh
|
---|
| 42 | netcdf install-4.7-parallel.sh
|
---|
| 43 | proj install-6.2.sh
|
---|
[25200] | 44 | gdal install-3-python-netcdf.sh
|
---|
[25125] | 45 | gshhg install.sh
|
---|
| 46 | gmt install-6.0-linux.sh
|
---|
| 47 | gmsh install-4.sh
|
---|
| 48 | shell2junit install.sh
|
---|
[24412] | 49 | "
|
---|
| 50 |
|
---|
[24593] | 51 | #---------#
|
---|
| 52 | # Testing #
|
---|
| 53 | #---------#
|
---|
[24412] | 54 |
|
---|
[24593] | 55 | # Test suites
|
---|
[25126] | 56 | MATLAB_TEST=1
|
---|
[24593] | 57 | PYTHON_TEST=1
|
---|
| 58 | JAVASCRIPT_TEST=0
|
---|
| 59 | EXAMPLES_TEST=0
|
---|
| 60 |
|
---|
[24412] | 61 | # Number of CPUs used in ISSM compilation
|
---|
| 62 | #
|
---|
| 63 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 64 | # compilation.
|
---|
| 65 | #
|
---|
| 66 | NUMCPUS_INSTALL=8
|
---|
| 67 |
|
---|
| 68 | # Number of cpus used in the nightly runs
|
---|
| 69 | #
|
---|
| 70 | # NOTE: Possible problem of access to all_vertices.txt if more than 1.
|
---|
| 71 | #
|
---|
| 72 | NUMCPUS_RUN=1
|
---|
| 73 |
|
---|
| 74 | # Nightly run options
|
---|
| 75 | #
|
---|
| 76 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
| 77 | #
|
---|
[25034] | 78 | MATLAB_NROPTIONS="'benchmark','slr'"
|
---|
| 79 | PYTHON_NROPTIONS="--benchmark=slr"
|
---|