Cobaya: memory leak on openmpi
Posted: May 03 2022
Hello,
I am experiencing memory leaks while using Cobaya without even using external likelihoods. I am working in Mac OS Monterrey, have installed gcc and openmpi in their latest versions with brew and am using an Anaconda environment having python 3.8 and the mpi4py package. Running the "leaks" command on top of cobaya-run shows no leaks when run without parallelization. However with mpirun it does leak. I can run within an Anaconda environment using instead mpich and mpi4py with no leaks. Testing with the openmpi supplied by anaconda (and removing brew's) creates leaks again, is this a known issue or is it perhaps just my setup. Could anyone else confirm? I would like to use openmpi instead of mpich because of other software.
I am experiencing memory leaks while using Cobaya without even using external likelihoods. I am working in Mac OS Monterrey, have installed gcc and openmpi in their latest versions with brew and am using an Anaconda environment having python 3.8 and the mpi4py package. Running the "leaks" command on top of cobaya-run shows no leaks when run without parallelization. However with mpirun it does leak. I can run within an Anaconda environment using instead mpich and mpi4py with no leaks. Testing with the openmpi supplied by anaconda (and removing brew's) creates leaks again, is this a known issue or is it perhaps just my setup. Could anyone else confirm? I would like to use openmpi instead of mpich because of other software.