| [19675] | 1 | # | 
|---|
|  | 2 | #-------------------------------# | 
|---|
|  | 3 | # 1: ISSM general configuration # | 
|---|
|  | 4 | #-------------------------------# | 
|---|
|  | 5 |  | 
|---|
|  | 6 | #ISSM CONFIGURATION | 
|---|
|  | 7 | ISSM_CONFIG='--prefix=$ISSM_DIR\ | 
|---|
|  | 8 | --disable-static \ | 
|---|
|  | 9 | --prefix=$ISSM_DIR \ | 
|---|
|  | 10 | --without-kriging \ | 
|---|
|  | 11 | --without-kml \ | 
|---|
|  | 12 | --without-Gia \ | 
|---|
|  | 13 | --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \ | 
|---|
|  | 14 | --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \ | 
|---|
|  | 15 | --with-matlab-dir=$MATLAB_DIR \ | 
|---|
|  | 16 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install ' | 
|---|
|  | 17 | #MATLAB path | 
|---|
|  | 18 | MATLAB_PATH="/usr/local/MATLAB/R2015a" | 
|---|
|  | 19 |  | 
|---|
|  | 20 | #PYTHON and MATLAB testing | 
|---|
|  | 21 | MATLAB_TEST=1 | 
|---|
|  | 22 | PYTHON_TEST=0 | 
|---|
|  | 23 |  | 
|---|
|  | 24 | #execution path used for parallel runs | 
|---|
|  | 25 | EXECUTION_PATH=$ISSM_DIR/execution | 
|---|
|  | 26 |  | 
|---|
|  | 27 | #repo: | 
|---|
|  | 28 | REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl" | 
|---|
|  | 29 | SVN='/usr/bin/svn' | 
|---|
|  | 30 | SVNVERSION='/usr/bin/svnversion' | 
|---|
|  | 31 |  | 
|---|
|  | 32 | #-----------------------------------# | 
|---|
|  | 33 | # 3: External packages installation # | 
|---|
|  | 34 | #-----------------------------------# | 
|---|
|  | 35 |  | 
|---|
|  | 36 | #ISSM_EXTERNALPACKAGES can have 3 values: | 
|---|
|  | 37 | # - "install" install all external packages listed below | 
|---|
|  | 38 | # - "copy"    copy existing directories (EXTERNALPACKAGESDIR) | 
|---|
|  | 39 | # - "none"    leave external packages as is | 
|---|
|  | 40 | #             ->skip to section 4 | 
|---|
|  | 41 | ISSM_EXTERNALPACKAGES="install" | 
|---|
|  | 42 | EXTERNALPACKAGESDIR=$ISSM_DIR/externalpackages | 
|---|
|  | 43 |  | 
|---|
|  | 44 | #List of external pakages to be installed and their installation scripts | 
|---|
|  | 45 | EXTERNALPACKAGES="autotools install.sh | 
|---|
|  | 46 | matlab install.sh | 
|---|
|  | 47 | mpich install-3.0-linux64.sh | 
|---|
|  | 48 | petsc install-3.5-linux64.sh | 
|---|
|  | 49 | metis install-5.0.1-linux64.sh | 
|---|
|  | 50 | triangle install-linux64.sh | 
|---|
|  | 51 | gsl install-linux64.sh | 
|---|
|  | 52 | adolc install.sh | 
|---|
|  | 53 | shell2junit install.sh" | 
|---|
|  | 54 |  | 
|---|
|  | 55 | #---------------------# | 
|---|
|  | 56 | # 4: ISSM Compilation # | 
|---|
|  | 57 | #---------------------# | 
|---|
|  | 58 |  | 
|---|
|  | 59 | #ISSM_COMPILATION can have 2 values: | 
|---|
|  | 60 | # - "yes" compile ISSM | 
|---|
|  | 61 | # - "no"  do not compile ISSM | 
|---|
|  | 62 | ISSM_COMPILATION="yes" | 
|---|
|  | 63 |  | 
|---|
|  | 64 | #------------------------# | 
|---|
|  | 65 | # 5: Nightly run options # | 
|---|
|  | 66 | #------------------------# | 
|---|
|  | 67 |  | 
|---|
|  | 68 | #number of cpus used in ISSM installation and compilation (one is usually | 
|---|
|  | 69 | #safer as some packages are very sensitive to parallel compilation) | 
|---|
|  | 70 | NUMCPUS_INSTALL=3 | 
|---|
|  | 71 |  | 
|---|
|  | 72 | #number of cpus used in the nightly runs. | 
|---|
|  | 73 | NUMCPUS_RUN=2 | 
|---|
|  | 74 |  | 
|---|
|  | 75 | #Nightly run options. The matlab routine runme.m will be called | 
|---|
|  | 76 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable | 
|---|
|  | 77 | #by Matlab and runme.m | 
|---|
|  | 78 | #ex: "'id',[101 102 103]" | 
|---|
|  | 79 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019]" | 
|---|
|  | 80 | PYTHON_NROPTIONS="" | 
|---|