Score:0

How to assign one node among specific nodes in slurm?

cn flag

I want to submit a job using one node among a specific nodelist. Suppose, nodes 151-154 are my specific node. So, Here is my script:

#!/bin/sh
#SBATCH --job-name=k89a1
#SBATCH --nodes=1
#SBATCH --time=60-00:00:00
#SBATCH --gres=gpu:1
#SBATCH --cpus-per-task=1
#SBATCH --error=job.%J.err
#SBATCH --output=job.%J.out
#SBATCH --nodelist=node[151-154]

However, sbatch: error: invalid number of nodes (-N 2-1)

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.