Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

salloc and bash #8

Open
kimchitsigai opened this issue Feb 25, 2020 · 0 comments
Open

salloc and bash #8

kimchitsigai opened this issue Feb 25, 2020 · 0 comments

Comments

@kimchitsigai
Copy link

kimchitsigai commented Feb 25, 2020

Hi,

When I run:
$ salloc --ntasks=1 --nodes=1 -A my_account -p my_partition srun --pty bash
I get a bash prompt on the allocated host.

I've installed slurm-magic and all the Slurm commands run fine, except for salloc with bash.
When I run:
%salloc --ntasks=1 --nodes=1 -A my_account -p my_partition srun --pty bash
I get:
'salloc: Pending job allocation 905164\nsalloc: job 905164 queued and waiting for resources\nsalloc: job 905164 has been allocated resources\nsalloc: Granted job allocation 905164\nsrun: error: ioctl(TIOCGWINSZ): Inappropriate ioctl for device\nsrun: error: Not using a pseudo-terminal, disregarding --pty option\nsalloc: Relinquishing job allocation 905164\n'

Is there a way to have a bash prompt (in JupyterLab) on the allocated host?

Thanks a lot,
Jin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant