[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 \
|
---|
| 18 | --with-fortran-lib="-L/usr/local/gfortran/lib -lgfortran" \
|
---|
| 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 \
|
---|
| 26 | --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
|
---|
| 27 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/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 | # Test suites
|
---|
| 35 | MATLAB_TEST=1
|
---|
| 36 | PYTHON_TEST=1
|
---|
| 37 | JAVASCRIPT_TEST=0
|
---|
| 38 | EXAMPLES_TEST=0
|
---|
| 39 |
|
---|
| 40 | #-----------------------------------#
|
---|
| 41 | # 3: External packages installation #
|
---|
| 42 | #-----------------------------------#
|
---|
| 43 |
|
---|
| 44 | #List of external pakages to be installed and their installation scripts
|
---|
| 45 | EXTERNALPACKAGES="
|
---|
| 46 | autotools install.sh
|
---|
| 47 | cmake install.sh
|
---|
| 48 | petsc install-3.12-mac.sh
|
---|
[24663] | 49 | boost install-1.72-mac.sh
|
---|
[24650] | 50 | dakota install-6.2-mac.sh
|
---|
| 51 | triangle install-mac.sh
|
---|
| 52 | chaco install.sh
|
---|
| 53 | m1qn3 install.sh
|
---|
| 54 | semic install.sh
|
---|
| 55 | shell2junit install.sh
|
---|
| 56 | "
|
---|
| 57 |
|
---|
| 58 | #-----------------#
|
---|
| 59 | # 4: test options #
|
---|
| 60 | #-----------------#
|
---|
| 61 |
|
---|
| 62 | # Number of CPUs used in ISSM compilation
|
---|
| 63 | #
|
---|
| 64 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 65 | # compilation
|
---|
| 66 | #
|
---|
| 67 | NUMCPUS_INSTALL=4
|
---|
| 68 |
|
---|
| 69 | # Number of CPUs used in the nightly runs
|
---|
[24661] | 70 | NUMCPUS_RUN=2
|
---|
[24650] | 71 |
|
---|
| 72 | # Nightly run options
|
---|
| 73 | #
|
---|
[24660] | 74 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
[24650] | 75 | #
|
---|
| 76 | # NOTE:
|
---|
[24660] | 77 | # - See test418.py for reason why it is excluded for now.
|
---|
| 78 | # - Error is large for test420.
|
---|
[24650] | 79 | #
|
---|
[24665] | 80 | MATLAB_NROPTIONS="'exclude',[234,235,243,418,420,435,444,445,701,702],'id',[IdFromString('Dakota')]"
|
---|
| 81 | PYTHON_NROPTIONS="--exclude 234 235 243 418 420 435 444 445 701 702 --include_name 'Dakota'"
|
---|