[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 \
|
---|
| 17 | --with-numthreads=8 \
|
---|
| 18 | --enable-debugging \
|
---|
| 19 | --enable-development'
|
---|
| 20 |
|
---|
| 21 | #MATLAB path
|
---|
| 22 | MATLAB_PATH="/Applications/MATLAB_R2011b.app/"
|
---|
| 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 |
|
---|
| 34 | #-----------------------------------#
|
---|
| 35 | # 3: External packages installation #
|
---|
| 36 | #-----------------------------------#
|
---|
| 37 |
|
---|
| 38 | #ISSM_EXTERNALPACKAGES can have 3 values:
|
---|
| 39 | # - "install" install all external packages listed below
|
---|
| 40 | # - "copy" copy existing directories (EXTERNALPACKAGESDIR)
|
---|
| 41 | # - "none" leave external packages as is
|
---|
| 42 | # ->skip to section 4
|
---|
| 43 | ISSM_EXTERNALPACKAGES="install"
|
---|
| 44 | EXTERNALPACKAGESDIR=$ISSM_DIR/externalpackages
|
---|
| 45 |
|
---|
| 46 | #List of external pakages to be installed and their installation scripts
|
---|
| 47 | EXTERNALPACKAGES="autotools install.sh
|
---|
| 48 | matlab install.sh
|
---|
| 49 | mpich install-3.0-macosx64.sh
|
---|
| 50 | cmake install.sh
|
---|
| 51 | m1qn3 install.sh
|
---|
| 52 | petsc install-3.5-macosx64.sh
|
---|
| 53 | triangle install-macosx64.sh
|
---|
| 54 | shell2junit install.sh "
|
---|
| 55 |
|
---|
| 56 | #---------------------#
|
---|
| 57 | # 4: ISSM Compilation #
|
---|
| 58 | #---------------------#
|
---|
| 59 |
|
---|
| 60 | #ISSM_COMPILATION can have 2 values:
|
---|
| 61 | # - "yes" compile ISSM
|
---|
| 62 | # - "no" do not compile ISSM
|
---|
| 63 | ISSM_COMPILATION="yes"
|
---|
| 64 |
|
---|
| 65 | #------------------------#
|
---|
| 66 | # 5: Nightly run options #
|
---|
| 67 | #------------------------#
|
---|
| 68 |
|
---|
| 69 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
| 70 | #safer as some packages are very sensitive to parallel compilation)
|
---|
| 71 | NUMCPUS_INSTALL=8
|
---|
| 72 |
|
---|
| 73 | #number of cpus used in the nightly runs.
|
---|
| 74 | NUMCPUS_RUN=1
|
---|
| 75 |
|
---|
| 76 | #Nightly run options. The matlab routine runme.m will be called
|
---|
| 77 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
| 78 | #by Matlab and runme.m
|
---|
| 79 | #ex: "'id',[101 102 103]"
|
---|
| 80 | ## bamg mesh FS
|
---|
| 81 | MATLAB_NROPTIONS="'exclude',[218 234 235 412 413 414 417 418 420 514 701 702 703 422 404 421 503 507 510]"
|
---|
| 82 | PYTHON_NROPTIONS=""
|
---|