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

Lessons learned from container workshop at RSEcon 2023 #246

Open
bast opened this issue Sep 6, 2023 · 0 comments
Open

Lessons learned from container workshop at RSEcon 2023 #246

bast opened this issue Sep 6, 2023 · 0 comments

Comments

@bast
Copy link
Member

bast commented Sep 6, 2023

what I learned in container workshop at RSEcon (saving also as issue to the
repo just in case we one day expand the container section):

  • on macos people seem to use https://lima-vm.io/ to run apptainer
  • there can be issues on ARM-based chips so test your container also on M1 and
    similar chips
    • fix:
      • edit /opt/homebrew/share/lima/examples/apptainer.yml
      • add one line on top: arch: "x86_64"
      • look for location: "~" and below add writable: true
  • useful: $ singularity inspect container.sif
  • put it on Zenodo and get a DOI
  • MPI lib inside the container needs to be binary-compatible with MPI on the
    host system
  • build images with docker and then translate it to singularity (to work around ARM issues)
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

No branches or pull requests

1 participant