comorment / mixer

Singularity wrapper for https://github.com/precimed/mixer
GNU General Public License v3.0
5 stars 4 forks source link

Singularity version #26

Closed mvacher closed 4 months ago

mvacher commented 4 months ago

Hi,

I've tried different versions of Singularity but cannot find one that matches the format of the provided .sif file.

Could please provide the version with which the image was generated ?

Thank you

$ singularity --version
singularity version 3.8.7
$ singularity exec --no-home mixer.sif python3 mixer.py ld --help
FATAL:   could not open image /home/vac007/junk/mixer/singularity/mixer.sif: image format not recognized

$ singularity --version
singularity version 3.7.3
$ singularity exec --no-home mixer.sif python3 mixer.py ld --help
FATAL:   could not open image /home/vac007/junk/mixer/singularity/mixer.sif: image format not recognized

$ singularity --version
2.6.1-dist
$ singularity exec --no-home mixer.sif python3 mixer.py ld --help
ERROR  : Unknown image format/type: hello.sif
ABORT  : Retval = 255
espenhgn commented 4 months ago

Hi @mvacher, Singularity >= 3.* should work (but not earlier versions), however, you may have gotten the git LFS pointer file(s), not the "large" files themselves. Try e.g., head mixer.sif, which may produce similar to:

version https://git-lfs.github.com/spec/v1
oid sha256:8229dc3e006f9aaa8fd27f63dcc7d71887d7cd12f2517390fd8bdcb5e9d60243
size 1286680576

See https://git-lfs.com for installing the git LFS extension, then

cd </path/to/>mixer
git lfs install
git pull

ought to update the pointer files.

mvacher commented 4 months ago

Hi, Thanks for the quick reply, that was the problem indeed. It seems to work now, thank you