Hi!

After some struggeling with FAQ #12:

12. How can I get shell prompts in interactive mode?
    srun -u bash -i
    Srun's -u option turns off buffering of stdout. Bash's -i option tells
    it to run in interactive mode (with prompts). 

always getting a broken shell and output like:

    bash: cannot set terminal process group (-1): Invalid argument
    bash: no job control in this shell

I just learned in the slurm irc channel that this is solved by

    srun --pty -u bash -i

Would it be possible to add this to the FAQ, since that's where our
user will probably find it?

Thanks,

Jens.

-- 
Jens Dreger                      Freie Universitaet Berlin
[email protected]       Fachbereich Physik - ZEDV
Tel: +49 30 83854774             Arnimallee 14
Fax: +49 30 83855902             14195 Berlin

Reply via email to