Set sampling seed for parallel jobs
Set the sampling seed in the data analysis jobs based on parallel_idx
.
Closes #294 (closed)
Testing
Here are two runs to test that this works as intended:
- Test with
n-parallel=2
: https://ldas-jobs.ligo.caltech.edu/~michael.williams/bilby-dev/bilby-pipe/sampling-seed-parallel-jobs/outdir_dynesty/ - Test without n-parallel: https://ldas-jobs.ligo.caltech.edu/~michael.williams/bilby-dev/bilby-pipe/sampling-seed-parallel-jobs/outdir_dynesty_no_n_parallel/
In the case where n-parallel=2
, the sampling seeds are set to 1234 and 1235:
- https://ldas-jobs.ligo.caltech.edu/~michael.williams/bilby-dev/bilby-pipe/sampling-seed-parallel-jobs/outdir_dynesty/log_data_analysis/dynesty_data0_0_analysis_H1L1_par0.err
- https://ldas-jobs.ligo.caltech.edu/~michael.williams/bilby-dev/bilby-pipe/sampling-seed-parallel-jobs/outdir_dynesty/log_data_analysis/dynesty_data0_0_analysis_H1L1_par1.err
Edited by Michael Williams