[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" \
|
---|
| 15 | --with-metis-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-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
[20100] | 19 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
[24333] | 20 | --with-chaco-dir=$ISSM_DIR/externalpackages/chaco/install \
|
---|
[20100] | 21 | --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
|
---|
[23554] | 22 | --with-semic-dir=$ISSM_DIR/externalpackages/semic/install \
|
---|
[20233] | 23 | --with-numthreads=4 \
|
---|
[24427] | 24 | --enable-development \
|
---|
[20100] | 25 | --enable-debugging \
|
---|
[24333] | 26 | '
|
---|
[20100] | 27 |
|
---|
[24333] | 28 | # Test suites
|
---|
[20100] | 29 | MATLAB_TEST=1
|
---|
[24198] | 30 | PYTHON_TEST=0
|
---|
[24333] | 31 | JAVASCRIPT_TEST=0
|
---|
| 32 | EXAMPLES_TEST=0
|
---|
[20100] | 33 |
|
---|
| 34 | #-----------------------------------#
|
---|
| 35 | # 3: External packages installation #
|
---|
| 36 | #-----------------------------------#
|
---|
| 37 |
|
---|
[24333] | 38 | # List of external pakages to be installed and their installation scripts
|
---|
| 39 | EXTERNALPACKAGES="
|
---|
| 40 | autotools install.sh
|
---|
| 41 | cmake install.sh
|
---|
[24427] | 42 | mpich install-3.3.sh
|
---|
[24399] | 43 | petsc install-3.7-mac.sh
|
---|
[24333] | 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
|
---|
[24394] | 58 | # compilation
|
---|
[24277] | 59 | #
|
---|
[24427] | 60 | NUMCPUS_INSTALL=4
|
---|
[20100] | 61 |
|
---|
[24277] | 62 | # Number of CPUs used in the nightly runs
|
---|
[24427] | 63 | NUMCPUS_RUN=
|
---|
[20100] | 64 |
|
---|
[24277] | 65 | # Nightly run options
|
---|
| 66 | #
|
---|
[24394] | 67 | # See documentation in test/NightlyRun/runme.* for more information
|
---|
[24277] | 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'"
|
---|