simonsobs / mnms

Generate map-based noise models and noise simulations.
MIT License
1 stars 1 forks source link

added mpi parallelization to noise_gen/sim scripts #1

Closed AdriJD closed 11 months ago

AdriJD commented 12 months ago

This adds MPI parallelization to noise_gen.py and noise_sim.py to either compute models or sims in parallel. To keep things backwards compatible, MPI will only be used when --use-mpi is added to the scripts. Without that option, the script will work without working MPI implementations (to the extent that pixell works without MPI)

zatkins2 commented 12 months ago

Can you check, it looks like FakeCommunicator is in pixell.mpi, not pixell.utils? Is this a pixell version thing?

AdriJD commented 12 months ago

You're right. Sorry about that. I've pushed a fix.