You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can access to compute node by ssh <username>@<ip> address from vscode, where my compute node was requested by srun -N1 -G1 -c16 --mem=128G --time=12:00:00 --container-name=<name> --container-image <file name>.sqsh --container-mounts=$WORK:/workspace/work --pty $SHELL, everything works well.
When I use VSCode ssh to the compute node, I need to use srun --overlap --jobid=<jobid> --pty bash to enter running container session in every terminal session, otherwise my vscode terminal only enter the host session. Also I want to know how can I find the python interpreter from container in vscode? Looks like /usr/bin/python in compute node are not same as the /usr/bin/python in running container.
Thanks!
The text was updated successfully, but these errors were encountered:
Thank you! I found enroot list -f can found the running container ID and enter the running container session in terminal. May I ask that how can I locate the python interpreter in container if my terminal session is in host? Is there any mapped path in host node file system?
Hi there,
I can access to compute node by
ssh <username>@<ip>
address from vscode, where my compute node was requested bysrun -N1 -G1 -c16 --mem=128G --time=12:00:00 --container-name=<name> --container-image <file name>.sqsh --container-mounts=$WORK:/workspace/work --pty $SHELL
, everything works well.When I use VSCode ssh to the compute node, I need to use
srun --overlap --jobid=<jobid> --pty bash
to enter running container session in every terminal session, otherwise my vscode terminal only enter the host session. Also I want to know how can I find the python interpreter from container in vscode? Looks like/usr/bin/python
in compute node are not same as the/usr/bin/python
in running container.Thanks!
The text was updated successfully, but these errors were encountered: