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 | '
|
---|
22 |
|
---|
23 | #-------------------#
|
---|
24 | # External Packages #
|
---|
25 | #-------------------#
|
---|
26 |
|
---|
27 | #List of external pakages to be installed and their installation scripts
|
---|
28 | EXTERNALPACKAGES="
|
---|
29 | msmpi install.sh
|
---|
30 | petsc install-3.14-win-msys2-mingw-msmpi.sh
|
---|
31 | triangle install-win-msys2-mingw.sh
|
---|
32 | shell2junit install.sh
|
---|
33 | "
|
---|
34 |
|
---|
35 | #---------#
|
---|
36 | # Testing #
|
---|
37 | #---------#
|
---|
38 |
|
---|
39 | # Test suites
|
---|
40 | MATLAB_TEST=1
|
---|
41 | PYTHON_TEST=0
|
---|
42 | JAVASCRIPT_TEST=0
|
---|
43 | EXAMPLES_TEST=0
|
---|
44 |
|
---|
45 | # Number of CPUs used in ISSM compilation
|
---|
46 | #
|
---|
47 | # NOTE: One is usually safer as some packages are very sensitive to parallel
|
---|
48 | # compilation
|
---|
49 | #
|
---|
50 | NUMCPUS_INSTALL=4
|
---|
51 |
|
---|
52 | # Number of CPUs used in the nightly runs
|
---|
53 | NUMCPUS_RUN=2
|
---|
54 |
|
---|
55 | # Nightly run options
|
---|
56 | #
|
---|
57 | # See documentation in test/NightlyRun/runme.* for more information
|
---|
58 | #
|
---|
59 | MATLAB_NROPTIONS="'id',[101,102,201,202]"
|
---|
60 | PYTHON_NROPTIONS=""
|
---|