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 | --enable-development \
|
---|
12 | --enable-debugging \
|
---|
13 | --with-numthreads=1 \
|
---|
14 | --with-python-version=3.9 \
|
---|
15 | --with-python-dir=/cvmfs/soft.ccr.buffalo.edu/versions/2023.01/easybuild/software/avx512/Compiler/gcccore/11.2.0/python/3.9.6 \
|
---|
16 | --with-python-numpy-dir=/cvmfs/soft.ccr.buffalo.edu/versions/2023.01/easybuild/software/avx512/MPI/gcc/11.2.0/openmpi/4.1.1/scipy-bundle/2021.10/lib/python3.9/site-packages \
|
---|
17 | --with-fortran-lib="-L${EBROOTGCC}/lib64 -lgfortran" \
|
---|
18 | --with-mpi-include="${ISSM_EXT_DIR}/petsc/install/include" \
|
---|
19 | --with-mpi-libflags="-L${ISSM_EXT_DIR}/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
20 | --with-blas-lapack-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
21 | --with-metis-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
22 | --with-parmetis-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
23 | --with-scalapack-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
24 | --with-mumps-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
25 | --with-petsc-dir="${ISSM_EXT_DIR}/petsc/install" \
|
---|
26 | --with-gsl-dir="${ISSM_EXT_DIR}/gsl/install" \
|
---|
27 | --with-boost-dir="${ISSM_EXT_DIR}/boost/install" \
|
---|
28 | --with-dakota-dir="${ISSM_EXT_DIR}/dakota/install" \
|
---|
29 | --with-chaco-dir="${ISSM_EXT_DIR}/chaco/install" \
|
---|
30 | --with-triangle-dir="${ISSM_EXT_DIR}/triangle/install" \
|
---|
31 | --with-m1qn3-dir="${ISSM_EXT_DIR}/m1qn3/install" \
|
---|
32 | --with-semic-dir="${ISSM_EXT_DIR}/semic/install" \
|
---|
33 | '
|
---|
34 |
|
---|
35 | #-------------------#
|
---|
36 | # External Packages #
|
---|
37 | #-------------------#
|
---|
38 |
|
---|
39 | EXTERNALPACKAGES="
|
---|
40 | autotools install-linux.sh
|
---|
41 | cmake install.sh
|
---|
42 | petsc install-3.14-linux.sh
|
---|
43 | gsl install.sh
|
---|
44 | boost install-1.7-linux.sh
|
---|
45 | dakota install-6.2-linux.sh
|
---|
46 | chaco install-linux.sh
|
---|
47 | triangle install-linux.sh
|
---|
48 | m1qn3 install.sh
|
---|
49 | semic install.sh
|
---|
50 | shell2junit install.sh
|
---|
51 | "
|
---|
52 |
|
---|
53 | #---------#
|
---|
54 | # Testing #
|
---|
55 | #---------#
|
---|
56 |
|
---|
57 | # Test suites
|
---|
58 | MATLAB_TEST=0
|
---|
59 | PYTHON_TEST=1
|
---|
60 | JAVASCRIPT_TEST=0
|
---|
61 | EXAMPLES_TEST=0
|
---|
62 |
|
---|
63 | # Number of CPUs used in ISSM compilation
|
---|
64 | #
|
---|
65 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
66 | # compilation
|
---|
67 | #
|
---|
68 | NUMCPUS_INSTALL=8
|
---|
69 |
|
---|
70 | # Number of CPUs used in the nightly runs
|
---|
71 | NUMCPUS_RUN=1
|
---|
72 |
|
---|
73 | # Nightly run options
|
---|
74 | MATLAB_NROPTIONS=""
|
---|
75 | PYTHON_NROPTIONS="--exclude 234 418 420"
|
---|