Re: [slurm-users] Why is --cpu_bind not an option for sbatch? Why only srun?

2022-03-31 Thread Brian Andrus
If I were to hazard a guess, I would say that srun actually runs things whereas sbatch submits and runs a batch command. How would sbatch get 'hostname' to run on a particular cpu? Within sbatch, you could do that by using srun to run 'hostname'. So it is the execution step that is where you woul

[slurm-users] Why is --cpu_bind not an option for sbatch? Why only srun?

2022-03-31 Thread David Henkemeyer
We noticed that we can pass --cpu_bind into an srun commandline, but not sbatch. Why is that? Thanks David

Re: [slurm-users] Strange behaviour with dynamically linked binary in batch job

2022-03-31 Thread Stephen Cousins
Is using "#!/bin/bash -l" enough to make it work? On Thu, Mar 31, 2022 at 6:46 AM Sebastian Potthoff < s.potth...@uni-muenster.de> wrote: > Just a quick follow up, that I could resolve the issue. Maybe this helps > someone in the future. > > $BASH_ENV was pointing to a deprecated script, resetti

Re: [slurm-users] sbatch doesn't output the jobid

2022-03-31 Thread Ole Holm Nielsen
On 3/31/22 11:25, GHui wrote: Sometimes when I run sbatch to submit a job, it doesn't output anything. But when I run squeue, the job is running. Because of this, If I submit many times, I missed the jobs which I submitted. Which Slurm version do you run? Use "sinfo --version" to find out. Yo

Re: [slurm-users] Strange behaviour with dynamically linked binary in batch job

2022-03-31 Thread Sebastian Potthoff
Just a quick follow up, that I could resolve the issue. Maybe this helps someone in the future. $BASH_ENV was pointing to a deprecated script, resetting the module environment. This only is an issue for non-interactive, non-login shells (i.e. sbatch) and the issue was therefore not seen when r