[24919] | 1 | #--------------------#
|
---|
| 2 | # ISSM Configuration #
|
---|
| 3 | #--------------------#
|
---|
| 4 |
|
---|
| 5 | MATLAB_PATH="/usr/local/MATLAB/R2019b"
|
---|
| 6 |
|
---|
| 7 | # NOTE:
|
---|
| 8 | # - We can disable dependency tracking in the Autotools because the binaries
|
---|
| 9 | # should always be a one-time build.
|
---|
| 10 | # - libgfortran will not be available in $ISSM_DIR/lib at compile time: it is
|
---|
| 11 | # copied by packaging script.
|
---|
| 12 | #
|
---|
| 13 | ISSM_CONFIG='\
|
---|
| 14 | --prefix="${ISSM_DIR}" \
|
---|
| 15 | --enable-standalone-executables \
|
---|
| 16 | --enable-standalone-modules \
|
---|
| 17 | --enable-standalone-libraries \
|
---|
| 18 | --disable-dependency-tracking \
|
---|
| 19 | --with-numthreads=4 \
|
---|
| 20 | --with-pic \
|
---|
| 21 | --with-matlab-dir=${MATLAB_PATH} \
|
---|
| 22 | --with-python-dir=/usr \
|
---|
| 23 | --with-python-numpy-dir=/usr/local/lib/python2.7/dist-packages/numpy \
|
---|
| 24 | --with-fortran-lib="-L${ISSM_DIR}/lib -lgfortran" \
|
---|
| 25 | --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
|
---|
| 26 | --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
|
---|
| 27 | --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 28 | --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 29 | --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 30 | --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 31 | --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 32 | --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
|
---|
| 33 | --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
|
---|
| 34 | --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
|
---|
[24942] | 35 | --with-gmsh-dir=${ISSM_DIR}/externalpackages/gmsh/install
|
---|
[24919] | 36 | '
|
---|
| 37 |
|
---|
| 38 | #-------------------#
|
---|
| 39 | # External Packages #
|
---|
| 40 | #-------------------#
|
---|
| 41 |
|
---|
| 42 | EXTERNALPACKAGES="
|
---|
| 43 | autotools install-debian-linux.sh
|
---|
| 44 | cmake install.sh
|
---|
| 45 | petsc install-3.12-linux-solid_earth-static.sh
|
---|
[24948] | 46 | boost install-1.7-linux-static.sh
|
---|
[24919] | 47 | triangle install-linux-static.sh
|
---|
| 48 | chaco install.sh
|
---|
| 49 | m1qn3 install.sh
|
---|
| 50 | semic install.sh
|
---|
| 51 | curl install-7.67-static.sh
|
---|
| 52 | netcdf install-4.7-parallel-static.sh
|
---|
| 53 | proj install-6.2-static.sh
|
---|
| 54 | gdal install-3.0-python-netcdf-static.sh
|
---|
| 55 | gshhg install.sh
|
---|
| 56 | gmt install-6.0-linux-static.sh
|
---|
| 57 | gmsh install-4-static.sh
|
---|
| 58 | shell2junit install.sh
|
---|
| 59 | "
|
---|
| 60 |
|
---|
| 61 | #---------#
|
---|
| 62 | # Testing #
|
---|
| 63 | #---------#
|
---|
| 64 |
|
---|
| 65 | # Test suites
|
---|
| 66 | MATLAB_TEST=0
|
---|
| 67 | PYTHON_TEST=0
|
---|
| 68 | JAVASCRIPT_TEST=0
|
---|
| 69 | EXAMPLES_TEST=0
|
---|
| 70 |
|
---|
| 71 | # Number of CPUs used in ISSM compilation
|
---|
| 72 | #
|
---|
| 73 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
| 74 | # compilation.
|
---|
| 75 | #
|
---|
| 76 | NUMCPUS_INSTALL=8
|
---|
| 77 |
|
---|
| 78 | # Number of CPUs used in the nightly runs
|
---|
| 79 | NUMCPUS_RUN=1
|
---|
| 80 |
|
---|
| 81 | # Nightly run options
|
---|
| 82 | #
|
---|
| 83 | # See documentation in test/NightlyRun/runme.* for more information.
|
---|
| 84 | #
|
---|
| 85 | MATLAB_NROPTIONS=""
|
---|
| 86 | PYTHON_NROPTIONS=""
|
---|