-
Notifications
You must be signed in to change notification settings - Fork 1
Improving MPI_ANY_SOURCE algo #34
Copy link
Copy link
Open
Labels
TODOPlan to do in the immediate futurePlan to do in the immediate futureenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Activity
Metadata
Metadata
Assignees
Labels
TODOPlan to do in the immediate futurePlan to do in the immediate futureenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
EntangledMPI/src/mpi/init.c
Lines 1090 to 1097 in 11bf509
Not a good implementation. Will only support 2 nodes (1 compute and 1 replica). Should be more generic.
One way of making it generic it to do one
PMPI_IrecvwithMPI_ANY_SOURCEand spawn a new thread toPMPI_Waitfor this request to complete. Once its complete this thread can check for number of nodes in this job ("n") usingstatus.MPI_SOURCEandrank2jobarray and do "n - 1"PMPI_Irecvand exit. Rest will be taken care inMPI_Waitimplementation.