Skip to content
Snippets Groups Projects
Commit 8162e661 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

poe needs LOADLBATCH=yes to trigger batch mode (allows salloc to set it too).

parent ebdea46a
No related branches found
No related tags found
No related merge requests found
......@@ -747,6 +747,10 @@ env_array_for_job(char ***dest, const resource_allocation_response_msg_t *alloc)
alloc->cpus_per_node,
alloc->cpu_count_reps);
env_array_overwrite_fmt(dest, "SLURM_JOB_CPUS_PER_NODE", "%s", tmp);
#ifdef HAVE_AIX
/* this puts the "poe" command into batch mode */
env_array_overwrite(dest, "LOADLBATCH", "yes");
#endif
/* obsolete */
env_array_overwrite_fmt(dest, "SLURM_JOBID", "%u", alloc->job_id);
......
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