| 1 | ########### Configuration file for Mathieu Morlighem's nightly run on Linux ############
|
|---|
| 2 |
|
|---|
| 3 | #-------------------------------#
|
|---|
| 4 | # 1: ISSM general configuration #
|
|---|
| 5 | #-------------------------------#
|
|---|
| 6 |
|
|---|
| 7 | #ISSM main directory (full path)
|
|---|
| 8 | ISSM_DIR="/u/astrid-r1b/cborstad/issmuci"
|
|---|
| 9 | ISSM_TIER="/u/astrid-r1b/cborstad/issmuci/trunk-jpl/cron/trunk-jpl"
|
|---|
| 10 | #ISSM_TIER="/u/astrid-r1b/seroussi/svn/issm/trunk/cron/issm2.2"
|
|---|
| 11 |
|
|---|
| 12 | #ISSM Architecture
|
|---|
| 13 | ISSM_ARCH="linux-gnu-amd64"
|
|---|
| 14 |
|
|---|
| 15 | #Machine configuration
|
|---|
| 16 | MACHINE="astrid"
|
|---|
| 17 |
|
|---|
| 18 | #COMPILATION CONFIGURATION FILE
|
|---|
| 19 | COMPILE_CONFIG_FILE="config-linux64-astrid.sh"
|
|---|
| 20 |
|
|---|
| 21 | #MATLAB path
|
|---|
| 22 | MATLAB_PATH="/usr/local/pkgs/matlab-7.6/"
|
|---|
| 23 |
|
|---|
| 24 | #----------------------#
|
|---|
| 25 | # 2: ISSM Installation #
|
|---|
| 26 | #----------------------#
|
|---|
| 27 |
|
|---|
| 28 | #ISSM_INSTALLATION can have 3 values:
|
|---|
| 29 | # - "checkout" the existing version of the code will be erased and
|
|---|
| 30 | # the latest version will be checked out
|
|---|
| 31 | # - "update" the directory won't be erased but ISSM will be updated
|
|---|
| 32 | # ->skip to section 3
|
|---|
| 33 | # - "none" leave ISSM as is in its directory
|
|---|
| 34 | # ->skip to section 3
|
|---|
| 35 | ISSM_INSTALLATION="checkout"
|
|---|
| 36 |
|
|---|
| 37 | #SVN repository
|
|---|
| 38 | REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"
|
|---|
| 39 | #REPOSITORY="http://s383-rhat/issm/svn/issm/branches/issm2.2"
|
|---|
| 40 |
|
|---|
| 41 | #execution path used for parallel runs
|
|---|
| 42 | EXECUTION_PATH="/u/astrid-r1b/cborstad/ExecutionNightlyRun"
|
|---|
| 43 |
|
|---|
| 44 | #-----------------------------------#
|
|---|
| 45 | # 3: External packages installation #
|
|---|
| 46 | #-----------------------------------#
|
|---|
| 47 |
|
|---|
| 48 | #ISSM_EXTERNALPACKAGES can have 3 values:
|
|---|
| 49 | # - "install" install all external packages listed below
|
|---|
| 50 | # - "copy" copy existing directories (EXTERNALPACKAGESDIR)
|
|---|
| 51 | # - "none" leave external packages as is
|
|---|
| 52 | # ->skip to section 4
|
|---|
| 53 | ISSM_EXTERNALPACKAGES="install"
|
|---|
| 54 | EXTERNALPACKAGESDIR="/u/astrid-r1b/cborstad/issmuci/trunk-jpl/externalpackages"
|
|---|
| 55 |
|
|---|
| 56 | #List of external pakages to be installed
|
|---|
| 57 | EXTERNALPACKAGES="autoconf automake matlab mpich2 petsc metis triangle dakota chaco yams"
|
|---|
| 58 |
|
|---|
| 59 | #Corresponding list of installation files to use
|
|---|
| 60 | EXTERNALPACKAGES_CONFIGS=" install.sh install.sh install.sh install-1.0.2-linux64.sh install-3.2-linux64.sh install-4.0-linux64.sh install-linux64.sh install-linux64-astrid.sh install.sh install.sh"
|
|---|
| 61 |
|
|---|
| 62 | #---------------------#
|
|---|
| 63 | # 4: ISSM Compilation #
|
|---|
| 64 | #---------------------#
|
|---|
| 65 |
|
|---|
| 66 | #ISSM_COMPILATION can have 2 values:
|
|---|
| 67 | # - "yes" compile ISSM
|
|---|
| 68 | # - "no" do not compile ISSM
|
|---|
| 69 | ISSM_COMPILATION="yes"
|
|---|
| 70 |
|
|---|
| 71 | #----------------------#
|
|---|
| 72 | # 5: Mail notification #
|
|---|
| 73 | #----------------------#
|
|---|
| 74 |
|
|---|
| 75 | #Mail delivery. If SKIPMAIL="no", the html nightly run report will be
|
|---|
| 76 | #sent to the adresses present in $ISSM_TIER/cron/mailinglist.
|
|---|
| 77 | SKIPMAIL="no"
|
|---|
| 78 |
|
|---|
| 79 | #Sender email address
|
|---|
| 80 | EMAIL_ADRESS="cborstad@jpl.nasa.gov"
|
|---|
| 81 |
|
|---|
| 82 | #------------------------#
|
|---|
| 83 | # 6: Nightly run options #
|
|---|
| 84 | #------------------------#
|
|---|
| 85 |
|
|---|
| 86 | #number of cpus used in ISSM installation and compilation (one is usually
|
|---|
| 87 | #safer as some packages are very sensitive to parallel compilation)
|
|---|
| 88 | NUMCPUS_INSTALL=1
|
|---|
| 89 |
|
|---|
| 90 | #number of cpus used in the nightly runs.
|
|---|
| 91 | NUMCPUS_RUN=7
|
|---|
| 92 |
|
|---|
| 93 | #Nightly run options. The matlab routine nightlyrun.m will be called
|
|---|
| 94 | #as follows: nightlyrun($NROPTIONS). The options must be understandable
|
|---|
| 95 | #by Matlab and nightlyrun.m
|
|---|
| 96 | #ex: "'id',[101 102 103]"
|
|---|
| 97 |
|
|---|
| 98 | NROPTIONS="'benchmark','all'"
|
|---|
| 99 |
|
|---|