Documentation
¶
Index ¶
- Constants
- func DumpSlurmScript(next types.Dump) types.Dump
- func GetSlurmJobForDump(next types.Dump) types.Dump
- func GetSlurmJobForRestore(next types.Restore) types.Restore
- func ResolveJobCgroupPath(jid uint32, pid uint32) (string, error)
- func RestoreSlurmScript(next types.Restore) types.Restore
- func SetPIDForDump(next types.Dump) types.Dump
Constants ¶
View Source
const ( // What cedana-slurm's wrapper names the script it runs the job with, cedana-script-<jobid>.sh. // The shell keeps it open for as long as the job runs, and it is gone by the time the job // is restored. SLURM_SCRIPT_PREFIX = "cedana-script" // What it is kept as in the dump, and where its mode and owner go. CRIU wants the file // back exactly as it was. SLURM_SCRIPT_FILE = "cedana-script" SLURM_SCRIPT_ATTRS_FILE = "cedana-script.json" )
Variables ¶
This section is empty.
Functions ¶
func DumpSlurmScript ¶ added in v0.9.282
We manually restore the SLURM script because SLURM will delete the script used to launch the job step
func ResolveJobCgroupPath ¶ added in v0.9.296
func RestoreSlurmScript ¶ added in v0.9.282
We manually restore the SLURM script because SLURM will delete the script used to launch the job step
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.