Skip to content

Revamp Run Scripts #14

Description

@emerali
  • Add option to save generated configs for ML purposes (should just throw them out by default)
  • Add "bin" option: kinda like "skip" but averages over K measurements to produce a single measurement
  • SIGTERM handling
    • catch sigterm and checkpoint immediately
    • doesn't matter if we're in the middle of cluster construction, when we load the chain back up again we'll start with a full diagonal update anyway
    • could be bad if the sigterm happens in the middle of a cluster flip though...
      • maybe instead of "flipping" we "set" the legtype to a value that was sampled, that way we can just re-run the cluster_update! fn after loading up the checkpoint to make sure everything's consistent
      • wait but how do we know if it was interrupted during link list construction or the cluster update?
      • possible solution: keep track of which update step we're currently performing, if job is interrupted, we know which step to redo
  • Checkpoint at regular time intervals (+ sigterm catching)
  • Checkpoint file should save both the QMC state as well as the PRNG state
  • Add function to restart a simulation from a checkpoint
  • For (L)TFIM, allow reading interaction matrix from a file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions