[23296] | 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 | --disable-static \
|
---|
[23385] | 12 | --enable-standalone-executables \
|
---|
[23296] | 13 | --enable-standalone-libraries \
|
---|
[23385] | 14 | --with-matlab-dir=$MATLAB_PATH \
|
---|
| 15 | --with-vendor=MSVC-Win64 \
|
---|
| 16 | --with-fortran=no \
|
---|
[25089] | 17 | --without-Gia \
|
---|
[23296] | 18 | --without-Love \
|
---|
| 19 | --without-kriging \
|
---|
| 20 | --without-kml \
|
---|
[23385] | 21 | --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
|
---|
| 22 | --with-blas-lapack-dir=$ISSM_DIR/externalpackages/petsc/install/lib \
|
---|
| 23 | --with-mpi-libdir=$ISSM_DIR/externalpackages/petsc/install/lib \
|
---|
| 24 | --with-mpi-libflags="-Wl,libpetsc.lib" \
|
---|
[23296] | 25 | --with-metis-dir=$ISSM_DIR/externalpackages/metis/install \
|
---|
[23385] | 26 | --with-triangle-dir=$ISSM_DIR/externalpackages/triangle/install \
|
---|
| 27 | --with-math77-dir=$ISSM_DIR/externalpackages/math77/install \
|
---|
[23296] | 28 | --with-mpi-include="$ISSM_DIR/externalpackages/petsc/install/include/petsc/mpiuni" \
|
---|
[23385] | 29 | --with-cxxoptflags="-fp:strict"'
|
---|
[23296] | 30 |
|
---|
| 31 | #PYTHON and MATLAB testing
|
---|
| 32 | MATLAB_TEST=0
|
---|
| 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
|
---|
[23385] | 41 | petsc install-3.6-win10.sh
|
---|
| 42 | metis install-4.0-win10.sh
|
---|
| 43 | triangle install-win10.sh
|
---|
| 44 | math77 install.sh
|
---|
| 45 | gmt install-win64-precompiled.sh
|
---|
| 46 | gmsh install-win64-precompiled.sh
|
---|
| 47 | shell2junit install.sh"
|
---|
[23296] | 48 |
|
---|
| 49 | #-----------------#
|
---|
| 50 | # 4: test options #
|
---|
| 51 | #-----------------#
|
---|
| 52 |
|
---|
| 53 | #number of cpus used in ISSM installation and compilation (one is usually
|
---|
| 54 | #safer as some packages are very sensitive to parallel compilation)
|
---|
[23297] | 55 | NUMCPUS_INSTALL=8
|
---|
[23296] | 56 |
|
---|
| 57 | #number of cpus used in the nightly runs.
|
---|
[23297] | 58 | NUMCPUS_RUN=8
|
---|
[23296] | 59 |
|
---|
| 60 | #Nightly run options. The matlab routine runme.m will be called
|
---|
| 61 | #as follows: runme($MATLAB_NROPTIONS). The options must be understandable
|
---|
| 62 | #by Matlab and runme.m
|
---|
| 63 | #ex: "'id',[101 102 103]"
|
---|
| 64 | MATLAB_NROPTIONS=""
|
---|
| 65 | PYTHON_NROPTIONS=""
|
---|