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

Fix binding of folders when running with singularity. #116

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

njohner
Copy link
Contributor

@njohner njohner commented Jul 15, 2024

When running with singularity the current working directory and home folders get mounted by default. It seems that this can collide with our own mounts, which get mounted into webapp/assets of the zDB directory, which usually also is the CWD. I did not quite understand why this works in certain cases but not in others, but it seems this led to zDB not running with singularity on our server. Adding the -c option to avoid sharing the filesystem resolves this issue.

Checklist

  • Changelog entry
  • Check that tests still pass
  • Add tests for new features and regression tests for bugfixes whenever possible.

When running with singularity the current working directory and
home folders get mounted by default. It seems that this can collide
with our own mounts, which get mounted into webapp/assets of the
zDB directory, which usually also is the CWD. I did not quite
understand why this works in certain cases but not in others, but
it seems this led to zDB not running with singularity on our server.
Adding the -c option to avoid sharing the filesystem resolves this
issue.
@njohner njohner merged commit a57ab4d into master Jul 17, 2024
@njohner njohner deleted the nj/fix_singularity branch July 17, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant