-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add '--pid' to the singularity command #4
Comments
Can you please submit an issue for this in the Singularity GitHub? I don't think
|
Sure, submitted. |
Scott, please see this comment: apptainer/singularity#5884 (comment) Looks like that Still leaves a question of why I saw mpiexec.hydra's... Might be worth adding both |
To my knowledge, only the Rapids container uses tini. It seems like |
That's fair. I played with couple other containers and they don't seem to be affected. The one exception is the GAMESS-17 container, but a) it's a bit of a problem child, and b) that is why I have kept '--pid' there. |
I noticed that sometimes if the application run is interrupted (e.g. Ctrl-C'd), it leaves behind some of this processes (mpiexec.hydra, or python, etc). I discovered it while playing with a Singularity image of NGC GAMESS container, but it is definitely not limited to it.
Here's a simple reproduction using RAPIDS AI interactive example:
Now if I hit Ctrl-C, everything shuts down as expected and I get my prompt back.
But there are ghosts left behind:
Changing
container_launch
definition to be..... run --nv --pid ......
fixes the problem and eliminates ghost processes. Our singularity is 3.6.4... not sure how this play on other versions.
The text was updated successfully, but these errors were encountered: