Yeah, for some reason the mail client messed up the dashes. It really is 2 
dashes ☺

Thanks!
-scz

From: Carlos Fenoy [mailto:[email protected]]
Sent: Tuesday, November 24, 2015 5:34 PM
To: slurm-dev <[email protected]>
Subject: [slurm-dev] Re: Cannot exclude hosts with --exclude


There seems to be a wrong character in the double dashes "--".

On Tue, 24 Nov 2015, 22:04 Zentz, Scott C. 
<[email protected]<mailto:[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

Reply via email to