Hey Erica,

Try:

sbatch -w torquepbsno2 destinreqjob.sh

Similarly, try specifying all other options before your job file's name.

Regards,

Josh

On Tue, Sep 9, 2014 at 12:56 PM, Erica Riello <[email protected]>
wrote:

>  Hi all,
>
> I'm having some issues with -w, -e and -o options while submitting a job.
> i'm
>
> If I submit a job destinreqjob.sh
>
> #!/bin/sh
> #SBATCH -w torquepbsno2
> echo 'Hello from Slurm'
> sleep 30
>
> as sbatch  destinreqjob.sh, it works.
>
> But if I try to submit a job like:
>
> #!/bin/sh
> echo 'Hello from Slurm'
> sleep 30
>
> using sbatch destinreqjob.sh -w torquepbsno2, it doesn't work:
>
> the job is sent to a random node in the cluster. A very similar behaviour
> occurs with -o and -e options, the parameters are ignored. What can I do in
> order to solve this?
>
> Regards,
>
> --
> ===============
> Erica Riello
> Aluna Engenharia de Computação PUC-Rio
>
>

Reply via email to