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