Skip to content

Commit

Permalink
Add MPI_UNWEIGHTED to MPICH->OMPI binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
spoutn1k committed Jul 3, 2023
1 parent 96e458a commit 7175e09
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/common/override.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,8 @@ A_MPI_Aint A_MPI_Aint_diff(A_MPI_Aint lhs, A_MPI_Aint rhs) { // Same as above
return lhs - rhs;
}
#endif

#ifdef MPI_UNWEIGHTED_OVERRIDE
static int unweighted_dummy = 0x46618;
int *const MPI_UNWEIGHTED = &unweighted_dummy;
#endif
1 change: 1 addition & 0 deletions src/preload/header/MPICH_OMPI/app_mpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

#define MPI_AINT_ADD_OVERRIDE
#define MPI_AINT_DIFF_OVERRIDE
#define MPI_UNWEIGHTED_OVERRIDE

/* user include file for MPI programs */
#if !defined(_WIN32) && !defined(_WIN64) /* Linux only */
Expand Down

0 comments on commit 7175e09

Please sign in to comment.