Skip to content

Conversation

@mj-will
Copy link
Collaborator

@mj-will mj-will commented Oct 16, 2025

Add an npool_post_process.

This allows the user to configure how many processes are used for post-processing independently of how many are used for sampling. Whilst making this change, I also changed the code so aliases for npool also trigger the parallelized post-processing.

I also remove an old unused argument.

@mj-will mj-will marked this pull request as ready for review October 21, 2025 08:08
@mj-will mj-will added the enhancement New feature or request label Oct 21, 2025
@ColmTalbot
Copy link
Collaborator

With this method, is the way to disable the parallelisation fo this stage to pass npool_post_process = 1?

@mj-will
Copy link
Collaborator Author

mj-will commented Oct 30, 2025

With this method, is the way to disable the parallelisation fo this stage to pass npool_post_process = 1?

Hmm, good point. By default npool=1 still creates a pool in other parts of bilby so that would be inconsistent. I'll have a think about how to best handle this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants