Update the singularity command line parameter for apptainer
See original GitHub issuePlaceholder issue for future work after Singularity has moved to under the Linux Foundation as “Apptainer”.
From @mr-c on Element about renaming --singularity
to --apptainer
in cwltool
:
Sure, but we’ll likely keep the other name as a fallback. Or better yet, auto detect which engine is installed. I believe there is an issue for that already
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Quick Start — Singularity User Guide 3.8 documentation
Singularity's command line interface allows you to build and interact with containers transparently. You can run programs inside a container as if they...
Read more >singularity exec — Singularity User Guide 3.8 documentation
Run a command within a container ... singularity exec /tmp/debian.sif python $ sudo singularity exec --writable /tmp/debian.sif apt-get update $ singularity ...
Read more >The Singularity Config File - Apptainer
This feature is used via multiple command line arguments (e.g. --bind , --scratch , and --home ) so disabling user bind control will...
Read more >Quick Start — Singularity container 3.4 documentation
Singularity's command line interface allows you to build and interact with containers transparently. You can run programs inside a container as if they...
Read more >apptainer shell — Apptainer User Guide main documentation
shub://* A container hosted on Singularity Hub. ... <fuse command> is the path to the FUSE executable, plus options for the mount.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sure, I will have a look at the contribution guidelines and prepare a pull request. I have no experience with podman so far.
However, there seems to be an error regarding the “version check”, as apptainer and singularity seem to have different versioning conventions. I am currently receiving the following error with apptainer:
… while it works perfectly with the syslabs-singularity (and also with standard docker in this case).
(I started the job using
$ cwltool --singularity 1st-tool.yml echo-job.yml
)So probably either the two command lines (–singularity / --apptainer) need a specific version check or the versioning scheme needs to be auto-detected depending on whether the one or the other singularity distribution is used.
I have attached the (slightly shortened) full output with
--debug
option:bug_report_cwltool.txt