Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S sick-bees
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • EcoEpi
  • sick-bees
  • Merge requests
  • !146

Draft: Support restoring the world state by setting the RESTORE_PATH environment variable.

  • Review changes

  • Download
  • Patches
  • Plain diff
Open Adam Reichold requested to merge restore-state into main Mar 29, 2022
  • Overview 0
  • Commits 5
  • Pipelines 5
  • Changes 17

This means that running

> /path/to/experiment arg1 arg2 arg3 ... 42

can be interrupted and that

> RESTORE_PATH=. /path/to/experiment arg1 arg2 arg3 ... 42

will resume it at the last snapshot and continue until the parametrized runtime is reached.

Note that the stochastic parts of the initialization will be repeated, i.e. the seed when restoring must match the seed when saving. This also implies that one cannot change parameters which affect the stochastic parts of the initialization, e.g. the number of flower patches, their flower density or the initial prevalence.

Edited Apr 05, 2022 by Adam Reichold
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: restore-state