| 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-kriging \
|
|---|
| 18 | --without-kml \
|
|---|
| 19 | --with-matlab-dir=$MATLAB_PATH \
|
|---|
| 20 | --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
|
|---|
| 21 | --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
|
|---|
| 22 | --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
|
|---|
| 23 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/ \
|
|---|
| 24 | --with-mpi-libdir="$ISSM_DIR/externalpackages/petsc/install/lib" \
|
|---|
| 25 | --with-mpi-libflags="-Wl,libpetsc.lib" \
|
|---|
| 26 | --with-mpi-include="$ISSM_DIR/externalpackages/petsc/install/include/petsc/mpiuni" \
|
|---|
| 27 | --enable-development \
|
|---|
| 28 | --enable-debugging '
|
|---|
| 29 |
|
|---|
| 30 | #PYTHON and MATLAB testing
|
|---|
| 31 | MATLAB_TEST=1
|
|---|
| 32 | PYTHON_TEST=0
|
|---|
| 33 |
|
|---|
| 34 | #-----------------------------------#
|
|---|
| 35 | # 3: External packages installation #
|
|---|
| 36 | #-----------------------------------#
|
|---|
| 37 |
|
|---|
| 38 | #List of external pakages to be installed and their installation scripts
|
|---|
| 39 | EXTERNALPACKAGES="autotools install-win.sh
|
|---|
| 40 | petsc install-3.6-win10.sh
|
|---|
| 41 | metis install-4.0-win10.sh
|
|---|
| 42 | triangle install-win10.sh
|
|---|
| 43 | shell2junit install.sh"
|
|---|
| 44 |
|
|---|
| 45 | #-----------------#
|
|---|
| 46 | # 4: test options #
|
|---|
| 47 | #-----------------#
|
|---|
| 48 |
|
|---|
| 49 | #number of cpus used in ISSM installation and compilation (one is usually
|
|---|
| 50 | #safer as some packages are very sensitive to parallel compilation)
|
|---|
| 51 | NUMCPUS_INSTALL=6
|
|---|
| 52 |
|
|---|
| 53 | #number of cpus used in the nightly runs.
|
|---|
| 54 | NUMCPUS_RUN=2
|
|---|
| 55 |
|
|---|
| 56 | #Nightly run options. The matlab routine runme.m will be called
|
|---|
| 57 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
|---|
| 58 | #by Matlab and runme.m
|
|---|
| 59 | #ex: "'id',[101 102 103]"
|
|---|
| 60 |
|
|---|
| 61 | #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
|
|---|
| 62 | MATLAB_NROPTIONS="'exclude',[104, 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, 205, 274, 331, 405, 409, 455, 612, 514, 435, 280,801,802,803,804,805,291,340,341,460,243]"
|
|---|
| 63 | PYTHON_NROPTIONS=""
|
|---|