[24650] | 1 | #--------------------#
|
---|
| 2 | # ISSM Configuration #
|
---|
| 3 | #--------------------#
|
---|
| 4 |
|
---|
[24664] | 5 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
[24650] | 6 |
|
---|
| 7 | ISSM_CONFIG='\
|
---|
| 8 | --prefix=${ISSM_DIR} \
|
---|
| 9 | --disable-static \
|
---|
| 10 | --enable-development \
|
---|
| 11 | --enable-debugging \
|
---|
| 12 | --with-numthreads=4 \
|
---|
| 13 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
| 14 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
| 15 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
[25617] | 16 | --with-fortran-lib="-L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 -lgfortran" \
|
---|
[24650] | 17 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
| 18 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 19 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 20 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[26035] | 21 | --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24650] | 22 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 23 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[25200] | 24 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24650] | 25 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[25690] | 26 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
| 27 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
| 28 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
[24650] | 29 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
[25700] | 30 | --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
|
---|
| 31 | --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
|
---|
| 32 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
[24650] | 33 | '
|
---|
| 34 |
|
---|
[24676] | 35 | #-------------------#
|
---|
| 36 | # External Packages #
|
---|
| 37 | #-------------------#
|
---|
[24650] | 38 |
|
---|
| 39 | #List of external pakages to be installed and their installation scripts
|
---|
| 40 | EXTERNALPACKAGES="
|
---|
[25982] | 41 | autotools install-mac.sh
|
---|
| 42 | cmake install.sh
|
---|
| 43 | petsc install-3.12-mac.sh
|
---|
| 44 | gsl install.sh
|
---|
| 45 | boost install-1.7-mac.sh
|
---|
| 46 | dakota install-6.2-mac.sh
|
---|
| 47 | curl install-7-mac.sh
|
---|
| 48 | netcdf install-4.7-parallel.sh
|
---|
| 49 | proj install-6.2.sh
|
---|
| 50 | gdal install-3-python.sh
|
---|
| 51 | gshhg install.sh
|
---|
| 52 | gmt install-6-mac.sh
|
---|
| 53 | gmsh install-4.sh
|
---|
| 54 | triangle install-mac.sh
|
---|
| 55 | chaco install.sh
|
---|
| 56 | m1qn3 install.sh
|
---|
| 57 | semic install.sh
|
---|
| 58 | shell2junit install.sh
|
---|
[24650] | 59 | "
|
---|
| 60 |
|
---|
[24676] | 61 | #---------#
|
---|
| 62 | # Testing #
|
---|
| 63 | #---------#
|
---|
[24650] | 64 |
|
---|
[25189] | 65 | # Test suites
|
---|
| 66 | MATLAB_TEST=1
|
---|
| 67 | PYTHON_TEST=1
|
---|
| 68 | JAVASCRIPT_TEST=0
|
---|
| 69 | EXAMPLES_TEST=0
|
---|
| 70 |
|
---|
[24650] | 71 | # Number of CPUs used in ISSM compilation
|
---|
| 72 | #
|
---|
| 73 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 74 | # compilation
|
---|
| 75 | #
|
---|
| 76 | NUMCPUS_INSTALL=4
|
---|
| 77 |
|
---|
| 78 | # Number of CPUs used in the nightly runs
|
---|
[24661] | 79 | NUMCPUS_RUN=2
|
---|
[24650] | 80 |
|
---|
| 81 | # Nightly run options
|
---|
| 82 | #
|
---|
[24660] | 83 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
[24650] | 84 | #
|
---|
[25704] | 85 | # NOTE:
|
---|
| 86 | # - Excluding 2006 until it can be debugged (file I/O)
|
---|
| 87 | #
|
---|
[25963] | 88 | MATLAB_NROPTIONS="'benchmark','slc','exclude',[2006]"
|
---|
| 89 | PYTHON_NROPTIONS="--benchmark slc --exclude 2005 2006"
|
---|