Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MUSIC
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mikael Djurfeldt
MUSIC
Commits
3ae001a0
Commit
3ae001a0
authored
9 years ago
by
Mikael Djurfeldt
Browse files
Options
Downloads
Patches
Plain Diff
Fixed an error with type MPI_Message missing for older versions of MPI and
newer versions of mpi4py.
parent
f629102e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pymusic/mpi_compat.h
+6
-0
6 additions, 0 deletions
pymusic/mpi_compat.h
pymusic/pybuffer.pxd
+5
-0
5 additions, 0 deletions
pymusic/pybuffer.pxd
pymusic/pymusic.pxd
+5
-0
5 additions, 0 deletions
pymusic/pymusic.pxd
with
16 additions
and
0 deletions
pymusic/mpi_compat.h
0 → 100644
+
6
−
0
View file @
3ae001a0
#include
<mpi.h>
#if (MPI_VERSION < 3) && !defined(PyMPI_HAVE_MPI_Message)
typedef
void
*
PyMPI_MPI_Message
;
#define MPI_Message PyMPI_MPI_Message
#endif
This diff is collapsed.
Click to expand it.
pymusic/pybuffer.pxd
+
5
−
0
View file @
3ae001a0
# The following include is needed to define a missing type MPI_Message
# which is lacking for a certain combination of MPI and mpi4py versions
cdef
extern
from
"
mpi_compat.h
"
:
pass
cimport
mpi4py.MPI
as
MPI
from
mpi4py.mpi_c
cimport
*
...
...
This diff is collapsed.
Click to expand it.
pymusic/pymusic.pxd
+
5
−
0
View file @
3ae001a0
# The following include is needed to define a missing type MPI_Message
# which is lacking for a certain combination of MPI and mpi4py versions
cdef
extern
from
"
mpi_compat.h
"
:
pass
cimport
mpi4py.MPI
as
MPI
from
mpi4py.mpi_c
cimport
*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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