Closed nraffuzz closed 6 months ago
What about generating the maps with rank 0 and then broadcasting them to the other ranks?
That's for sure a workaround, I was wondering if this could be solved differently
Is the call to os.remove
placed within AstroPy or PySM? I ran grep
on the litebird_sim
folder and wasn't able to find any occurrence.
When generating a synthetic map with Mbs in a parallel script there is a conflict between different ranks. While more than a rank tries to execute
os.remove(self.name)
, the following error is printed:given that the file exists.
Is it possible that this issue originates from astropy, and if so, is there anything we can do on our end within litebird_sim?