-
Notifications
You must be signed in to change notification settings - Fork 38
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
kingfisher executable file not found in $PATH in Singularity #29
Comments
Hi, Thanks for the kind words. I think this might be quite straightforward actually, just run
I haven't checked singularity specifically but on docker your extra "kingfisher" is causing that issue. |
actually, no, that isn't it - will look. |
I think what might be happening is that singularity doesn't respect the files in /tmp in the container, they appear to be invisible. Fixed I think by just putting the kingfisher install in the root directory, rather than /tmp. Does using this image work for you?
If so I'll release again properly. |
Thanks for the quick response. Close!
|
So we have a package in conda distributed through docker converted to singularity. But we still can't import numpy. I'm having trouble reproducing this error - I ran the singularity run on 2 different machines with very different (Linux) OSes and both ran without issue. Maybe can you check with your HPC admins? I'm not sure how to help you otherwise.. |
I cleaned out the singularity cache and pulled the image again and that seemed to do it somehow. Many thanks for your help :) |
Otherwise singularity cannot find the files. Reported by @JonathonMifsud. Closes #29.
Hi Ben,
I have been using it through conda and docker and had no problems but recently moved over to a cluster that predominately uses singularity. I am not too familiar with singularity so this is probably just a problem on my end but any insight would be super helpful.
module load singularity/3.11.4
singularity pull --name kingfisher:0.3.0.sif docker://wwood/kingfisher:0.3.0
singularity exec kingfisher:0.3.0.sif kingfisher
FATAL: "kingfisher": executable file not found in $PATH
I've replicated this with all versions of kingfisher available on DockerHub
Here is the output of singularity inspect:
singularity inspect kingfisher:0.3.0.sif org.label-schema.build-arch: amd64 org.label-schema.build-date: Friday_22_September_2023_11:7:54_AWST org.label-schema.schema-version: 1.0 org.label-schema.usage.singularity.deffile.bootstrap: docker org.label-schema.usage.singularity.deffile.from: wwood/kingfisher:0.3.0 org.label-schema.usage.singularity.version: 3.11.4 org.opencontainers.image.created: 2022-11-29T15:51:20.245Z org.opencontainers.image.description: Rapid builds of small Conda-based containers using micromamba. org.opencontainers.image.licenses: Apache-2.0 org.opencontainers.image.revision: 4427b199720b9962a7c135fb159fbce50e1ba7b8 org.opencontainers.image.source: https://github.com/mamba-org/micromamba-docker org.opencontainers.image.title: micromamba-docker org.opencontainers.image.url: https://github.com/mamba-org/micromamba-docker org.opencontainers.image.version: latest
Thanks for the great tool.
The text was updated successfully, but these errors were encountered: