-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Limit number of cores/threads used #114
Comments
I deployed polychord inside docker container, limit container usage with this docker-compose command
it's running 2nd day, but on multinest inside same environment sampling would take on same number of data points and parameters like 40 minutes. |
Hi @mherkhachatryan, PolyChord is MPI parallelised, so OMP_NUM_THREADS wouldn't change runtime unless your likelihood has parallelisation. A good rule of thumb for nested sampling is to start with a very low number of live points (say 5), and see how long that takes to run. You can then work out how long a full run will take with the scaling T_run ~ T_0 * (nlive/nlive0) / n_mpi_threads |
Thank you
…On Wed, Feb 28, 2024, 21:16 Will Handley ***@***.***> wrote:
Hi @mherkhachatryan <https://github.com/mherkhachatryan>, PolyChord is
MPI parallelised, so OMP_NUM_THREADS wouldn't change runtime unless your
likelihood has parallelisation.
A good rule of thumb for nested sampling is to start with a very low
number of live points (say 5), and see how long that takes to run.
You can then work out how long a full run will take with the scaling
T_run ~ T_0 * (nlive/nlive0) / n_mpi_threads
—
Reply to this email directly, view it on GitHub
<#114 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJQQEKXLFLQEP525X7DXED3YV5Q5TAVCNFSM6AAAAABCRORF5SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRZGQ3DONRWHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
How can one limit of number of cores or threads used by polychord. I have tried to to set with
OMP_NUM_THREADS
environmental variable inside docker, but it does not seem to help.Any help would be appreciated.
The text was updated successfully, but these errors were encountered: