On Stampede2 and Frontera, as well as many other large-scale HPCclusters, the sbatch and srun commands are used to execute tasks on allocated nodes. These commands differ significantly in how, where, and when they execute tasks, but the tasks do run in similar Slurm environments.