[24650] | 1 | #--------------------#
|
---|
| 2 | # ISSM Configuration #
|
---|
| 3 | #--------------------#
|
---|
| 4 |
|
---|
| 5 | # MATLAB path
|
---|
[24664] | 6 | MATLAB_PATH="/Applications/MATLAB_R2018a.app"
|
---|
[24650] | 7 |
|
---|
| 8 | # ISSM CONFIGURATION
|
---|
| 9 | ISSM_CONFIG='\
|
---|
| 10 | --prefix=${ISSM_DIR} \
|
---|
| 11 | --disable-static \
|
---|
| 12 | --enable-development \
|
---|
| 13 | --enable-debugging \
|
---|
| 14 | --with-numthreads=4 \
|
---|
| 15 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
| 16 | --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
|
---|
| 17 | --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
|
---|
[24676] | 18 | --with-fortran-lib="-L/usr/local/Cellar/gcc/9.3.0/lib/gcc/9 -lgfortran" \
|
---|
[24650] | 19 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
| 20 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 21 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 22 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 23 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 24 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 25 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
[24824] | 26 | --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
|
---|
| 27 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
[24650] | 28 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
| 29 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
| 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 \
|
---|
| 33 | '
|
---|
| 34 |
|
---|
| 35 | # Test suites
|
---|
| 36 | MATLAB_TEST=1
|
---|
| 37 | PYTHON_TEST=1
|
---|
| 38 | JAVASCRIPT_TEST=0
|
---|
| 39 | EXAMPLES_TEST=0
|
---|
| 40 |
|
---|
[24676] | 41 | #-------------------#
|
---|
| 42 | # External Packages #
|
---|
| 43 | #-------------------#
|
---|
[24650] | 44 |
|
---|
| 45 | #List of external pakages to be installed and their installation scripts
|
---|
| 46 | EXTERNALPACKAGES="
|
---|
| 47 | autotools install.sh
|
---|
| 48 | cmake install.sh
|
---|
| 49 | petsc install-3.12-mac.sh
|
---|
[24824] | 50 | gsl install.sh
|
---|
| 51 | boost install-1.7-mac.sh
|
---|
[24650] | 52 | dakota install-6.2-mac.sh
|
---|
| 53 | triangle install-mac.sh
|
---|
| 54 | chaco install.sh
|
---|
| 55 | m1qn3 install.sh
|
---|
| 56 | semic install.sh
|
---|
| 57 | shell2junit install.sh
|
---|
| 58 | "
|
---|
| 59 |
|
---|
[24676] | 60 | #---------#
|
---|
| 61 | # Testing #
|
---|
| 62 | #---------#
|
---|
[24650] | 63 |
|
---|
| 64 | # Number of CPUs used in ISSM compilation
|
---|
| 65 | #
|
---|
| 66 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 67 | # compilation
|
---|
| 68 | #
|
---|
| 69 | NUMCPUS_INSTALL=4
|
---|
| 70 |
|
---|
| 71 | # Number of CPUs used in the nightly runs
|
---|
[24661] | 72 | NUMCPUS_RUN=2
|
---|
[24650] | 73 |
|
---|
| 74 | # Nightly run options
|
---|
| 75 | #
|
---|
[24660] | 76 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
[24650] | 77 | #
|
---|
| 78 | # NOTE:
|
---|
[25111] | 79 | # - Errors are large for tests 234, 235, and 420 on Mac
|
---|
| 80 | # - See test417.py for why it is excluded
|
---|
| 81 | # - Errors are large for test 418 on Mac
|
---|
[24650] | 82 | #
|
---|
[25108] | 83 | MATLAB_NROPTIONS="'exclude',[234 235 418 420],'id',[IdFromString('Dakota')]"
|
---|
| 84 | PYTHON_NROPTIONS="--exclude 417 418 --include_name 'Dakota'"
|
---|