Re: [slurm-users] spank plugin for sbatch

2018-02-02 Thread Tueur Volvo
thank youJeffrey, it's work ! 2018-02-01 15:02 GMT+01:00 Jeffrey Frey : > I had to figure this one out myself a few months ago. See > src/common/plugstack.c: > > > /* > * Do not load static plugin options table in allocator context. > */ > if (stack->type != S_

Re: [slurm-users] spank plugin for sbatch

2018-02-01 Thread Jeffrey Frey
I had to figure this one out myself a few months ago. See src/common/plugstack.c: /* * Do not load static plugin options table in allocator context. */ if (stack->type != S_TYPE_ALLOCATOR) plugin->opts = plugin_get_sym(p, "spank_options"); In

[slurm-users] spank plugin for sbatch

2018-02-01 Thread Tueur Volvo
Hello i read tutorial of spank plugin : https://slurm.schedmd.com/spank.html and i create my plugin with the example renice in tutorial. But my plugin work only with srun. the option --renice not exist for sbatch command, why ? Can you help me ?