Skip to content
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

Backwards-compatibility in Singularity (v3 -> v2) #32

Closed
TimothyOlsson opened this issue Jul 8, 2020 · 3 comments
Closed

Backwards-compatibility in Singularity (v3 -> v2) #32

TimothyOlsson opened this issue Jul 8, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@TimothyOlsson
Copy link
Contributor

TimothyOlsson commented Jul 8, 2020

Multiple problems with older versions:

  • v2 cannot open shub images, which are build in v3 (previously v2). Using Quandenser_pipeline.sh results in:

ERROR : Unknown image format/type: SingulQuand.SIF

  • Building with v2 (v2.6.0 tested) results in these errors:

ERROR : Could not write to /usr/local/var/singularity/mnt/final/etc/localtime: Too many levels of symbolic links
ERROR : joinpath() called with NULL path2
ABORT : Retval = 255

So there seems to be multiple levels of errors. First of all, how to distribute the older images and the secondly, making it run

Edit1: Shelling into the image works, but opening the GUI does not. Needs to be further tested on a better VM.

@TimothyOlsson TimothyOlsson self-assigned this Jul 8, 2020
@TimothyOlsson TimothyOlsson added the bug Something isn't working label Jul 8, 2020
@TimothyOlsson
Copy link
Contributor Author

ERROR : joinpath() called with NULL path2

Caused by latest change in directory mounts in shell file (https://github.com/statisticalbiotechnology/quandenser-pipeline/blob/master/Quandenser_pipeline.sh#L79)

Causes the directories to ONLY mount latest variable (bad)
Causes empty bind paths (also bad)

Fix ongoing

@TimothyOlsson
Copy link
Contributor Author

TimothyOlsson commented Jul 8, 2020

ERROR : joinpath() called with NULL path2

Fixed in fe30040

ERROR: pull is only supported for shub URIs

Fixed in f37da73, now works for 2.X and 3.X

ERROR : Could not write to /usr/local/var/singularity/mnt/final/etc/localtime: Too many levels of symbolic links

Does not affect the pipeline. Seems to disappear in 3.X and only and issue in 2.6.0 (tested). No fix found

ERROR : Unknown image format/type: SingulQuand.SIF
ABORT : Retval = 255

No fix found yet. Seems to work with 2.6.0. Workarounds with building the image from scratch. Perhaps bad image in shub?

@TimothyOlsson
Copy link
Contributor Author

Seems to be mostly fixed by now. Problem with singhub image also created the problems. I have not yet found anything breaking with the older version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant