-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix writing index variables for parallel batches (#123)
* Fix writing index variables for parallel batches Issue when running batches in parallel using a multi-process scheduler: model state is not returned by execution of dask delayed functions, so the state was lost. Fix by calling store.write_index_vars for each model run. It is not a big deal to write those datasets many times (should be same values across all simulations). * clean up
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 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
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