| 1 |
|
|---|
| 2 | #-------------------------------#
|
|---|
| 3 | # 1: ISSM general configuration #
|
|---|
| 4 | #-------------------------------#
|
|---|
| 5 |
|
|---|
| 6 | #MATLAB path
|
|---|
| 7 | MATLAB_PATH="/Applications/MATLAB_R2015b.app/"
|
|---|
| 8 |
|
|---|
| 9 | #ISSM CONFIGURATION
|
|---|
| 10 | ISSM_CONFIG='--prefix=$ISSM_DIR \
|
|---|
| 11 | --with-matlab-dir=$MATLAB_PATH \
|
|---|
| 12 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
|---|
| 13 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
|---|
| 14 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lpmpich -lmpich -lmpl" \
|
|---|
| 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 \
|
|---|
| 20 | --with-numthreads=4 \
|
|---|
| 21 | --enable-debugging \
|
|---|
| 22 | --enable-development'
|
|---|
| 23 |
|
|---|
| 24 | #PYTHON and MATLAB testing
|
|---|
| 25 | MATLAB_TEST=1
|
|---|
| 26 | PYTHON_TEST=0
|
|---|
| 27 |
|
|---|
| 28 | #execution path used for parallel runs
|
|---|
| 29 | EXECUTION_PATH=$ISSM_DIR/execution
|
|---|
| 30 |
|
|---|
| 31 | #repo:
|
|---|
| 32 | REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"
|
|---|
| 33 | SVN='/usr/local/bin/svn'
|
|---|
| 34 | SVNVERSION='/usr/local/bin/svnversion'
|
|---|
| 35 |
|
|---|
| 36 | #-----------------------------------#
|
|---|
| 37 | # 3: External packages installation #
|
|---|
| 38 | #-----------------------------------#
|
|---|
| 39 |
|
|---|
| 40 | #ISSM_EXTERNALPACKAGES can have 3 values:
|
|---|
| 41 | # - "install" install all external packages listed below
|
|---|
| 42 | # - "copy" copy existing directories (EXTERNALPACKAGESDIR)
|
|---|
| 43 | # - "none" leave external packages as is
|
|---|
| 44 | # ->skip to section 4
|
|---|
| 45 | ISSM_EXTERNALPACKAGES="install"
|
|---|
| 46 | EXTERNALPACKAGESDIR=$ISSM_DIR/externalpackages
|
|---|
| 47 |
|
|---|
| 48 | #List of external pakages to be installed and their installation scripts
|
|---|
| 49 | EXTERNALPACKAGES="autotools install.sh
|
|---|
| 50 | cmake install.sh
|
|---|
| 51 | mpich install-3.0-macosx64.sh
|
|---|
| 52 | m1qn3 install.sh
|
|---|
| 53 | petsc install-3.6-macosx64.sh
|
|---|
| 54 | triangle install-macosx64.sh
|
|---|
| 55 | shell2junit install.sh"
|
|---|
| 56 |
|
|---|
| 57 | #---------------------#
|
|---|
| 58 | # 4: ISSM Compilation #
|
|---|
| 59 | #---------------------#
|
|---|
| 60 |
|
|---|
| 61 | #ISSM_COMPILATION can have 2 values:
|
|---|
| 62 | # - "yes" compile ISSM
|
|---|
| 63 | # - "no" do not compile ISSM
|
|---|
| 64 | ISSM_COMPILATION="yes"
|
|---|
| 65 |
|
|---|
| 66 | #------------------------#
|
|---|
| 67 | # 5: Nightly run options #
|
|---|
| 68 | #------------------------#
|
|---|
| 69 |
|
|---|
| 70 | #number of cpus used in ISSM installation and compilation (one is usually
|
|---|
| 71 | #safer as some packages are very sensitive to parallel compilation)
|
|---|
| 72 | NUMCPUS_INSTALL=4
|
|---|
| 73 |
|
|---|
| 74 | #number of cpus used in the nightly runs.
|
|---|
| 75 | NUMCPUS_RUN=2
|
|---|
| 76 |
|
|---|
| 77 | #Nightly run options. The matlab routine runme.m will be called
|
|---|
| 78 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
|---|
| 79 | #by Matlab and runme.m
|
|---|
| 80 | #ex: "'id',[101 102 103]"
|
|---|
| 81 | ## bamg mesh FS
|
|---|
| 82 | PYTHON_NROPTIONS=""
|
|---|
| 83 | MATLAB_NROPTIONS="'exclude',[119,243,514,701,702,703,435,IdFromString('Dakota')]"
|
|---|