[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 |
|
---|
| 47 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
| 48 | #safer as some packages are very sensitive to parallel compilation)
|
---|
[20104] | 49 | NUMCPUS_INSTALL=4
|
---|
[20100] | 50 |
|
---|
| 51 | #number of cpus used in the nightly runs.
|
---|
[23275] | 52 | NUMCPUS_RUN=4
|
---|
[20100] | 53 |
|
---|
| 54 | #Nightly run options. The matlab routine runme.m will be called
|
---|
| 55 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
| 56 | #by Matlab and runme.m
|
---|
| 57 | #ex: "'id',[101 102 103]"
|
---|
[24276] | 58 | ## FS
|
---|
[23155] | 59 | PYTHON_NROPTIONS="--exclude_name 'Dakota'"
|
---|
[21871] | 60 | MATLAB_NROPTIONS="'exclude',[701,702,703,435,IdFromString('Dakota')]"
|
---|