[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 \
|
---|
[24348] | 24 | --enable-development \
|
---|
[24333] | 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
|
---|
[24348] | 42 | lapack install-3.8-mac.sh
|
---|
[24333] | 43 | petsc install-3.11-macOS.sh
|
---|
| 44 | triangle install-macosx64.sh
|
---|
[24348] | 45 | chaco install.sh
|
---|
[24333] | 46 | m1qn3 install.sh
|
---|
| 47 | semic install.sh
|
---|
| 48 | shell2junit install.sh
|
---|
| 49 | "
|
---|
[20100] | 50 |
|
---|
[20402] | 51 | #-----------------#
|
---|
| 52 | # 4: test options #
|
---|
| 53 | #-----------------#
|
---|
[20100] | 54 |
|
---|
[24277] | 55 | # Number of CPUs used in ISSM compilation
|
---|
| 56 | #
|
---|
| 57 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 58 | # compilation.
|
---|
| 59 | #
|
---|
[24333] | 60 | NUMCPUS_INSTALL=8
|
---|
[20100] | 61 |
|
---|
[24277] | 62 | # Number of CPUs used in the nightly runs
|
---|
[24333] | 63 | NUMCPUS_RUN=8
|
---|
[20100] | 64 |
|
---|
[24277] | 65 | # Nightly run options
|
---|
| 66 | #
|
---|
| 67 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
| 68 | #
|
---|
| 69 | # NOTE:
|
---|
| 70 | # - test701.m is skipped because it uses full Stokes equations
|
---|
| 71 | #
|
---|
[24300] | 72 | MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]"
|
---|
[23155] | 73 | PYTHON_NROPTIONS="--exclude_name 'Dakota'"
|
---|