1 | MATLAB_PATH=$(cygpath -u $(cygpath -ms "/c/Program Files/MATLAB/R2019b"))
|
---|
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="${MSMPI_ROOT}/lib" \
|
---|
12 | --with-mpi-libflags="-lmsmpi" \
|
---|
13 | --with-fortran-lib="-L/c/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/10.2.0/ -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-chaco-dir="${ISSM_DIR}/externalpackages/chaco/install" \
|
---|
22 | --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \
|
---|
23 | --with-semic-dir="${ISSM_DIR}/externalpackages/semic/install" \
|
---|
24 | '
|
---|
25 |
|
---|
26 | #-------------------#
|
---|
27 | # External Packages #
|
---|
28 | #-------------------#
|
---|
29 |
|
---|
30 | #List of external packages to be installed and their installation scripts
|
---|
31 | EXTERNALPACKAGES="
|
---|
32 | msmpi install.sh
|
---|
33 | petsc install-3.14-win-msys2-mingw-msmpi.sh
|
---|
34 | triangle install-win-msys2-mingw.sh
|
---|
35 | chaco install-win-msys2-mingw.sh
|
---|
36 | m1qn3 install.sh
|
---|
37 | semic install.sh
|
---|
38 | shell2junit install.sh
|
---|
39 | "
|
---|
40 |
|
---|
41 | #---------#
|
---|
42 | # Testing #
|
---|
43 | #---------#
|
---|
44 |
|
---|
45 | # Test suites
|
---|
46 | MATLAB_TEST=1
|
---|
47 | PYTHON_TEST=0
|
---|
48 | JAVASCRIPT_TEST=0
|
---|
49 | EXAMPLES_TEST=0
|
---|
50 |
|
---|
51 | # Number of CPUs used in ISSM compilation
|
---|
52 | #
|
---|
53 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
54 | # compilation
|
---|
55 | #
|
---|
56 | NUMCPUS_INSTALL=4
|
---|
57 |
|
---|
58 | # Number of CPUs used in the nightly runs
|
---|
59 | NUMCPUS_RUN=2
|
---|
60 |
|
---|
61 | # Nightly run options
|
---|
62 | #
|
---|
63 | # See documentation in test/NightlyRun/runme.* for more information
|
---|
64 | #
|
---|
65 | # NOTE:
|
---|
66 | # - Tests 125, 126, and 129 are skipped because restart is not yet implemented
|
---|
67 | # for Windows (under MSYS2)
|
---|
68 | # - test701 is skipped because it uses full Stokes equations
|
---|
69 | #
|
---|
70 | MATLAB_NROPTIONS="'exclude',[IdFromString('Dakota'),125,126,129,435,701,702,703]"
|
---|
71 | PYTHON_NROPTIONS=""
|
---|