[28017] | 1 | MATLAB_PATH=$(cygpath -u $(cygpath -ms "/c/Program Files/MATLAB/R2023b"))
|
---|
[26039] | 2 |
|
---|
[26034] | 3 | ISSM_CONFIG='\
|
---|
| 4 | --prefix=${ISSM_DIR} \
|
---|
| 5 | --enable-development \
|
---|
| 6 | --enable-debugging \
|
---|
| 7 | --with-numthreads=4 \
|
---|
| 8 | --with-vendor="win-msys2" \
|
---|
[26752] | 9 | --with-matlab-dir="${MATLAB_PATH}" \
|
---|
[26034] | 10 | --with-mpi-include="${MSMPI_ROOT}/include" \
|
---|
[27965] | 11 | --with-mpi-libdir="-Wl,-L${MSMPI_ROOT}/lib" \
|
---|
| 12 | --with-mpi-libflags="-Wl,-lmsmpi" \
|
---|
[27947] | 13 | --with-fortran-lib="-Wl,-L/c/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/13.2.0 -Wl,-lgfortran" \
|
---|
[26034] | 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" \
|
---|
[26752] | 17 | --with-scalapack-dir="${ISSM_DIR}/externalpackages/petsc/install" \
|
---|
| 18 | --with-mumps-dir="${ISSM_DIR}/externalpackages/petsc/install" \
|
---|
[26034] | 19 | --with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \
|
---|
| 20 | --with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
|
---|
[26752] | 21 | --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \
|
---|
[28038] | 22 | --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
|
---|
[26034] | 23 | '
|
---|
| 24 |
|
---|
| 25 | #-------------------#
|
---|
| 26 | # External Packages #
|
---|
| 27 | #-------------------#
|
---|
| 28 |
|
---|
| 29 | EXTERNALPACKAGES="
|
---|
[26039] | 30 | msmpi install.sh
|
---|
[26034] | 31 | petsc install-3.14-win-msys2-mingw-msmpi.sh
|
---|
| 32 | triangle install-win-msys2-mingw.sh
|
---|
[28083] | 33 | m1qn3 install-win-msys2-mingw-static.sh
|
---|
[28038] | 34 | semic install.sh
|
---|
[26034] | 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
|
---|
[26765] | 56 | NUMCPUS_RUN=2
|
---|
[26034] | 57 |
|
---|
| 58 | # Nightly run options
|
---|
| 59 | #
|
---|
| 60 | # See documentation in test/NightlyRun/runme.* for more information
|
---|
| 61 | #
|
---|
[26156] | 62 | # NOTE:
|
---|
[26447] | 63 | # - Tests 125, 126, and 129 are skipped because restart is not yet implemented
|
---|
| 64 | # for Windows (under MSYS2)
|
---|
[26156] | 65 | # - test701 is skipped because it uses full Stokes equations
|
---|
| 66 | #
|
---|
[26447] | 67 | MATLAB_NROPTIONS="'exclude',[IdFromString('Dakota'),125,126,129,435,701,702,703]"
|
---|
[26034] | 68 | PYTHON_NROPTIONS=""
|
---|