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