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

switch HAVE_BGL test to HAVE_FRONT_END, so it works properly on non-bgl systems

operating in front-end mode.
parent 7069dc4b
No related branches found
No related tags found
No related merge requests found
...@@ -439,7 +439,7 @@ _rpc_launch_tasks(slurm_msg_t *msg, slurm_addr *cli) ...@@ -439,7 +439,7 @@ _rpc_launch_tasks(slurm_msg_t *msg, slurm_addr *cli)
info("launch task %u.%u request from %u.%u@%s", req->job_id, info("launch task %u.%u request from %u.%u@%s", req->job_id,
req->job_step_id, req->uid, req->gid, host); req->job_step_id, req->uid, req->gid, host);
#ifndef HAVE_BGL #ifndef HAVE_FRONT_END
if (!slurm_cred_jobid_cached(conf->vctx, req->job_id)) if (!slurm_cred_jobid_cached(conf->vctx, req->job_id))
run_prolog = true; run_prolog = true;
#endif #endif
...@@ -517,7 +517,7 @@ _rpc_spawn_task(slurm_msg_t *msg, slurm_addr *cli) ...@@ -517,7 +517,7 @@ _rpc_spawn_task(slurm_msg_t *msg, slurm_addr *cli)
info("spawn task %u.%u request from %u@%s", req->job_id, info("spawn task %u.%u request from %u@%s", req->job_id,
req->job_step_id, req->uid, host); req->job_step_id, req->uid, host);
#ifndef HAVE_BGL #ifndef HAVE_FRONT_END
if (!slurm_cred_jobid_cached(conf->vctx, req->job_id)) if (!slurm_cred_jobid_cached(conf->vctx, req->job_id))
run_prolog = true; run_prolog = true;
#endif #endif
......
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