[24412] | 1 | #-------------------------------#
|
---|
| 2 | # 1: ISSM general configuration #
|
---|
| 3 | #-------------------------------#
|
---|
| 4 |
|
---|
| 5 | #MATLAB path
|
---|
| 6 | MATLAB_PATH="/usr/local/MATLAB/R2019b"
|
---|
| 7 |
|
---|
| 8 | #ISSM CONFIGURATION
|
---|
| 9 | ISSM_CONFIG='\
|
---|
| 10 | --prefix=$ISSM_DIR \
|
---|
| 11 | --disable-static \
|
---|
| 12 | --with-matlab-dir=$MATLAB_PATH \
|
---|
| 13 | --with-python-dir=/usr \
|
---|
| 14 | --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
|
---|
| 15 | --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/8 -lgfortran" \
|
---|
| 16 | --with-mpi-include=$ISSM_DIR/externalpackages/mpich/install/include \
|
---|
| 17 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/mpich/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 18 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/lapack/install \
|
---|
| 19 | --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 20 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 21 | --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 22 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 23 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
| 24 | --with-boost-dir=$ISSM_DIR/externalpackages/boost/install \
|
---|
| 25 | --with-numthreads=4 \
|
---|
| 26 | --enable-development \
|
---|
| 27 | --enable-debugging \
|
---|
| 28 | '
|
---|
| 29 |
|
---|
| 30 | # Test suites
|
---|
| 31 | MATLAB_TEST=1
|
---|
| 32 | PYTHON_TEST=1
|
---|
| 33 | JAVASCRIPT_TEST=0
|
---|
| 34 | EXAMPLES_TEST=0
|
---|
| 35 |
|
---|
| 36 | #-----------------------------------#
|
---|
| 37 | # 3: External packages installation #
|
---|
| 38 | #-----------------------------------#
|
---|
| 39 |
|
---|
| 40 | # List of external packages to be installed and their installation scripts
|
---|
| 41 | #
|
---|
| 42 | # TODO:
|
---|
| 43 | # - After upgrading Jenkins nodes to Ubuntu 18, use MPICH 3.3 and PETSc 3.11
|
---|
| 44 | # (which will install zlib, HDF5, and NetCDF).
|
---|
| 45 | #
|
---|
| 46 | EXTERNALPACKAGES="
|
---|
| 47 | autotools install-debian.sh
|
---|
| 48 | cmake install.sh
|
---|
| 49 | mpich install-3.3.sh
|
---|
| 50 | lapack install-3.8-linux.sh
|
---|
| 51 | petsc install-3.11-linux.sh
|
---|
| 52 | triangle install-linux64.sh
|
---|
| 53 | chaco install.sh
|
---|
| 54 | m1qn3 install.sh
|
---|
| 55 | semic install.sh
|
---|
| 56 | boost install-1.55-linux.sh
|
---|
| 57 | proj install-6.2.sh
|
---|
| 58 | gdal install-3.0-netcdf.sh
|
---|
| 59 | gshhg install.sh
|
---|
| 60 | gmt install-6.0-linux.sh
|
---|
| 61 | gmsh install.sh
|
---|
| 62 | shell2junit install.sh
|
---|
| 63 | "
|
---|
| 64 |
|
---|
| 65 | #-----------------#
|
---|
| 66 | # 4: test options #
|
---|
| 67 | #-----------------#
|
---|
| 68 |
|
---|
| 69 | # Number of CPUs used in ISSM compilation
|
---|
| 70 | #
|
---|
| 71 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 72 | # compilation.
|
---|
| 73 | #
|
---|
| 74 | NUMCPUS_INSTALL=8
|
---|
| 75 |
|
---|
| 76 | # Number of cpus used in the nightly runs
|
---|
| 77 | #
|
---|
| 78 | # NOTE: Possible problem of access to all_vertices.txt if more than 1.
|
---|
| 79 | #
|
---|
| 80 | NUMCPUS_RUN=1
|
---|
| 81 |
|
---|
| 82 | # Nightly run options
|
---|
| 83 | #
|
---|
| 84 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
| 85 | #
|
---|
| 86 | MATLAB_NROPTIONS="'benchmark','slr'"
|
---|
| 87 | PYTHON_NROPTIONS="--benchmark=slr"
|
---|