Verifying the `threads` argument
There is a threads
option in the pipeline configuration options for bilby
, e.g.:
kind: configuration
pipelines:
bilby:
sampler:
sampler: nessai
threads: 2
sampler kwargs: "{nlive: 2000, flow_class: 'gwflowproposal', n_pool: 4}"
scheduler:
accounting group: ligo.dev.o4.pe.bilby
request cpus: 4
We should check how this is passed to bilby_pipe
and verify that it makes sense. I believe this is being passed to n-parallel
in bilby_pipe
(documented here) which controls the number of parallel sampling runs not the number of cores per sampling run.