[slurm-users] [slurm-dev] How to config job_submit.so plugin

Le Biot, Pierre-Marie pierre-marie.lebiot at hpe.com
Mon Nov 6 06:11:51 MST 2017


Hello Ashlee,

lua-devel has to be installed and you must add the line
%_with_lua      "--with lua"
to the $HOME/.rpmmacros file before executing rpmbuild

Regards,
Pierre-Marie Le Biot


From: 马银萍 [mailto:mayinpingpku at gmail.com]
Sent: Sunday, November 05, 2017 12:09 PM
To: slurm-dev <slurm-dev at schedmd.com>
Subject: [slurm-dev] How to config job_submit.so plugin

hello,

I want to config the job_submit.so plugin in my cluster, and I add JobSubmitPlugins=job_submit/lua in slurm.conf,but when I restart slurmctld, Getting the error below:

Nov 05 02:24:03 mgt systemd[1]: Starting Slurm controller daemon...
Nov 05 02:24:03 mgt systemd[1]: PID file /var/run/slurmctld.pid not readable (yet?) after start.
Nov 05 02:24:03 mgt systemd[1]: Started Slurm controller daemon.
Nov 05 02:24:03 mgt slurmctld[24793]: fatal: failed to initialize job_submit plugin
Nov 05 02:24:03 mgt systemd[1]: slurmctld.service: main process exited, code=exited, status=1...LURE
Nov 05 02:24:03 mgt.hpc.pku.edu.cn<http://mgt.hpc.pku.edu.cn> systemd[1]: Unit slurmctld.service entered failed state.
Nov 05 02:24:03 mgt.hpc.pku.edu.cn<http://mgt.hpc.pku.edu.cn> systemd[1]: slurmctld.service failed.

I google a lot, but I couldn't find a clearly post about how to config this.
In my cluster, I didn't have job_submit.so plugin. And I see someone said in this case, I should rebuild slurm.

So, I have two questions about this,
firstly, how to rebuild slurm with job_submit.so plugin?
secondly, If I rebuild slurm , how can I save the former accounts,users and database informations?
Thanks for any suggestions.
All the best.
Ashlee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20171106/19366d5a/attachment-0001.html>


More information about the slurm-users mailing list