sbatch(1) SLURM Commands sbatch(1) NAME sbatch - Submit a batch script to SLURM. SYNOPSIS sbatch [options] script [args...] DESCRIPTION sbatch submits a batch script to SLURM. The batch script may be given to sbatch through a file name on the command line, or if no file name is specified, sbatch will read in a script from standard input. The batch script may contain options preceded with "#SBATCH" before any executable commands in the script. sbatch exits immediately after the script is successfully transferred to the SLURM con- troller and assigned a SLURM job ID. The batch script is not necessarily granted resources immediately, it may sit in the queue of pending jobs for some time before its required resources become available. By default both standard output and standard error are directed to a file of the name "slurm-%j.out", where the "%j" is replaced with the job allocation number. When the job allocation is finally granted for the batch script, SLURM runs a single copy of the batch script on the first node in the set of allocated nodes. The following document describes the the influence of various options on the allocation of cpus to jobs and tasks. https://computing.llnl.gov/linux/slurm/cpu_management.html OPTIONS -A, --account= Charge resources used by this job to specified account. The account is an arbi- trary string. The account name may be changed after job submission using the scon- trol command. --acctg-freq= Define the job accounting sampling interval. This can be used to override the JobAcctGatherFrequency parameter in SLURM's configuration file, slurm.conf. A value of zero disables the periodic job sampling and provides accounting informa- tion only on job termination (reducing SLURM interference with the job). -B --extra-node-info= Request a specific allocation of resources with details as to the number and type of computational resources within a cluster: number of sockets (or physical proces- sors) per node, cores per socket, and threads per core. The total amount of resources being requested is the product of all of the terms. Each value specified is considered a minimum. An asterisk (*) can be used as a placeholder indicating that all available resources of that type are to be utilized. As with nodes, the individual levels can also be specified in separate options if desired: --sockets-per-node= --cores-per-socket= --threads-per-core= If task/affinity plugin is enabled, then specifying an allocation in this manner also sets a default --cpu_bind option of threads if the -B option specifies a thread count, otherwise an option of cores if a core count is specified, otherwise an option of sockets. If SelectType is configured to select/cons_res, it must have a parameter of CR_Core, CR_Core_Memory, CR_Socket, or CR_Socket_Memory for this option to be honored. This option is not supported on BlueGene systems (select/bluegene plugin is configured). If not specified, the scontrol show job will display 'ReqS:C:T=*:*:*'. --begin=