Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VTK
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Reynaldo Gil García
VTK
Commits
29da7b3f
Commit
29da7b3f
authored
5 years ago
by
Ben Boeckel
Browse files
Options
Downloads
Patches
Plain Diff
Findmpi4py: use the new Python find modules
parent
2a953609
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMake/Findmpi4py.cmake
+3
-3
3 additions, 3 deletions
CMake/Findmpi4py.cmake
with
3 additions
and
3 deletions
CMake/Findmpi4py.cmake
+
3
−
3
View file @
29da7b3f
include
(
CMakeFindDependencyMacro
)
find_dependency
(
PythonInterp
)
find_dependency
(
"
Python
${
VTK_PYTHON_VERSION
}
"
COMPONENTS
Interp
reter
)
execute_process
(
COMMAND
"
${
P
YTHON
_EXECUTABLE
}
"
-c
COMMAND
"
${
P
ython
${
VTK_PYTHON_VERSION
}
_EXECUTABLE
}
"
-c
"import mpi4py"
OUTPUT_VARIABLE _mpi4py_out
ERROR_VARIABLE _mpi4py_out
...
...
@@ -12,7 +12,7 @@ endif ()
if
(
NOT mpi4py_INCLUDE_DIR OR NOT EXISTS
"
${
mpi4py_INCLUDE_DIR
}
"
)
execute_process
(
COMMAND
"
${
P
YTHON
_EXECUTABLE
}
"
-c
COMMAND
"
${
P
ython
${
VTK_PYTHON_VERSION
}
_EXECUTABLE
}
"
-c
"import mpi4py; print(mpi4py.get_include())"
OUTPUT_VARIABLE _mpi4py_INCLUDE_DIR
RESULT_VARIABLE _mpi4py_include_dir_res
...
...
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