[20100] | 1 | #-------------------------------#
|
---|
| 2 | # 1: ISSM general configuration #
|
---|
| 3 | #-------------------------------#
|
---|
| 4 |
|
---|
[24333] | 5 | # MATLAB path
|
---|
[23275] | 6 | MATLAB_PATH="/Applications/MATLAB_R2015b.app"
|
---|
[20338] | 7 |
|
---|
[24333] | 8 | # ISSM CONFIGURATION
|
---|
[20100] | 9 | ISSM_CONFIG='--prefix=$ISSM_DIR \
|
---|
[20338] | 10 | --with-matlab-dir=$MATLAB_PATH \
|
---|
[24333] | 11 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
| 12 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 13 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
|
---|
| 14 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 15 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 16 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 17 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
[20100] | 18 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
[24333] | 19 | --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \
|
---|
[20100] | 20 | --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
|
---|
[23554] | 21 | --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \
|
---|
[20233] | 22 | --with-numthreads=4 \
|
---|
[20100] | 23 | --enable-debugging \
|
---|
[24333] | 24 | --enable-development
|
---|
| 25 | '
|
---|
[20100] | 26 |
|
---|
[24333] | 27 | # Test suites
|
---|
[20100] | 28 | MATLAB_TEST=1
|
---|
[24198] | 29 | PYTHON_TEST=0
|
---|
[24333] | 30 | JAVASCRIPT_TEST=0
|
---|
| 31 | EXAMPLES_TEST=0
|
---|
[20100] | 32 |
|
---|
| 33 | #-----------------------------------#
|
---|
| 34 | # 3: External packages installation #
|
---|
| 35 | #-----------------------------------#
|
---|
| 36 |
|
---|
[24333] | 37 | # List of external pakages to be installed and their installation scripts
|
---|
| 38 | EXTERNALPACKAGES="
|
---|
| 39 | autotools install.sh
|
---|
| 40 | cmake install.sh
|
---|
| 41 | mpich install-3.3.sh
|
---|
| 42 | petsc install-3.11-macOS.sh
|
---|
| 43 | triangle install-macosx64.sh
|
---|
| 44 | m1qn3 install.sh
|
---|
| 45 | semic install.sh
|
---|
| 46 | shell2junit install.sh
|
---|
| 47 | "
|
---|
[20100] | 48 |
|
---|
[20402] | 49 | #-----------------#
|
---|
| 50 | # 4: test options #
|
---|
| 51 | #-----------------#
|
---|
[20100] | 52 |
|
---|
[24277] | 53 | # Number of CPUs used in ISSM compilation
|
---|
| 54 | #
|
---|
| 55 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 56 | # compilation.
|
---|
| 57 | #
|
---|
[24333] | 58 | NUMCPUS_INSTALL=8
|
---|
[20100] | 59 |
|
---|
[24277] | 60 | # Number of CPUs used in the nightly runs
|
---|
[24333] | 61 | NUMCPUS_RUN=8
|
---|
[20100] | 62 |
|
---|
[24277] | 63 | # Nightly run options
|
---|
| 64 | #
|
---|
| 65 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
| 66 | #
|
---|
| 67 | # NOTE:
|
---|
| 68 | # - test701.m is skipped because it uses full Stokes equations
|
---|
| 69 | #
|
---|
[24300] | 70 | MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]"
|
---|
[23155] | 71 | PYTHON_NROPTIONS="--exclude_name 'Dakota'"
|
---|