There seems to be a wrong character in the double dashes "--". On Tue, 24 Nov 2015, 22:04 Zentz, Scott C. <[email protected]> wrote:
> Hello Everyone! > > > > I have a user who is trying to exclude some hosts from their job > submission and was using –exclude to accomplish this. He claims that he was > able to do this in the past and the man pages state that –exclude is an > option but when we include that argument, we receive the following error: > > > > zentz@diamond(~)% sbatch testsumit.sh > > sbatch: error: Invalid argument: —-exclude=bc1node1 > > zentz@diamond(~)% > > > > Here is a copy of the “testsubmit.sh” > > > > #!/bin/bash > > > > #SBATCH —-exclude=bc1node1 > > srun echo "test" > > > > > > > > Is the exclude option only for specific cluster types or is there > something else going awry? > > > > Thanks! > > -scz >
