[25760] | 1 | # NOTE: This configuration can be used to debug, with Valgrind, builds that
|
---|
| 2 | # require Boost.
|
---|
| 3 |
|
---|
| 4 | #--------------------#
|
---|
| 5 | # ISSM Configuration #
|
---|
| 6 | #--------------------#
|
---|
| 7 |
|
---|
[25765] | 8 | MATLAB_PATH="/Applications/MATLAB_R2019b.app"
|
---|
[25760] | 9 |
|
---|
| 10 | ISSM_CONFIG='\
|
---|
| 11 | --prefix=${ISSM_DIR} \
|
---|
| 12 | --disable-static \
|
---|
| 13 | --enable-development \
|
---|
| 14 | --enable-debugging \
|
---|
| 15 | --with-numthreads=4 \
|
---|
| 16 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
| 17 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
| 18 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
| 19 | --with-fortran-lib="-L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 -lgfortran" \
|
---|
| 20 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
| 21 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 22 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 23 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 24 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 25 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 26 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 27 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 28 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
| 29 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
| 30 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
| 31 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
| 32 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
| 33 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
| 34 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
| 35 | '
|
---|
| 36 |
|
---|
| 37 | #-------------------#
|
---|
| 38 | # External Packages #
|
---|
| 39 | #-------------------#
|
---|
| 40 |
|
---|
| 41 | EXTERNALPACKAGES="
|
---|
| 42 | autotools install.sh
|
---|
| 43 | cmake install.sh
|
---|
[25765] | 44 | petsc install-3.12-mac.sh
|
---|
[25760] | 45 | gsl install.sh
|
---|
| 46 | boost install-1.7-mac.sh
|
---|
| 47 | dakota install-6.2-mac.sh
|
---|
[25789] | 48 | curl install-7.sh
|
---|
[25760] | 49 | netcdf install-4.7-parallel.sh
|
---|
| 50 | proj install-6.2.sh
|
---|
| 51 | gdal install-3-python-netcdf.sh
|
---|
| 52 | gshhg install.sh
|
---|
| 53 | gmt install-6.0-mac.sh
|
---|
| 54 | gmsh install-4.sh
|
---|
| 55 | triangle install-mac.sh
|
---|
| 56 | chaco install.sh
|
---|
| 57 | m1qn3 install.sh
|
---|
| 58 | semic install.sh
|
---|
| 59 | valgrind install-macosx64.sh
|
---|
| 60 | shell2junit install.sh
|
---|
| 61 | "
|
---|
| 62 |
|
---|
| 63 | #---------#
|
---|
| 64 | # Testing #
|
---|
| 65 | #---------#
|
---|
| 66 |
|
---|
| 67 | # Test suites
|
---|
| 68 | MATLAB_TEST=0
|
---|
| 69 | PYTHON_TEST=0
|
---|
| 70 | JAVASCRIPT_TEST=0
|
---|
| 71 | EXAMPLES_TEST=0
|
---|
| 72 |
|
---|
| 73 | # Number of CPUs used in ISSM compilation
|
---|
| 74 | #
|
---|
| 75 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 76 | # compilation
|
---|
| 77 | #
|
---|
| 78 | NUMCPUS_INSTALL=8
|
---|
| 79 |
|
---|
| 80 | # Number of CPUs used in the nightly runs
|
---|
| 81 | NUMCPUS_RUN=1
|
---|
| 82 |
|
---|
| 83 | # Nightly run options
|
---|
| 84 | MATLAB_NROPTIONS=""
|
---|
| 85 | PYTHON_NROPTIONS=""
|
---|