| [19675] | 1 | # | 
|---|
|  | 2 | #-------------------------------# | 
|---|
|  | 3 | # 1: ISSM general configuration # | 
|---|
|  | 4 | #-------------------------------# | 
|---|
|  | 5 |  | 
|---|
| [20338] | 6 | #MATLAB path | 
|---|
|  | 7 | MATLAB_PATH="/usr/local/MATLAB/R2015a" | 
|---|
|  | 8 |  | 
|---|
| [23121] | 9 | #ISSM CONFIGURATION | 
|---|
| [24232] | 10 | ISSM_CONFIG='--prefix=$ISSM_DIR \ | 
|---|
| [19675] | 11 | --disable-static \ | 
|---|
|  | 12 | --without-kriging \ | 
|---|
|  | 13 | --without-kml \ | 
|---|
| [21571] | 14 | --without-GiaIvins \ | 
|---|
| [22017] | 15 | --without-Love \ | 
|---|
| [20338] | 16 | --with-matlab-dir=$MATLAB_PATH \ | 
|---|
| [23121] | 17 | --with-python-dir=/usr \ | 
|---|
|  | 18 | --with-python-numpy-dir=/var/lib/jenkins/.local/lib/python2.7/site-packages/numpy \ | 
|---|
| [24232] | 19 | --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/4.9 -lgfortran" \ | 
|---|
|  | 20 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include  \ | 
|---|
|  | 21 | --with-mpi-libflags="-L$ISSM_DIR/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \ | 
|---|
|  | 22 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \ | 
|---|
|  | 23 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install \ | 
|---|
|  | 24 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \ | 
|---|
|  | 25 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \ | 
|---|
| [21095] | 26 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \ | 
|---|
| [24232] | 27 | --with-gsl-dir=$ISSM_DIR/externalpackages/gsl/install \ | 
|---|
|  | 28 | --with-adolc-dir=$ISSM_DIR/externalpackages/adolc/install \ | 
|---|
| [21095] | 29 | --enable-development \ | 
|---|
| [24232] | 30 | --enable-debugging' | 
|---|
| [19675] | 31 |  | 
|---|
|  | 32 | #PYTHON and MATLAB testing | 
|---|
|  | 33 | MATLAB_TEST=1 | 
|---|
| [19968] | 34 | PYTHON_TEST=1 | 
|---|
| [19675] | 35 |  | 
|---|
|  | 36 | #-----------------------------------# | 
|---|
|  | 37 | # 3: External packages installation # | 
|---|
|  | 38 | #-----------------------------------# | 
|---|
|  | 39 |  | 
|---|
|  | 40 | #List of external pakages to be installed and their installation scripts | 
|---|
| [24232] | 41 | # | 
|---|
|  | 42 | # NOTE: The PETSc libraries are compiled but not used as they conflict with | 
|---|
|  | 43 | #               ADOL-C: PETSc is really just being used as an installer for other | 
|---|
|  | 44 | #               external packages. | 
|---|
| [22571] | 45 | EXTERNALPACKAGES="autotools install.sh | 
|---|
| [23121] | 46 | cmake install.sh | 
|---|
| [21694] | 47 | mpich install-3.2-linux64.sh | 
|---|
| [20554] | 48 | petsc install-3.7-linux64.sh | 
|---|
| [23121] | 49 | triangle install-linux64.sh | 
|---|
|  | 50 | gsl install-linux64.sh | 
|---|
| [19675] | 51 | adolc install.sh | 
|---|
|  | 52 | shell2junit install.sh" | 
|---|
|  | 53 |  | 
|---|
| [20402] | 54 | #-----------------# | 
|---|
|  | 55 | # 4: test options # | 
|---|
|  | 56 | #-----------------# | 
|---|
| [19675] | 57 |  | 
|---|
|  | 58 | #number of cpus used in ISSM installation and compilation (one is usually | 
|---|
|  | 59 | #safer as some packages are very sensitive to parallel compilation) | 
|---|
| [20052] | 60 | NUMCPUS_INSTALL=5 | 
|---|
| [19675] | 61 |  | 
|---|
|  | 62 | #number of cpus used in the nightly runs. | 
|---|
| [20052] | 63 | NUMCPUS_RUN=4 | 
|---|
| [19675] | 64 |  | 
|---|
|  | 65 | #Nightly run options. The matlab routine runme.m will be called | 
|---|
|  | 66 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable | 
|---|
|  | 67 | #by Matlab and runme.m | 
|---|
|  | 68 | #ex: "'id',[101 102 103]" | 
|---|
| [20314] | 69 | MATLAB_NROPTIONS="'benchmark','adolc','id',[3001:3019]" | 
|---|
| [20989] | 70 | PYTHON_NROPTIONS="--benchmark=adolc -i 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019" | 
|---|