#!/bin/bash #SBATCH -N 2 # use other parameterization as appropriate JOBDIR="/localscratch/${SLURM_JOB_ID}" # copy the input file on all nodes sbcast $JOBDIR/ # NOTE: Unlike 'cp' which accepts a directory and would assume that # the destination file carries the same name, 'sbcast' # requires that a filename is given for the destination.