[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
lua-devel has to be installed and you must add the line
%_with_lua "--with lua"
to the $HOME/.rpmmacros file before executing rpmbuild
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
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: Starting Slurm controller daemon...
Nov 05 02:24:03 mgt systemd: PID file /var/run/slurmctld.pid not readable (yet?) after start.
Nov 05 02:24:03 mgt systemd: Started Slurm controller daemon.
Nov 05 02:24:03 mgt slurmctld: fatal: failed to initialize job_submit plugin
Nov 05 02:24:03 mgt systemd: 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: Unit slurmctld.service entered failed state.
Nov 05 02:24:03 mgt.hpc.pku.edu.cn<http://mgt.hpc.pku.edu.cn> systemd: 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users