source: issm/trunk-jpl/jenkins/mac-intel-dakota@ 28012

Last change on this file since 28012 was 27807, checked in by jdquinn, 2 years ago

CHG: Cleanup

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