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

Load the jobacct_gather plugin in the slurmd to make sure it is

possible.  Otherwise if it fails it wouldn't happen to the slurmstepd
and might be missed by failing silently.

It will also mess up the packing/unpacking since it should be obvious if
it fails on the slurmctld.
parent 67ba1367
No related branches found
No related tags found
No related merge requests found
......@@ -296,6 +296,14 @@ main (int argc, char *argv[])
fatal("Unable to clear interconnect state.");
switch_g_slurmd_init();
/* Make sure we can load the jobacct_gather plugin so if there
is a problem we don't have to wait for the slurm_stepd to
figure it out.
*/
if (slurm_jobacct_gather_init() != SLURM_SUCCESS)
fatal("Unable to initialize jobacct_gather plugin. "
"This is manditory for pack/unpack jobs.");
slurm_jobacct_gather_fini();
_create_msg_socket();
conf->pid = getpid();
......
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