The batch script only runs once on the job's first allocated node. Just run
sbatch -n4 /script/to/run Quoting Michael Colonno <[email protected]>: > SLURM gurus ~ > > > > I have what I hope is a simple sbatch configuration > issue. I have a commercial tool (i.e. one for which I don’t have > source code) that I am configuring to run through SLURM. The tool > support specifying the number of cores to be used on a system. I > need SLURM to track and manage the number of cores in use but I need > to launch just one process on the executing node and feed in the > number of cores allocated to the tool’s command line syntax (already > done this parsing). I’ve tried many combinations of sbatch flags to > make this happen but I always get the error : > > > > sbatch: error: Batch job submission failed: Requested > node configuration is not available > > > > My submission syntax (e.g.): > > > > sbatch -n4 --tasks-per-node=1 --nodes=1 /script/to/run > > > > My node descriptions in slurm.conf are basic. What’s the > correct syntax to, in pseudo-code: “allocate n cores but launch just > one process on the executing node”. > > > > Thanks, > > ~Mike C. > > > > > >
