forked from hpfem/hermes-legacy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMake.vars.example
87 lines (76 loc) · 3.38 KB
/
CMake.vars.example
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# This is a sample CMake.vars file for Hermes.
#
# NOTE: After making any change, remove the file CMakeCache.txt.
#
# It contains compilation options that let you customize Hermes on your
# system. Options set here override the default ones set in CMakeLists.txt.
#
# NOTE: when specifying paths, always use absolute paths (such as
# "/home/pavel/something" instead of "~/something").
# Uncomment one or more of these lines to disable Hermes1D / Hermes2D / Hermes3D:
# set(WITH_H1D NO)
# set(WITH_H2D NO)
# set(WITH_H3D NO)
# Enable UMFPACK (linear solvers, this option is YES by default)
set(WITH_UMFPACK YES)
# Nothing here if using the Debian package (e.g installed via Synaptic)
# If you installed the .spkg file from the hpfem/solvers repository, add
# set(UMFPACK_ROOT /home/pavel/solvers/umfpack)
# Enable MUMPS (linear solver)
set(WITH_MUMPS YES)
set(MUMPS_ROOT /home/pavel/solvers/mumps)
# Enable PETSc (linear solver)
set(WITH_PETSC YES)
set(PETSC_ROOT /home/pavel/solvers/petsc)
set(PETSC_ARCH linux-cxx)
# Enable SuperLU (linear solver)
set(WITH_SUPERLU YES)
# Nothing here if using the Debian package (e.g installed via Synaptic)
# If you installed the .spkg file from the hpfem/solvers repository, add
# set(SUPERLU_ROOT /home/pavel/solvers/superlu)
# If you installed the multithreaded version, point SUPERLU_ROOT to its
# directory and notify CMake:
# set(SUPERLU_ROOT /home/pavel/solvers/superlu_mt)
# set(SUPERLU_MT YES)
# If you selected OpenMP as the multithreading library during the
# installation, you must also add:
# set(WITH_OPENMP YES)
# Enable Trilinos (linear and nonlinear solvers)
set(WITH_TRILINOS YES)
set(TRILINOS_ROOT /opt/packages/trilinos)
# Enable ExodusII and NetCDF (CUBIT mesh format support)
SET(WITH_EXODUSII YES)
SET(EXODUSII_ROOT /opt/packages/exodusii)
SET(NETCDF_ROOT /opt/packages/netcdf)
#------------------------ INSTALLATION --------------------------
# Installation directory. If not set, 'sudo make install' will
# install the Hermes library into a default directory - typically
# /usr/local/lib,
# /usr/local/include/hermes,
# /usr/local/lib/python (see also how to set PYTHON_INSTALL_PATH below).
# If set as follows, the library files will be installed into
# /home/pavel/build/hermes/lib,
# /home/pavel/build/hermes/include,
# /home/pavel/build/hermes/lib/python
# In this way, the library may be installed e.g. into user's home
# directory without needing the administrator rights:
#
set(CMAKE_INSTALL_PREFIX /home/pavel/build/hermes)
# Installation directory for Python wrappers.
# Typing 'make install' (or 'sudo make install') will
# also create Python wrappers and install them to directories shown
# above. You may also install them into a different directory by
# setting PYTHON_INSTALL_PATH appropriately, or into a default place
# where Python stores its modules (execute the following command to
# see where it is on your computer:
# python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"
# ). This makes importing the wrappers in your Python scripts a bit
# easier, but might require administrator rights. It is done by:
#
# set(PYTHON_INSTALL_PATH USE_SYSTEM_PYTHON_DIRECTORY)
# Uncomment when making install.
#set(WITH_H1D NO)
#set(WITH_H3D NO)
#set(H2D_WITH_TUTORIAL NO)
#set(H2D_WITH_EXAMPLES NO)
#set(H2D_WITH_BENCHMARKS NO)