source: issm/trunk-jpl/jenkins/pine_island-mac-dakota@ 26417

Last change on this file since 26417 was 26417, checked in by jdquinn, 4 years ago

BUG: Fixes for PROJ on Jenkins macOS build node

  • Property svn:executable set to *
File size: 3.3 KB
Line 
1# TODO: Change PROJ installation script to latest version once Jenkins macOS
2# build node has been upgraded.
3#
4
5#--------------------#
6# ISSM Configuration #
7#--------------------#
8
9MATLAB_PATH="/Applications/MATLAB_R2018a.app"
10
11ISSM_CONFIG='\
12 --prefix=${ISSM_DIR} \
13 --disable-static \
14 --enable-development \
15 --enable-debugging \
16 --with-numthreads=4 \
17 --with-matlab-dir=${MATLAB_PATH} \
18 --with-python-dir=/System/Library/Frameworks/Python.framework/Versions/2.7 \
19 --with-python-numpy-dir=/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy \
20 --with-fortran-lib="-L/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 -lgfortran" \
21 --with-mpi-include=${ISSM_DIR}/externalpackages/petsc/install/include \
22 --with-mpi-libflags="-L${ISSM_DIR}/externalpackages/petsc/install/lib -lmpi -lmpicxx -lmpifort" \
23 --with-blas-lapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
24 --with-metis-dir=${ISSM_DIR}/externalpackages/petsc/install \
25 --with-parmetis-dir=${ISSM_DIR}/externalpackages/petsc/install \
26 --with-scalapack-dir=${ISSM_DIR}/externalpackages/petsc/install \
27 --with-mumps-dir=${ISSM_DIR}/externalpackages/petsc/install \
28 --with-hdf5-dir=${ISSM_DIR}/externalpackages/petsc/install \
29 --with-petsc-dir=${ISSM_DIR}/externalpackages/petsc/install \
30 --with-gsl-dir=${ISSM_DIR}/externalpackages/gsl/install \
31 --with-boost-dir=${ISSM_DIR}/externalpackages/boost/install \
32 --with-dakota-dir=${ISSM_DIR}/externalpackages/dakota/install \
33 --with-proj-dir=${ISSM_DIR}/externalpackages/proj/install \
34 --with-triangle-dir=${ISSM_DIR}/externalpackages/triangle/install \
35 --with-chaco-dir=${ISSM_DIR}/externalpackages/chaco/install \
36 --with-m1qn3-dir=${ISSM_DIR}/externalpackages/m1qn3/install \
37 --with-semic-dir=${ISSM_DIR}/externalpackages/semic/install \
38'
39
40#-------------------#
41# External Packages #
42#-------------------#
43
44#List of external pakages to be installed and their installation scripts
45EXTERNALPACKAGES="
46 autotools install-mac.sh
47 cmake install.sh
48 petsc install-3.12-mac.sh
49 gsl install.sh
50 boost install-1.7-mac.sh
51 dakota install-6.2-mac.sh
52 curl install-7-mac.sh
53 netcdf install-4.7-parallel.sh
54 proj install-6.sh
55 gdal install-3-python.sh
56 gshhg install.sh
57 gmt install-6-mac.sh
58 gmsh install-4.sh
59 triangle install-mac.sh
60 chaco install.sh
61 m1qn3 install.sh
62 semic install.sh
63 shell2junit install.sh
64"
65
66#---------#
67# Testing #
68#---------#
69
70# Test suites
71MATLAB_TEST=1
72PYTHON_TEST=1
73JAVASCRIPT_TEST=0
74EXAMPLES_TEST=0
75
76# Number of CPUs used in ISSM compilation
77#
78# NOTE: One is usually safer as some packages are very sensitive to parallel
79# compilation
80#
81NUMCPUS_INSTALL=4
82
83# Number of CPUs used in the nightly runs
84NUMCPUS_RUN=2
85
86# Nightly run options
87#
88# See documentation in test/NightlyRun/runme.* for more information.
89#
90# NOTE:
91# - Errors are large for tests 234, 235, 418, and 420 under MATLAB
92# - Tests 444 and 445 fail intermittently under MATLAB with "Index exceeds array bounds."
93# - Errors are large for tests 234 418 and 420 under Python
94# - See test417.py for why it is excluded
95# - Test 444 fails intermittently under Python with "IndexError: list index out of range"
96# - Excluding 2006 until it can be debugged (file I/O)
97#
98MATLAB_NROPTIONS="'id',[IdFromString('Dakota')],'exclude',[234 235 418 420 444 445 2006]"
99PYTHON_NROPTIONS="--include_name 'Dakota' --exclude 234 417 418 420 444 445 2006"
Note: See TracBrowser for help on using the repository browser.