use srun if available