Commit 2e02475
committed
Fix race condition in coll_han_alltoall.c
Add a barrier in cases where reading memory directly from neighbors
to fix an issue where the send buffer is overwritten prematurely in
coll_han_alltoall.c
Bug discovered and patched at AccelCom, Barcelona Supercomputing Center
Signed-off-by: Petter Sandas <[email protected]>1 parent b79b3e9 commit 2e02475
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
369 | 371 | | |
370 | 372 | | |
371 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
372 | 381 | | |
373 | 382 | | |
374 | 383 | | |
| |||
0 commit comments