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