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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Spiros Tsalikis
VTK
Commits
f727b8e7
Commit
f727b8e7
authored
3 years ago
by
Chuck Atkins
Browse files
Options
Downloads
Patches
Plain Diff
vtkmpi: Expand no-cpp defines to cover SGI MPT
parent
f6a372b9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Utilities/MPI/CMakeLists.txt
+1
-0
1 addition, 0 deletions
Utilities/MPI/CMakeLists.txt
Utilities/MPI/vtk_mpi.h
+11
-0
11 additions, 0 deletions
Utilities/MPI/vtk_mpi.h
with
12 additions
and
0 deletions
Utilities/MPI/CMakeLists.txt
+
1
−
0
View file @
f727b8e7
...
...
@@ -14,6 +14,7 @@ vtk_module_definitions(VTK::mpi
INTERFACE
MPICH_SKIP_MPICXX
OMPI_SKIP_MPICXX
MPI_NO_CPPBIND
_MPICC_H
)
if
(
APPLE AND TARGET MPI::MPI_C
)
...
...
This diff is collapsed.
Click to expand it.
Utilities/MPI/vtk_mpi.h
+
11
−
0
View file @
f727b8e7
...
...
@@ -16,6 +16,12 @@
#define _vtk_mpi_ibm
#endif
// Skip SGI MPT's C++ support.
#ifndef MPI_NO_CPPBIND
#define MPI_NO_CPPBIND
#define _vtk_mpi_sgi
#endif
// Include the MPI header.
#include
<mpi.h>
...
...
@@ -34,3 +40,8 @@
#undef _MPICC_H
#undef _vtk_mpi_ibm
#endif
#ifdef _vtk_mpi_sgi
#undef MPI_NO_CPPBIND
#undef _vtk_mpi_sgi
#endif
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