Cadastre-se agora para um orçamento mais personalizado!

NOTÍCIAS QUENTES

Don't leak MPI_Requests

Dec, 22, 2012 Hi-network.com

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.


tag-icon Tags quentes : HPC mpi

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.
Our company's operations and information are independent of the manufacturers' positions, nor a part of any listed trademarks company.