Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Core Modules
dune-common
Commits
6225403c
Commit
6225403c
authored
12 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Activate MPI only on demand, i.e. if USE_MPI is true.
[[Imported from SVN: r7426]]
parent
e84d7f77
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DuneMPI.cmake
+4
-2
4 additions, 2 deletions
cmake/modules/DuneMPI.cmake
with
4 additions
and
2 deletions
cmake/modules/DuneMPI.cmake
+
4
−
2
View file @
6225403c
# Searches for MPI and thread support and sets the following
# DUNE specific flags:
# DUNE specific flags
if USE_MPI is set to true
:
#
# MPI_DUNE_COMPILE_FLAGS Compiler flags for MPI applications.
# MPI_DUNE_INCLUDE_PATH Include path for MPI applications.
...
...
@@ -16,7 +16,9 @@
#
# Adds the above flags and libraries to the specified targets.
#
if
(
NOT USE_MPI
)
set
(
CMAKE_DISABLE_FIND_PACKAGE_MPI TRUE
)
endif
(
NOT USE_MPI
)
find_package
(
MPI
)
find_package
(
Threads
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment