singularity: unable to execute code #2816
Unanswered
erikajob91
asked this question in
Firedrake support
Replies: 1 comment
-
You need to activate the virtual environment first and then you can run the python code in that environment. Singularity doesn't do that for you. You may also need to map some directories from singularities rootless point of view:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I opened the firedrakeproject/firedrake:latest docker image via singularity on my HPC cluster and I got this situation:
### Singularity> ls -alrt
total 1
drwxr-xr-x 3 root root 32 Feb 19 02:31 .
drwxr-x--- 6 root root 216 Feb 19 03:13 firedrake
drwxr-xr-x 1 epellegrino calcoli3 60 Mar 13 11:18 ..
Singularity> sudo firedrake
sudo: The "no new privileges" flag is set, which prevents sudo from running as root.
sudo: If sudo is running in a container, you may need to adjust the container configuration to disable the flag.
Actually I'm not able to copy the directory firedrake either.
Beta Was this translation helpful? Give feedback.
All reactions