| 1 | MATLAB_PATH=$(cygpath -u $(cygpath -ms "/c/Program Files/MATLAB/R2023b"))
 | 
|---|
| 2 | 
 | 
|---|
| 3 | ISSM_CONFIG='\
 | 
|---|
| 4 |         --prefix=${ISSM_DIR} \
 | 
|---|
| 5 |         --enable-development \
 | 
|---|
| 6 |         --enable-debugging \
 | 
|---|
| 7 |         --with-numthreads=4 \
 | 
|---|
| 8 |         --with-vendor="win-msys2" \
 | 
|---|
| 9 |         --with-matlab-dir="${MATLAB_PATH}" \
 | 
|---|
| 10 |         --with-mpi-include="${MSMPI_ROOT}/include" \
 | 
|---|
| 11 |         --with-mpi-libdir="-Wl,-L${MSMPI_ROOT}/lib" \
 | 
|---|
| 12 |         --with-mpi-libflags="-Wl,-lmsmpi" \
 | 
|---|
| 13 |         --with-fortran-lib="-Wl,-L/c/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/13.2.0 -Wl,-lgfortran" \
 | 
|---|
| 14 |         --with-metis-dir="${ISSM_DIR}/externalpackages/petsc/install" \
 | 
|---|
| 15 |         --with-parmetis-dir="${ISSM_DIR}/externalpackages/petsc/install" \
 | 
|---|
| 16 |         --with-blas-lapack-dir="${ISSM_DIR}/externalpackages/petsc/install" \
 | 
|---|
| 17 |         --with-scalapack-dir="${ISSM_DIR}/externalpackages/petsc/install" \
 | 
|---|
| 18 |         --with-mumps-dir="${ISSM_DIR}/externalpackages/petsc/install" \
 | 
|---|
| 19 |         --with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \
 | 
|---|
| 20 |         --with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
 | 
|---|
| 21 |         --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \
 | 
|---|
| 22 |         --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
 | 
|---|
| 23 | '
 | 
|---|
| 24 | 
 | 
|---|
| 25 | #-------------------#
 | 
|---|
| 26 | # External Packages #
 | 
|---|
| 27 | #-------------------#
 | 
|---|
| 28 | 
 | 
|---|
| 29 | EXTERNALPACKAGES="
 | 
|---|
| 30 |         msmpi           install.sh
 | 
|---|
| 31 |         petsc           install-3.14-win-msys2-mingw-msmpi.sh
 | 
|---|
| 32 |         triangle        install-win-msys2-mingw.sh
 | 
|---|
| 33 |         m1qn3           install-win-msys2-mingw-static.sh
 | 
|---|
| 34 |         semic           install.sh
 | 
|---|
| 35 |         shell2junit     install.sh
 | 
|---|
| 36 | "
 | 
|---|
| 37 | 
 | 
|---|
| 38 | #---------#
 | 
|---|
| 39 | # Testing #
 | 
|---|
| 40 | #---------#
 | 
|---|
| 41 | 
 | 
|---|
| 42 | # Test suites
 | 
|---|
| 43 | MATLAB_TEST=1
 | 
|---|
| 44 | PYTHON_TEST=0
 | 
|---|
| 45 | JAVASCRIPT_TEST=0
 | 
|---|
| 46 | EXAMPLES_TEST=0
 | 
|---|
| 47 | 
 | 
|---|
| 48 | # Number of CPUs used in ISSM compilation
 | 
|---|
| 49 | #
 | 
|---|
| 50 | # NOTE: One is usually safer as some packages are very sensitive to parallel
 | 
|---|
| 51 | #               compilation
 | 
|---|
| 52 | #
 | 
|---|
| 53 | NUMCPUS_INSTALL=4
 | 
|---|
| 54 | 
 | 
|---|
| 55 | # Number of CPUs used in the nightly runs
 | 
|---|
| 56 | NUMCPUS_RUN=2
 | 
|---|
| 57 | 
 | 
|---|
| 58 | # Nightly run options
 | 
|---|
| 59 | #
 | 
|---|
| 60 | # See documentation in test/NightlyRun/runme.* for more information
 | 
|---|
| 61 | #
 | 
|---|
| 62 | # NOTE:
 | 
|---|
| 63 | # - Tests 125, 126, and 129 are skipped because restart is not yet implemented 
 | 
|---|
| 64 | #       for Windows (under MSYS2)
 | 
|---|
| 65 | # - test701 is skipped because it uses full Stokes equations
 | 
|---|
| 66 | #
 | 
|---|
| 67 | MATLAB_NROPTIONS="'exclude',[IdFromString('Dakota'),125,126,129,435,701,702,703]"
 | 
|---|
| 68 | PYTHON_NROPTIONS=""
 | 
|---|