|
RadCluster
Graph-based cluster dynamics for irradiated materials
|
Collaboration diagram for campaign.ProgressLog:Public Member Functions | |
| __init__ (self, str machine, str run_id, dict entry) | |
| start_heartbeat (self, period_s=30.0, sim=None, ckpt_dir=None) | |
| checkpoint (self) | |
| stop_heartbeat (self) | |
| event (self, kind, **kw) | |
| tick (self, dict row) | |
| render (self, state, extra="") | |
Public Attributes | |
| jsonl | |
| status | |
| machine | |
| run_id | |
| entry | |
| t0 | |
| G | |
| last | |
| n_steps | |
| sim | |
| ckpt_dir | |
Protected Attributes | |
| _t_step | |
| _stop | |
| _beat | |
| _ckpt_n | |
Append-only event log plus a rendered status snapshot. Both are local and gitignored: they update per solver output step, which is far too often to commit. What reaches the remote is the per-run record, pushed once the run ends.
Definition at line 68 of file campaign.py.
| campaign.ProgressLog.__init__ | ( | self, | |
| str | machine, | ||
| str | run_id, | ||
| dict | entry | ||
| ) |
Definition at line 76 of file campaign.py.
| campaign.ProgressLog.checkpoint | ( | self | ) |
Definition at line 131 of file campaign.py.
| campaign.ProgressLog.event | ( | self, | |
| kind, | |||
| ** | kw | ||
| ) |
Definition at line 178 of file campaign.py.
| campaign.ProgressLog.render | ( | self, | |
| state, | |||
extra = "" |
|||
| ) |
Definition at line 204 of file campaign.py.
| campaign.ProgressLog.start_heartbeat | ( | self, | |
period_s = 30.0, |
|||
sim = None, |
|||
ckpt_dir = None |
|||
| ) |
Definition at line 102 of file campaign.py.
| campaign.ProgressLog.stop_heartbeat | ( | self | ) |
Definition at line 173 of file campaign.py.
| campaign.ProgressLog.tick | ( | self, | |
| dict | row | ||
| ) |
One C++ solver output step.
Definition at line 192 of file campaign.py.
|
protected |
Definition at line 92 of file campaign.py.
|
protected |
Definition at line 103 of file campaign.py.
|
protected |
Definition at line 91 of file campaign.py.
|
protected |
Definition at line 90 of file campaign.py.
| campaign.ProgressLog.ckpt_dir |
Definition at line 103 of file campaign.py.
| campaign.ProgressLog.entry |
Definition at line 85 of file campaign.py.
| campaign.ProgressLog.G |
Definition at line 87 of file campaign.py.
| campaign.ProgressLog.jsonl |
Definition at line 78 of file campaign.py.
| campaign.ProgressLog.last |
Definition at line 88 of file campaign.py.
| campaign.ProgressLog.machine |
Definition at line 85 of file campaign.py.
| campaign.ProgressLog.n_steps |
Definition at line 89 of file campaign.py.
| campaign.ProgressLog.run_id |
Definition at line 85 of file campaign.py.
| campaign.ProgressLog.sim |
Definition at line 103 of file campaign.py.
| campaign.ProgressLog.status |
Definition at line 84 of file campaign.py.
| campaign.ProgressLog.t0 |
Definition at line 86 of file campaign.py.