Skip to content
Snippets Groups Projects
Commit 2b5b090c authored by Danny Auble's avatar Danny Auble
Browse files

Make it aware with --launch-cmd and launch/slurm it is invalid

parent 25359b19
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,14 @@ int initialize_and_process_args(int argc, char *argv[])
_opt_list();
if (opt.launch_cmd) {
char *launch_type = slurm_get_launch_type();
if (!strcmp(launch_type, "launch/slurm")) {
error("--launch-cmd option is invalid with %s",
launch_type);
xfree(launch_type);
exit(1);
}
xfree(launch_type);
launch_g_create_job_step(NULL, 0, NULL, NULL);
exit(0);
}
......
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