Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
dumux-repositories
dumux
Commits
8e5cde6e
Commit
8e5cde6e
authored
2 years ago
by
Martin Schneider
Browse files
Options
Downloads
Patches
Plain Diff
[cmake] Add option to set multithreading backend
parent
adaab5f9
No related branches found
No related tags found
1 merge request
!3317
[cmake] Add option to set multithreading backend
Pipeline
#22835
passed
2 years ago
Stage: check-status
Stage: trigger dumux pipelines
+2
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake.opts
+6
-0
6 additions, 0 deletions
cmake.opts
with
6 additions
and
0 deletions
cmake.opts
+
6
−
0
View file @
8e5cde6e
...
...
@@ -45,6 +45,11 @@ DUMUX_ENABLE_HEADERCHECK=OFF
DUMUX_ENABLE_PYTHON_BINDINGS=""
#DUMUX_ENABLE_PYTHON_BINDINGS="-DDUNE_ENABLE_PYTHONBINDINGS=1 -DBUILD_SHARED_LIBS=1"
# set multithreading backend, e.g. OpenMP,TBB,Cpp,Kokkos,Serial
# if left empty, it is automatically set by cmake
DUMUX_MULTITHREADING_BACKEND=""
#DUMUX_MULTITHREADING_BACKEND="-DDUMUX_MULTITHREADING_BACKEND=OpenMP"
# for debug opts you can set DCMAKE_BUILD_TYPE to "Debug" or "RelWithDebInfo"
# you can also do this in any of the CMakeLists.txt in Dumux
# just rerun cmake again afterwards (run cmake <path-to-build-dir>)
...
...
@@ -56,5 +61,6 @@ CMAKE_FLAGS="$SPECIFIC_COMPILER $SPECIFIC_GENERATOR $OPM_FLAGS
-DCMAKE_BUILD_TYPE=Release
-DENABLE_HEADERCHECK=$DUMUX_ENABLE_HEADERCHECK
$DUMUX_ENABLE_PYTHON_BINDINGS
$DUMUX_MULTITHREADING_BACKEND
$DUMUX_CMAKE_FLAGS
"
This diff is collapsed.
Click to expand it.
Martin Schneider
@martins
mentioned in commit
8fbb5f53
·
2 years ago
mentioned in commit
8fbb5f53
mentioned in commit 8fbb5f53a582150a3ae32053d67b9aa047e55c39
Toggle commit list
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