Skip to content
Snippets Groups Projects
Commit 563a22ad authored by Moe Jette's avatar Moe Jette
Browse files

no error if sbin/scch not found

If checkpoint/blcr is configured. only log that scch is not found
using debug() rather than info(). Add documentation about the file.
parent 6df797cf
No related branches found
No related tags found
No related merge requests found
...@@ -204,7 +204,10 @@ Supported values presently include: ...@@ -204,7 +204,10 @@ Supported values presently include:
for AIX systems only for AIX systems only
.TP .TP
\fBcheckpoint/blcr\fR \fBcheckpoint/blcr\fR
Berkeley Lab Checkpoint Restart (BLCR) Berkeley Lab Checkpoint Restart (BLCR).
NOTE: If a file is found at sbin/scch (relative to the SLURM installation
location), it will be executed upon completion of the checkpoint. This can
be a script used for managing the checkpoint files.
.TP .TP
\fBcheckpoint/none\fR \fBcheckpoint/none\fR
no checkpoint support (default) no checkpoint support (default)
......
...@@ -698,7 +698,10 @@ static int _on_ckpt_complete(uint32_t group_id, uint32_t user_id, ...@@ -698,7 +698,10 @@ static int _on_ckpt_complete(uint32_t group_id, uint32_t user_id,
pid_t cpid; pid_t cpid;
if (access(scch_path, R_OK | X_OK) < 0) { if (access(scch_path, R_OK | X_OK) < 0) {
info("Access denied for %s: %m", scch_path); if (errno == ENOENT)
debug("checkpoint/blcr: file %s not found", scch_path);
else
info("Access denied for %s: %m", scch_path);
return SLURM_ERROR; return SLURM_ERROR;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment