| 1 | #--------------------#
 | 
|---|
| 2 | # ISSM Configuration #
 | 
|---|
| 3 | #--------------------#
 | 
|---|
| 4 | 
 | 
|---|
| 5 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
 | 
|---|
| 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 \
 | 
|---|
| 16 |         --with-fortran-lib="-L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 -lgfortran" \
 | 
|---|
| 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 \
 | 
|---|
| 21 |         --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
 | 
|---|
| 22 |         --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
 | 
|---|
| 23 |         --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
 | 
|---|
| 24 |         --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
 | 
|---|
| 25 |         --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
 | 
|---|
| 26 |         --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
 | 
|---|
| 27 |         --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
 | 
|---|
| 28 |         --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
 | 
|---|
| 29 |         --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
 | 
|---|
| 30 |         --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
 | 
|---|
| 31 |         --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
 | 
|---|
| 32 | '
 | 
|---|
| 33 | 
 | 
|---|
| 34 | #-------------------#
 | 
|---|
| 35 | # External Packages #
 | 
|---|
| 36 | #-------------------#
 | 
|---|
| 37 | 
 | 
|---|
| 38 | #List of external pakages to be installed and their installation scripts
 | 
|---|
| 39 | EXTERNALPACKAGES="
 | 
|---|
| 40 |         autotools               install.sh
 | 
|---|
| 41 |         cmake                   install.sh
 | 
|---|
| 42 |         petsc                   install-3.12-mac.sh
 | 
|---|
| 43 |         gsl                             install.sh
 | 
|---|
| 44 |         boost                   install-1.7-mac.sh
 | 
|---|
| 45 |         dakota                  install-6.2-mac.sh
 | 
|---|
| 46 |         curl                    install-7-mac.sh
 | 
|---|
| 47 |         netcdf                  install-4.7-parallel.sh
 | 
|---|
| 48 |         proj                    install-6.2.sh
 | 
|---|
| 49 |         gdal                    install-3-python-netcdf.sh
 | 
|---|
| 50 |         gshhg                   install.sh
 | 
|---|
| 51 |         gmt                             install-6-mac.sh
 | 
|---|
| 52 |         gmsh                    install-4.sh
 | 
|---|
| 53 |         triangle                install-mac.sh
 | 
|---|
| 54 |         chaco                   install.sh
 | 
|---|
| 55 |         m1qn3                   install.sh
 | 
|---|
| 56 |         semic                   install.sh
 | 
|---|
| 57 |         shell2junit             install.sh
 | 
|---|
| 58 | "
 | 
|---|
| 59 | 
 | 
|---|
| 60 | #---------#
 | 
|---|
| 61 | # Testing #
 | 
|---|
| 62 | #---------#
 | 
|---|
| 63 | 
 | 
|---|
| 64 | # Test suites
 | 
|---|
| 65 | MATLAB_TEST=1
 | 
|---|
| 66 | PYTHON_TEST=1
 | 
|---|
| 67 | JAVASCRIPT_TEST=0
 | 
|---|
| 68 | EXAMPLES_TEST=0
 | 
|---|
| 69 | 
 | 
|---|
| 70 | # Number of CPUs used in ISSM compilation
 | 
|---|
| 71 | #
 | 
|---|
| 72 | # NOTE: One is usually safer as some packages are very sensitive to parallel
 | 
|---|
| 73 | #               compilation
 | 
|---|
| 74 | #
 | 
|---|
| 75 | NUMCPUS_INSTALL=4
 | 
|---|
| 76 | 
 | 
|---|
| 77 | # Number of CPUs used in the nightly runs
 | 
|---|
| 78 | NUMCPUS_RUN=2
 | 
|---|
| 79 | 
 | 
|---|
| 80 | # Nightly run options
 | 
|---|
| 81 | #
 | 
|---|
| 82 | # See documentation in test/NightlyRun/runme.* for more information.
 | 
|---|
| 83 | #
 | 
|---|
| 84 | # NOTE:
 | 
|---|
| 85 | # - Errors are large for tests 234, 235, 418, and 420 under MATLAB
 | 
|---|
| 86 | # - Tests 444 and 445 fail intermittently under MATLAB with "Index exceeds array bounds."
 | 
|---|
| 87 | # - Errors are large for tests 234 418 and 420 under Python
 | 
|---|
| 88 | # - See test417.py for why it is excluded
 | 
|---|
| 89 | # - Test 444 fails intermittently under Python with "IndexError: list index out of range"
 | 
|---|
| 90 | # - Excluding 2006 until it can be debugged (file I/O)
 | 
|---|
| 91 | #
 | 
|---|
| 92 | MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234 235 418 420 444 445 2006]"
 | 
|---|
| 93 | PYTHON_NROPTIONS="--include_name 'Dakota' --exclude 234 417 418 420 444 445 2006"
 | 
|---|