| [16869] | 1 | 
 | 
|---|
 | 2 | #-------------------------------#
 | 
|---|
 | 3 | # 1: ISSM general configuration #
 | 
|---|
 | 4 | #-------------------------------#
 | 
|---|
 | 5 | 
 | 
|---|
| [20338] | 6 | #MATLAB path
 | 
|---|
 | 7 | MATLAB_PATH="/cygdrive/c/Programs/MATLAB/R2015a/"
 | 
|---|
 | 8 | 
 | 
|---|
| [16869] | 9 | #ISSM CONFIGURATION 
 | 
|---|
| [16878] | 10 | ISSM_CONFIG='--prefix=$ISSM_DIR \
 | 
|---|
| [19141] | 11 |         --with-vendor=MSVC-Win64  \
 | 
|---|
| [21759] | 12 |         --with-cxxoptflags='-fp:strict' \
 | 
|---|
| [16878] | 13 |    --disable-static \
 | 
|---|
| [18644] | 14 |         --enable-standalone-libraries \
 | 
|---|
| [19141] | 15 |         --with-fortran=no  \
 | 
|---|
| [21759] | 16 |         --without-GiaIvins \
 | 
|---|
| [19141] | 17 |         --without-kriging \
 | 
|---|
| [20384] | 18 |         --without-kml \
 | 
|---|
| [20338] | 19 |         --with-matlab-dir=$MATLAB_PATH \
 | 
|---|
| [16878] | 20 |         --with-triangle-dir="$ISSM_DIR/externalpackages/triangle/install" \
 | 
|---|
 | 21 |         --with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
 | 
|---|
| [19140] | 22 |         --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
 | 
|---|
| [16878] | 23 |         --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib/  \
 | 
|---|
| [16885] | 24 |         --with-mpi-libdir="$ISSM_DIR/externalpackages/petsc/install/lib" \
 | 
|---|
| [16884] | 25 |         --with-mpi-libflags="-Wl,libpetsc.lib" \
 | 
|---|
| [20337] | 26 |         --with-mpi-include="$ISSM_DIR/externalpackages/petsc/install/include/petsc/mpiuni" \
 | 
|---|
| [20336] | 27 |         --enable-development \
 | 
|---|
 | 28 |         --enable-debugging '
 | 
|---|
| [16869] | 29 | 
 | 
|---|
 | 30 | #PYTHON and MATLAB testing
 | 
|---|
 | 31 | MATLAB_TEST=1
 | 
|---|
| [16878] | 32 | PYTHON_TEST=0
 | 
|---|
| [16869] | 33 | 
 | 
|---|
 | 34 | #-----------------------------------#
 | 
|---|
 | 35 | # 3: External packages installation #
 | 
|---|
 | 36 | #-----------------------------------#
 | 
|---|
 | 37 | 
 | 
|---|
 | 38 | #List of external pakages to be installed and their installation scripts
 | 
|---|
| [19596] | 39 | EXTERNALPACKAGES="autotools   install-win.sh
 | 
|---|
| [19693] | 40 |                                                 petsc       install-3.6-win10.sh
 | 
|---|
| [20849] | 41 |                                                 metis       install-4.0-win10.sh
 | 
|---|
 | 42 |                                                 triangle    install-win10.sh        
 | 
|---|
| [16869] | 43 |                                                 shell2junit install.sh"
 | 
|---|
 | 44 | 
 | 
|---|
| [20402] | 45 | #-----------------#
 | 
|---|
 | 46 | # 4: test options #
 | 
|---|
 | 47 | #-----------------#
 | 
|---|
| [16869] | 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)
 | 
|---|
| [20423] | 51 | NUMCPUS_INSTALL=6
 | 
|---|
| [16869] | 52 | 
 | 
|---|
 | 53 | #number of cpus used in the nightly runs.
 | 
|---|
| [20423] | 54 | NUMCPUS_RUN=2
 | 
|---|
| [16869] | 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]"
 | 
|---|
| [17059] | 60 | 
 | 
|---|
| [18120] | 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
 | 
|---|
| [21759] | 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]"
 | 
|---|
| [16869] | 63 | PYTHON_NROPTIONS=""
 | 
|---|