Hi, Do you have the job_submit_lua.so file in /usr/lib64/slurm/ If not, your slurm may not be compiled with lua support and you will need to recompile it again.
On Mon, Aug 5, 2013 at 9:21 AM, Sefa Arslan <[email protected]>wrote: > ** > Hi, > > I also tried that, the result is the same: > > [2013-08-05T10:16:00] debug3: Trying to load plugin > /usr/lib64/slurm/job_submit_lua.so > [2013-08-05T10:16:00] error: job_submit: Couldn't find the specified > plugin name for job_submit/lua looking at all files > [2013-08-05T10:16:00] error: job_submit: cannot find scheduler plugin for > job_submit/lua > [2013-08-05T10:16:00] fatal: failed to initialize job_submit plugin > > > I also tried to copy job_submit.lua into the folder /usr/lib64/slurm/, > /usr/lib64/slurm/job_submit /etc/slurm , /etc/slurm/job_submit , > /etc/slurm/lua , /usr/lib64/slurm/lua folders.. > > > > On 08/02/2013 06:06 PM, Carles Fenoy wrote: > > Hi, > > try with > JobSubmitPlugins=lua > > > On Fri, Aug 2, 2013 at 4:36 PM, Sefa Arslan <[email protected]>wrote: > > > I have copied contribs/lua/job_submit.lua script to /etc/slurm/ folder > (slurm.conf is also here). and added line to slurm.conf like: > > JobSubmitPlugins=job_submit.lua > > then I restarted the slurmctld, I get the following error: > > [2013-08-02T17:03:14] debug3: Trying to load plugin > /usr/lib64/slurm/job_submit_job_submit.lua.so > [2013-08-02T17:03:14] error: job_submit: Couldn't find the specified > plugin name for job_submit/job_submit.lua looking at all files > [2013-08-02T17:03:14] error: job_submit: cannot find scheduler plugin > for job_submit/job_submit.lua > [2013-08-02T17:03:14] fatal: failed to initialize job_submit plugin > > accourding to the header of the job_submit.lua file , copying it in to > the configuration folder should be enough to activate it. Am I wrong? > > "For use, this script should be copied into a file name "job_submit.lua" > in the same directory as the SLURM configuration file, slurm.conf." > > regards > > > > > -- > -- > Carles Fenoy > > -- -- Carles Fenoy
