1 |
|
---|
2 | #-------------------------------#
|
---|
3 | # 1: ISSM general configuration #
|
---|
4 | #-------------------------------#
|
---|
5 |
|
---|
6 | #MATLAB path
|
---|
7 | MATLAB_PATH="/cygdrive/c/Programs/MATLAB/R2015a/"
|
---|
8 |
|
---|
9 | #ISSM CONFIGURATION
|
---|
10 | ISSM_CONFIG='--prefix=$ISSM_DIR \
|
---|
11 | --with-vendor=MSVC-Win64 \
|
---|
12 | --with-cxxoptflags='-fp:strict' \
|
---|
13 | --disable-static \
|
---|
14 | --enable-standalone-libraries \
|
---|
15 | --with-fortran=no \
|
---|
16 | --without-GiaIvins \
|
---|
17 | --without-Love \
|
---|
18 | --without-kriging \
|
---|
19 | --without-kml \
|
---|
20 | --with-matlab-dir=$MATLAB_PATH \
|
---|
21 | --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
|
---|
22 | --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
|
---|
23 | --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
|
---|
24 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/ \
|
---|
25 | --with-mpi-libdir="$ISSM_DIR/externalpackages/petsc/install/lib" \
|
---|
26 | --with-mpi-libflags="-Wl,libpetsc.lib" \
|
---|
27 | --with-mpi-include="$ISSM_DIR/externalpackages/petsc/install/include/petsc/mpiuni" \
|
---|
28 | --enable-development \
|
---|
29 | --enable-debugging '
|
---|
30 |
|
---|
31 | #PYTHON and MATLAB testing
|
---|
32 | MATLAB_TEST=1
|
---|
33 | PYTHON_TEST=0
|
---|
34 |
|
---|
35 | #-----------------------------------#
|
---|
36 | # 3: External packages installation #
|
---|
37 | #-----------------------------------#
|
---|
38 |
|
---|
39 | #List of external pakages to be installed and their installation scripts
|
---|
40 | EXTERNALPACKAGES="autotools install-win.sh
|
---|
41 | petsc install-3.6-win10.sh
|
---|
42 | metis install-4.0-win10.sh
|
---|
43 | triangle install-win10.sh
|
---|
44 | shell2junit install.sh"
|
---|
45 |
|
---|
46 | #-----------------#
|
---|
47 | # 4: test options #
|
---|
48 | #-----------------#
|
---|
49 |
|
---|
50 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
51 | #safer as some packages are very sensitive to parallel compilation)
|
---|
52 | NUMCPUS_INSTALL=6
|
---|
53 |
|
---|
54 | #number of cpus used in the nightly runs.
|
---|
55 | NUMCPUS_RUN=2
|
---|
56 |
|
---|
57 | #Nightly run options. The matlab routine runme.m will be called
|
---|
58 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
59 | #by Matlab and runme.m
|
---|
60 | #ex: "'id',[101 102 103]"
|
---|
61 |
|
---|
62 | #In Windows, we don't yet have MUMPS, can't do full stokes, so exclude all FS runs. Also exclude all runs with Dakota. And exclude higher order runs that have penalties. And 800+ tests because we don't want to have --with-development since we do the binaries with this version
|
---|
63 | MATLAB_NROPTIONS="'exclude',[104,119, 124,125,126, 204, 211, 215, 220, 221, 285, 290, 308, 322, 404, 421, 422, 503, 507, 510, 511, 513, 701, 702, 703, 218, 234, 235, 250, 251, 412, 413, 414, 417, 418, 420, 440,444, 205, 274, 331, 405, 409, 455, 612, 514, 435, 280, 801, 802, 803, 804, 805, 291, 340, 341, 460, 243, 430, 441, 442, 463, 464, 465, 244]"
|
---|
64 | PYTHON_NROPTIONS=""
|
---|