With the Mayan apocalypse safely behind us, now we can now safely discuss MPI again.
An MPI application developer came to me the other day with a potential bug in Open MPI: he noticed that Open MPI was consuming vast amounts of memory such that trying to allocate memory from his application failed. Ouch!
It turns out, however, that the real problem was that he was never completing his MPI_Requests. He would start non-blocking sends and receives, but then he would use some other mechanism to "know" that those sends and receives had completed.
This is a Bad Idea for many reasons, not the least of which was that he was responsible for massive memory leaks that ultimately resulted in being unable to allocate any more memory.
Here's a short slideshow depicting why you should always complete your MPI_Requests.
Pass it on.
Register Email now for Weekly Promotion Stock
100% free, Unsubscribe any time!Add 1: Room 605 6/F FA YUEN Commercial Building, 75-77 FA YUEN Street, Mongkok KL, HongKong Add 2: Room 405, Building E, MeiDu Building, Gong Shu District, Hangzhou City, Zhejiang Province, China
Whatsapp/Tel: +8618057156223 Tel: 0086 571 86729517 Tel in HK: 00852 66181601
Email: [email protected]