I am attempting to create a script which automagically sets the directory in which to run an sbatch command with --chdir using a variable.
--chdir