-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update MPI.jl compat to allow 0.20 (#2)
This patch updates the MPI.jl compat to allow 0.20. In addition, the Clang.jl generator is updated to filter out all unnecessary bindings (e.g. MPI related) and instead bring in constants from MPI.jl. This should make sure that those are synced, since everything now uses MPIPreferences. Co-authored-by: Dennis Ogiermann <[email protected]> Co-authored-by: Fredrik Ekre <[email protected]>
- Loading branch information
1 parent
50c0616
commit bfe8ae4
Showing
7 changed files
with
1,961 additions
and
12,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
using MPI: MPI, MPI_Comm | ||
if isdefined(MPI, :API) # MPI >= 0.20.0 | ||
using MPI.API: MPI_INT, MPI_DOUBLE | ||
else # MPI < 0.20.0 | ||
using MPI: MPI_INT, MPI_DOUBLE | ||
end |
Oops, something went wrong.