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