[16616] | 1 | #
|
---|
| 2 | ########### Configuration file for Eric Larour's Jenkins run on Murdo ############
|
---|
| 3 |
|
---|
| 4 | #-------------------------------#
|
---|
| 5 | # 1: ISSM general configuration #
|
---|
| 6 | #-------------------------------#
|
---|
| 7 |
|
---|
| 8 | #Nightly run name
|
---|
| 9 | NAME="ISSM matlab tests on Linux64 (murdo)"
|
---|
| 10 |
|
---|
| 11 | #ISSM Architecture
|
---|
| 12 | ISSM_ARCH="linux-gnu-amd64"
|
---|
| 13 |
|
---|
| 14 | #ISSM CONFIGURATION
|
---|
| 15 | ISSM_CONFIG='--prefix=$ISSM_DIR\
|
---|
| 16 | --with-matlab-dir=$MATLAB_DIR \
|
---|
| 17 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
| 18 | --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
|
---|
| 19 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
| 20 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib/ -lmpich" \
|
---|
| 21 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
[16711] | 22 | --with-python-dir=$ISSM_DIR/externalpackages/python/install\
|
---|
| 23 | --with-python-numpy-dir=$ISSM_DIR/externalpackages/python/install/lib/python2.7/site-packages/numpy/core/include/numpy\
|
---|
[16616] | 24 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
| 25 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 26 | --with-chaco-dir="$ISSM_DIR/externalpackages/chaco/install" \
|
---|
| 27 | --with-graphics-lib="/usr/lib/x86_64-linux-gnu/libX11.so" \
|
---|
[16627] | 28 | --with-dakota-dir=$ISSM_DIR/externalpackages/dakota/install \
|
---|
[16671] | 29 | --with-boost-dir=$ISSM_DIR/externalpackages/boost/install/ \
|
---|
[18301] | 30 | --with-numthreads=18 \
|
---|
[17753] | 31 | --enable-development \
|
---|
[16616] | 32 | --enable-debugging '
|
---|
| 33 |
|
---|
| 34 | #MATLAB path
|
---|
| 35 | MATLAB_PATH="/usr/local/matlab80/"
|
---|
| 36 |
|
---|
| 37 | #PYTHON and MATLAB testing
|
---|
| 38 | MATLAB_TEST=1
|
---|
[16711] | 39 | PYTHON_TEST=1
|
---|
[16616] | 40 |
|
---|
| 41 | #execution path used for parallel runs
|
---|
| 42 | EXECUTION_PATH=$ISSM_DIR/execution
|
---|
| 43 |
|
---|
[16877] | 44 | #repo:
|
---|
| 45 | REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl"
|
---|
| 46 |
|
---|
[16616] | 47 | #-----------------------------------#
|
---|
| 48 | # 3: External packages installation #
|
---|
| 49 | #-----------------------------------#
|
---|
| 50 |
|
---|
| 51 | #ISSM_EXTERNALPACKAGES can have 3 values:
|
---|
| 52 | # - "install" install all external packages listed below
|
---|
| 53 | # - "copy" copy existing directories (EXTERNALPACKAGESDIR)
|
---|
| 54 | # - "none" leave external packages as is
|
---|
| 55 | # ->skip to section 4
|
---|
[16630] | 56 | ISSM_EXTERNALPACKAGES="install"
|
---|
[16616] | 57 | EXTERNALPACKAGESDIR=$ISSM_DIR/externalpackages
|
---|
| 58 |
|
---|
| 59 | #List of external pakages to be installed and their installation scripts
|
---|
[16652] | 60 | EXTERNALPACKAGES="autotools install.sh
|
---|
| 61 | matlab install.sh
|
---|
| 62 | mpich install-3.0-linux64.sh
|
---|
| 63 | cmake install.sh
|
---|
[18301] | 64 | petsc install-3.5-linux64.sh
|
---|
[16652] | 65 | triangle install-linux64.sh
|
---|
| 66 | boost install.sh
|
---|
| 67 | dakota install-5.3.1-linux64.sh
|
---|
| 68 | chaco install.sh
|
---|
[16711] | 69 | python install-2.7.3-linux64.sh
|
---|
| 70 | nose install-linux64-python2.sh
|
---|
| 71 | blas install-linux64.sh
|
---|
| 72 | lapack install-linux64.sh
|
---|
| 73 | git install.sh
|
---|
| 74 | numpy install-linux64.sh
|
---|
| 75 | scipy install-linux64.sh
|
---|
| 76 | hdf5 install.sh
|
---|
| 77 | netcdf install.sh
|
---|
| 78 | netcdf-python install.sh
|
---|
[16652] | 79 | shell2junit install.sh"
|
---|
[16616] | 80 |
|
---|
[16711] | 81 |
|
---|
[16616] | 82 | #---------------------#
|
---|
| 83 | # 4: ISSM Compilation #
|
---|
| 84 | #---------------------#
|
---|
| 85 |
|
---|
| 86 | #ISSM_COMPILATION can have 2 values:
|
---|
| 87 | # - "yes" compile ISSM
|
---|
| 88 | # - "no" do not compile ISSM
|
---|
[16652] | 89 | ISSM_COMPILATION="yes"
|
---|
[16616] | 90 |
|
---|
| 91 | #----------------------#
|
---|
| 92 | # 5: Mail notification #
|
---|
| 93 | #----------------------#
|
---|
| 94 |
|
---|
| 95 | #Mail delivery. If SKIPMAIL="no", the html nightly run report will be
|
---|
| 96 | #sent to the adresses present in $ISSM_DIR/cron/mailinglist.
|
---|
| 97 | SKIPMAIL="no"
|
---|
| 98 |
|
---|
| 99 | #Sender email address
|
---|
| 100 | EMAIL_ADRESS="eric.larour@jpl.nasa.gov"
|
---|
| 101 |
|
---|
| 102 | #Mailing list
|
---|
| 103 | MAILINGLIST="eric.larour@jpl.nasa.gov"
|
---|
| 104 |
|
---|
| 105 | #------------------------#
|
---|
| 106 | # 6: Nightly run options #
|
---|
| 107 | #------------------------#
|
---|
| 108 |
|
---|
| 109 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
| 110 | #safer as some packages are very sensitive to parallel compilation)
|
---|
| 111 | NUMCPUS_INSTALL=8
|
---|
| 112 |
|
---|
| 113 | #number of cpus used in the nightly runs.
|
---|
| 114 | NUMCPUS_RUN=8
|
---|
| 115 |
|
---|
| 116 | #Nightly run options. The matlab routine runme.m will be called
|
---|
| 117 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
| 118 | #by Matlab and runme.m
|
---|
| 119 | #ex: "'id',[101 102 103]"
|
---|
[17374] | 120 | MATLAB_NROPTIONS="'exclude',[119,514,701,702,435]"
|
---|
| 121 | PYTHON_NROPTIONS="--exclude 119 514 701 702 435"
|
---|