bilby-dev / nessai-bilby

Interface and plugin for using nessai in bilby
MIT License
1 stars 1 forks source link

Avoid using multiprocessing by default #11

Open mj-will opened 3 months ago

mj-will commented 3 months ago

bilby sets npool=1 by default, this means that if the user doesn't override the value, then nessai is passed n_pool=1 by default. This is inefficient and can break some analyses, e.g. if using a GPU. We should consider handling the case where n_pool (or equivalent) is not specified and npool=1 to avoid this.