I have a project which requires ‘n’ number of processes to work until the problem is solved. Each slave process executes the same code. When a certain condition arises, the process needs to notify all of the other processes in a non-blocking way. The other processes also need to receive this message in a non-blocking way.
Is there a way to do with without threading a separate loop?
It’s been a while since I’ve used MPI. But the I functions are non-blocking. Maybe something like this: