Skip to content
Snippets Groups Projects
Commit eb9b38ca authored by Thomas Jahns's avatar Thomas Jahns :cartwheel: Committed by Sergey Kosukhin
Browse files

Add work-around for MPICH 3.3 defect.

parent f51ebe51
No related branches found
No related tags found
2 merge requests!34Version 2.2.0,!13Consolidation with CDI-PIO (develop)
......@@ -338,12 +338,14 @@ initSharedFP(struct sharedFP *bfd, int nProcsColl)
/* MPICH 3.3 has a problem in its implementation of MPI_Testany and
* MPI_Waitany, see commit 0f7be7196cc05bf0c908761e148628e88d635190
* at https://github.com/pmodels/mpich */
* at https://github.com/pmodels/mpich
* effectively, the work-around prepends MPI_REQUEST_NULL to the
* request array */
#ifdef MPICH_CALC_VERSION
#if MPICH_NUMVERSION >= MPICH_CALC_VERSION(3, 3, 0, 0, 0) && MPI_NUMVERSION < MPICH_CALC_VERSION(3, 3, 1, 0, 0)
#define CDIPIO_MPICH33_WORKAROUND(code) code
#else
#define CDIPIO_MPICH33_WORKAROUND(code) code
#define CDIPIO_MPICH33_WORKAROUND(code)
#endif
#else
#define CDIPIO_MPICH33_WORKAROUND(code)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment