Skip to content

Commit

Permalink
MPI: Allow enabling preposted receives with flag (#3596)
Browse files Browse the repository at this point in the history
Can be enabled via passing "-DMPI_POST_RECV=1" to the compiler.
  • Loading branch information
rbuch committed Jun 22, 2022
1 parent d88db76 commit 868e39a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/arch/mpi/machine.C
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,9 @@ CpvStaticDeclare(double, projTraceStart);
* is set then a default value for MPI_POST_RECV_SIZE is used
* if not specified by the user.
*/
#define MPI_POST_RECV 0
#ifndef MPI_POST_RECV
# define MPI_POST_RECV 0
#endif

/* Making those parameters configurable for testing them easily */

Expand Down

0 comments on commit 868e39a

Please sign in to comment.