Re: [slurm-users] run bash script in spank plugin

2018-06-04 Thread Tueur Volvo
of a job > scheduler. > I am very sure that you know why you need this and you have a good reason > for doing it. Over to others on the list, sorry. > > On 4 June 2018 at 16:15, Tueur Volvo wrote: > >> no I don't have dependency treated. >> >> during the

Re: [slurm-users] run bash script in spank plugin

2018-06-04 Thread Tueur Volvo
ssing step, then you can submit a job whihc depends on the main > job. > https://hpc.nih.gov/docs/job_dependencies.html > > On 4 June 2018 at 15:20, Tueur Volvo wrote: > >> thanks for your answer, i try some solution but it's not work >> >> i try to add setsid and

Re: [slurm-users] run bash script in spank plugin

2018-06-04 Thread Tueur Volvo
d to move it to > another cgroup in addition/instead of setsid(). > > Yair. > > > > On Wed, May 30, 2018 at 5:16 PM, Tueur Volvo wrote: > > Hello i have question, how run in background bash script in spank plugin > ? > > > > in my spank plugin in function :

[slurm-users] run bash script in spank plugin

2018-05-30 Thread Tueur Volvo
Hello i have question, how run in background bash script in spank plugin ? in my spank plugin in function : slurm_spank_task_init_privileged i want to run this script : system("nohup bash -c 'sleep 10 ; touch /tmp/newfile.txt' &"); i want to run in independant process this bash script, i don't

Re: [slurm-users] slurm reboot node with spank plugin

2018-05-09 Thread Tueur Volvo
on=gcc 2018-05-09 13:39 GMT+02:00 Chris Samuel : > On Wednesday, 9 May 2018 9:16:37 PM AEST Tueur Volvo wrote: > > > if i use srun --reboot hostname, how to tell him to update the kernel > before > > rebooting ? > > Ah, now I understand why you mention a spank plugin, as

Re: [slurm-users] slurm reboot node with spank plugin

2018-05-09 Thread Tueur Volvo
the kernel before rebooting ? if I understand what you mean, I have to use a job-submit plugin ? like this : https://slurm.schedmd.com/job_submit_plugins.html ? 2018-05-09 11:44 GMT+02:00 Chris Samuel : > On Wednesday, 9 May 2018 7:09:12 PM AEST Tueur Volvo wrote: > > > Hello, i h

[slurm-users] slurm reboot node with spank plugin

2018-05-09 Thread Tueur Volvo
Hello, i have question, it's possible to reboot slurm node in spank plugin before execute job ?

[slurm-users] srun --reboot in sbatch

2018-05-07 Thread Tueur Volvo
hello i try to reboot my node in sbatch when i run srun hostname it's work whe i run : srun --reboot hostname it's work, my slurmd node reboot and execute hostname but i create sbatch file like this : #!/bin/bash -l #SBATCH --output=/nfs/myoutput.txt # Jobs Steps: echo "begin" srun hostname

[slurm-users] slurm 17 node feature Failed to reboot nodes

2018-03-27 Thread Tueur Volvo
Hello i migrated from slurm 16 to slurm 17.11.4 but my node feature not work, i apply my feature and i reboot but when machine is rebooted slurm make my node in drain with sinfo -r i have this error message : Failed to reboot nodes machine415 into expected state for job 945 My problem is located

[slurm-users] spank plugin parameter max length ?

2018-02-06 Thread Tueur Volvo
Hello, i create spank plugin and i have a problem. With my plugin i create new parameters --hbm If i write srun command it's work srun --hbm="tototututititatatetetyt" hostname but if i add 1 caractere, my slurm job "freeze", job is in R status srun --hbm="tototututititatatetetyty" hostname So ma

Re: [slurm-users] spank plugin for sbatch

2018-02-02 Thread Tueur Volvo
r will automatically register them in non-ALLOCATOR > contexts. > > > > > > On Feb 1, 2018, at 5:29 AM, Tueur Volvo wrote: > > > > Hello i read tutorial of spank plugin : > > https://slurm.schedmd.com/spank.html > > > > and i create my plugin with t

[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 ?

[slurm-users] node feature plugin, what use function for get features ?

2017-11-08 Thread Tueur Volvo
Hello i try to develop a node feature plugin and i have problem. when i write this : srun -w computer122 -p my_partition -C hot hostname in my plugin i want to get "hot" parameters when i start this job but what function can be use for this ? i think that i use node_features_p_node_state(char **a