-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Option to run multiple sim indices per job
New `num_sims` option for `xfaster run` and `xfaster submit` that runs the prerequisite checkpoints once, then repeats the data, bandpowers and likelihood checkpoints, incrementing the value of `sim_index_default` each time. This option can be used for simple sets of sims where all of the input data are determined by the `sim_data_components` and `sim_index_default` options. More complex sim sets can be constructed using the `XFasterJobGroup` structure. To run 100 simple sims efficiently, run one sim with `sim_index_default=0` to pre-compute the prerequisite checkpoints, then split the remaining 99 sims into multiple jobs by setting the `sim_index_default` and `num_sims` options to loop over subsets of the full range of sim indices. For example, running the rest of the sims in a single job can be done with options `sim_index_default=1` and `num_sims=99`.
- Loading branch information
Showing
1 changed file
with
41 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters