casino_stop
Stop a running calculation, preserve finished blocks, and tidy the directory so it can be resumed later. Accepts a job ID and optional timeout for graceful shutdown.
Instructions
Stop a running calculation and leave its directory ready to be continued.
SIGTERM goes to this job's casino processes, as haltqmc -k does for the whole
account, so runqmc stays alive to finish writing out. CASINO has no graceful-halt
signal: the blocks it had finished stay in out, vmc.hist and dmc.hist, the
current block is lost. Then haltqmc -f -u tidies the directory -- config.out to
config.in, the lock file, and input rewritten for the work that is left -- so
casino_run(workdir, resume=true) carries this calculation on.
timeout: seconds the job gets to end on its own before the process group is killed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||