Skip to content
Snippets Groups Projects
Commit 4d15b0e5 authored by Morris Jette's avatar Morris Jette
Browse files

job_submit/pbs: preserve native Slurm dependencies

Also log discarded PBS options
parent 755bde6b
No related branches found
No related tags found
No related merge requests found
...@@ -131,10 +131,15 @@ static void _xlate_dependency(struct job_descriptor *job_desc) ...@@ -131,10 +131,15 @@ static void _xlate_dependency(struct job_descriptor *job_desc)
tok = strtok_r(job_desc->dependency, ",", &last_ptr); tok = strtok_r(job_desc->dependency, ",", &last_ptr);
while (tok) { while (tok) {
if (!strncmp(tok, "after", 5)) { if (!strncmp(tok, "after", 5) ||
!strncmp(tok, "expand", 6) ||
!strncmp(tok, "singleton", 9)) {
if (result) if (result)
xstrcat(result, ","); xstrcat(result, ",");
xstrcat(result, tok); xstrcat(result, tok);
} else {
info("%s: discarding job dependency option %s",
plugin_type, tok);
} }
tok = strtok_r(NULL, ",", &last_ptr); tok = strtok_r(NULL, ",", &last_ptr);
} }
......
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