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 | --disable-static \
|
---|
13 | --enable-standalone-libraries \
|
---|
14 | --with-fortran=no \
|
---|
15 | --without-Gia \
|
---|
16 | --without-kriging \
|
---|
17 | --without-kml \
|
---|
18 | --with-matlab-dir=$MATLAB_PATH \
|
---|
19 | --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
|
---|
20 | --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
|
---|
21 | --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
|
---|
22 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/ \
|
---|
23 | --with-scalapack-dir=$ISSM_DIR/externalpackages/petsc/install/ \
|
---|
24 | --with-mpi-include="/cygdrive/c/Programs/MPICH2/include" \
|
---|
25 | --with-mpi-libflags="-Wl,mpi.lib -Wl,/LIBPATH:C:/Programs/MPICH2/lib" \
|
---|
26 | --enable-development \
|
---|
27 | --enable-debugging '
|
---|
28 |
|
---|
29 | #PYTHON and MATLAB testing
|
---|
30 | MATLAB_TEST=1
|
---|
31 | PYTHON_TEST=0
|
---|
32 |
|
---|
33 | #-----------------------------------#
|
---|
34 | # 3: External packages installation #
|
---|
35 | #-----------------------------------#
|
---|
36 |
|
---|
37 | #List of external pakages to be installed and their installation scripts
|
---|
38 | EXTERNALPACKAGES="autotools install-win.sh
|
---|
39 | petsc install-dev-win10-par.sh
|
---|
40 | metis install-4.0-win7.sh
|
---|
41 | triangle install-win7.sh
|
---|
42 | shell2junit install.sh"
|
---|
43 |
|
---|
44 | #-----------------#
|
---|
45 | # 4: test options #
|
---|
46 | #-----------------#
|
---|
47 |
|
---|
48 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
49 | #safer as some packages are very sensitive to parallel compilation)
|
---|
50 | NUMCPUS_INSTALL=8
|
---|
51 |
|
---|
52 | #number of cpus used in the nightly runs.
|
---|
53 | NUMCPUS_RUN=1
|
---|
54 |
|
---|
55 | #Nightly run options. The matlab routine runme.m will be called
|
---|
56 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
57 | #by Matlab and runme.m
|
---|
58 | #ex: "'id',[101 102 103]"
|
---|
59 |
|
---|
60 | #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
|
---|
61 | MATLAB_NROPTIONS="'exclude',[104, 124, 204, 211, 215, 220, 221, 285, 290, 308, 322, 404, 421, 422, 503, 507, 510, 511, 513, 701, 702, 703, 218, 234, 235, 412, 413, 414, 417, 418, 420, 205, 274, 331, 405, 409, 455, 612, 514, 435, 280,801,802,803,804,805,291,340,341]"
|
---|
62 | PYTHON_NROPTIONS=""
|
---|