[24649] | 1 | #--------------------#
|
---|
| 2 | # ISSM Configuration #
|
---|
| 3 | #--------------------#
|
---|
[20100] | 4 |
|
---|
[24333] | 5 | # MATLAB path
|
---|
[24665] | 6 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
[20338] | 7 |
|
---|
[24649] | 8 | # NOTE:
|
---|
| 9 | # - We can disable dependency tracking in the Autotools because the binaries
|
---|
| 10 | # should always be a one-time build.
|
---|
| 11 | #
|
---|
[24676] | 12 |
|
---|
[24333] | 13 | # ISSM CONFIGURATION
|
---|
[24427] | 14 | ISSM_CONFIG='\
|
---|
[24649] | 15 | --prefix=${ISSM_DIR} \
|
---|
| 16 | --enable-standalone-executables \
|
---|
| 17 | --enable-standalone-modules \
|
---|
| 18 | --enable-standalone-libraries \
|
---|
| 19 | --disable-dependency-tracking \
|
---|
| 20 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
| 21 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
| 22 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
[24676] | 23 | --with-fortran-lib="/usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libgfortran.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/libquadmath.a /usr/local/Cellar/gcc/9.3.0/lib/gcc/9/gcc/x86_64-apple-darwin15/9.3.0/libgcc.a" \
|
---|
[24649] | 24 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
[24637] | 25 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
[24649] | 26 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 27 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 28 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 29 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 30 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 31 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
| 32 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
| 33 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
| 34 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
| 35 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
| 36 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
[24333] | 37 | '
|
---|
[20100] | 38 |
|
---|
[24333] | 39 | # Test suites
|
---|
[24649] | 40 | MATLAB_TEST=0
|
---|
[24198] | 41 | PYTHON_TEST=0
|
---|
[24333] | 42 | JAVASCRIPT_TEST=0
|
---|
| 43 | EXAMPLES_TEST=0
|
---|
[20100] | 44 |
|
---|
[24649] | 45 | #-------------------#
|
---|
| 46 | # External Packages #
|
---|
| 47 | #-------------------#
|
---|
[20100] | 48 |
|
---|
[24333] | 49 | EXTERNALPACKAGES="
|
---|
| 50 | autotools install.sh
|
---|
| 51 | cmake install.sh
|
---|
[24649] | 52 | petsc install-3.12-mac-static.sh
|
---|
[24665] | 53 | boost install-1.72-mac-static.sh
|
---|
[24649] | 54 | dakota install-6.2-mac-static.sh
|
---|
| 55 | triangle install-mac-static.sh
|
---|
[24348] | 56 | chaco install.sh
|
---|
[24333] | 57 | m1qn3 install.sh
|
---|
| 58 | semic install.sh
|
---|
| 59 | shell2junit install.sh
|
---|
| 60 | "
|
---|
[20100] | 61 |
|
---|
[24649] | 62 | #---------#
|
---|
| 63 | # Testing #
|
---|
| 64 | #---------#
|
---|
[20100] | 65 |
|
---|
[24277] | 66 | # Number of CPUs used in ISSM compilation
|
---|
| 67 | #
|
---|
| 68 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
[24394] | 69 | # compilation
|
---|
[24277] | 70 | #
|
---|
[24649] | 71 | NUMCPUS_INSTALL=1
|
---|
[20100] | 72 |
|
---|
[24277] | 73 | # Number of CPUs used in the nightly runs
|
---|
[24649] | 74 | NUMCPUS_RUN=1
|
---|
[20100] | 75 |
|
---|
[24277] | 76 | # Nightly run options
|
---|
| 77 | #
|
---|
[24649] | 78 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
[24277] | 79 | #
|
---|
[24649] | 80 | PYTHON_NROPTIONS=""
|
---|
| 81 | MATLAB_NROPTIONS=""
|
---|