Skip to content

Conversation

@benbovy
Copy link
Member

@benbovy benbovy commented Apr 7, 2020

No description provided.

benbovy added 2 commits April 7, 2020 14:36
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).
@benbovy benbovy merged commit 339e1a5 into master Apr 7, 2020
@benbovy benbovy deleted the fix-index-vars-parallel-processes branch April 7, 2020 12:53
@benbovy benbovy mentioned this pull request Apr 7, 2020
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants