-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathopm-flowgeomechanics-prereqs.cmake
53 lines (51 loc) · 1.11 KB
/
opm-flowgeomechanics-prereqs.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# defines that must be present in config.h for our headers
set (opm-flowgeomechanics_CONFIG_VAR
HAVE_OPM_GRID
HAVE_PTHREAD
HAVE_EWOMS
HAVE_ERT
HAVE_MPI
HAVE_PETSC
HAVE_SUITESPARSE_UMFPACK_H
HAVE_DUNE_ISTL
DUNE_ISTL_VERSION_MAJOR
DUNE_ISTL_VERSION_MINOR
DUNE_ISTL_VERSION_REVISION
HAVE_SUITESPARSE_UMFPACK
HAVE_HDF5
USE_TRACY
HAVE_DUNE_PDELAB
)
# dependencies
set (opm-flowgeomechanics_DEPS
# Compile with C99 support if available
"C99"
# Various runtime library enhancements
"Boost 1.44.0
COMPONENTS date_time system unit_test_framework REQUIRED"
# DUNE prerequisites
"dune-common REQUIRED"
"dune-istl REQUIRED"
"dune-pdelab"
"dune-foamgrid REQUIRED"
# matrix library
"BLAS REQUIRED"
"LAPACK REQUIRED"
# Look for MPI support
"MPI"
# PETSc numerical backend
"PETSc"
# Tim Davis' SuiteSparse archive
"SuiteSparse COMPONENTS umfpack"
# SuperLU direct solver
"SuperLU"
# OPM dependency
"opm-common REQUIRED"
"opm-grid REQUIRED"
"opm-simulators REQUIRED"
"opm-upscaling REQUIRED"
"Damaris 1.7"
"HDF5"
"Tracy"
)
find_package_deps(opm-flowgeomech)