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

Update from singularity to apptainer #174

Open
nmerket opened this issue Nov 9, 2023 · 1 comment · May be fixed by #175
Open

Update from singularity to apptainer #174

nmerket opened this issue Nov 9, 2023 · 1 comment · May be fixed by #175

Comments

@nmerket
Copy link
Member

nmerket commented Nov 9, 2023

Related to #170

Singularity has been renamed to Apptainer and is a couple of versions ahead of the version we have pinned in this repo. NREL's HPCs are using apptainer now, so we should upgrade.

We have a pretty convoluted process for building the apptainer image:

  1. Building singularity from source inside a docker container.
  2. Building the Singularity inside Docker.

It looks like with more modern apptainer, this could be much simplified. They have prebuilt apptainer packages for Ubuntu, which could be directly installed on the runner. Then the process of building an Apptainer image from a docker image is pretty straightforward:

apptainer build openstudio-3.7.0-rc2.sif docker://nrel/openstudio:3.7.0-rc2
@nmerket
Copy link
Member Author

nmerket commented Nov 9, 2023

It looks like there's an existing setup-apptainer action. It's been a while since it has been updated, but could be an easy button option.

@nmerket nmerket linked a pull request Nov 10, 2023 that will close this issue
3 tasks
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 a pull request may close this issue.

1 participant