[28037] | 1 | # NOTE: This configuration adds solid earth and Dakota capabilities to the
|
---|
| 2 | # basic build.
|
---|
| 3 |
|
---|
| 4 | #--------------------#
|
---|
| 5 | # ISSM Configuration #
|
---|
| 6 | #--------------------#
|
---|
| 7 |
|
---|
| 8 | ISSM_CONFIG='\
|
---|
| 9 | --prefix="${ISSM_DIR}" \
|
---|
| 10 | --disable-static \
|
---|
| 11 | --with-numthreads=1 \
|
---|
[28041] | 12 | --with-python-version=3.10 \
|
---|
| 13 | --with-python-dir=/cvmfs/soft.ccr.buffalo.edu/versions/2023.01/compat/usr \
|
---|
| 14 | --with-python-numpy-dir=/cvmfs/soft.ccr.buffalo.edu/versions/2023.01/compat/usr/lib/python3.10/site-packages/numpy \
|
---|
[28037] | 15 | --with-fortran-lib="-L${EBROOTGCC}/lib64 -lgfortran" \
|
---|
| 16 | --with-mpi-include="${ISSM_EXT_DIR}/petsc/install/include" \
|
---|
| 17 | --with-mpi-libflags="-L${ISSM_EXT_DIR}/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 18 | --with-blas-lapack-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
| 19 | --with-metis-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
| 20 | --with-parmetis-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
| 21 | --with-scalapack-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
| 22 | --with-mumps-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
| 23 | --with-petsc-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
| 24 | --with-gsl-dir="${ISSM_EXT_DIR}/gsl/install" \
|
---|
| 25 | --with-boost-dir="${ISSM_EXT_DIR}/boost/install" \
|
---|
| 26 | --with-dakota-dir="${ISSM_EXT_DIR}/dakota/install" \
|
---|
| 27 | --with-chaco-dir="${ISSM_EXT_DIR}/chaco/install" \
|
---|
[28043] | 28 | --with-triangle-dir="${ISSM_EXT_DIR}/triangle/install" \
|
---|
[28037] | 29 | --with-m1qn3-dir="${ISSM_EXT_DIR}/m1qn3/install" \
|
---|
[28043] | 30 | --with-semic-dir="${ISSM_EXT_DIR}/semic/install" \
|
---|
[28037] | 31 | '
|
---|
| 32 |
|
---|
| 33 | #-------------------#
|
---|
| 34 | # External Packages #
|
---|
| 35 | #-------------------#
|
---|
| 36 |
|
---|
| 37 | EXTERNALPACKAGES="
|
---|
| 38 | autotools install-linux.sh
|
---|
| 39 | cmake install.sh
|
---|
| 40 | petsc install-3.14-linux.sh
|
---|
| 41 | gsl install.sh
|
---|
| 42 | boost install-1.7-linux.sh
|
---|
| 43 | dakota install-6.2-linux.sh
|
---|
| 44 | chaco install-linux.sh
|
---|
[28043] | 45 | triangle install-linux.sh
|
---|
[28037] | 46 | m1qn3 install.sh
|
---|
[28043] | 47 | semic install.sh
|
---|
| 48 | shell2junit install.sh
|
---|
[28037] | 49 | "
|
---|
| 50 |
|
---|
| 51 | #---------#
|
---|
| 52 | # Testing #
|
---|
| 53 | #---------#
|
---|
| 54 |
|
---|
| 55 | # Test suites
|
---|
| 56 | MATLAB_TEST=0
|
---|
[28041] | 57 | PYTHON_TEST=1
|
---|
[28037] | 58 | JAVASCRIPT_TEST=0
|
---|
| 59 | EXAMPLES_TEST=0
|
---|
| 60 |
|
---|
| 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 | NUMCPUS_RUN=1
|
---|
| 70 |
|
---|
| 71 | # Nightly run options
|
---|
| 72 | MATLAB_NROPTIONS=""
|
---|
[28042] | 73 | PYTHON_NROPTIONS="--exclude 234 418 420"
|
---|