KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm using MPI to search for a solution in such a way that I divide the problem space between the different threads. Each thread is going through a for loop, and each iteration is a candidate for a solution. The problem is, when one thread finds the solution, I want it to notify the other threads and they should all terminate immediately (or at least at the end of their current iteration - or the beginning of the next one). How can I do this with MPI?
Tags (comma-separated)
Save Edits
Cancel