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

Accepting EULA in a container recipe #4447

Open
marsdeno opened this issue Jan 26, 2024 · 1 comment
Open

Accepting EULA in a container recipe #4447

marsdeno opened this issue Jan 26, 2024 · 1 comment
Milestone

Comments

@marsdeno
Copy link

When containerizing an easyconfig that requires an EULA to be accepted (e.g. Intel or NVHPC compilers), the container recipe that easybuild generates does not receive the --accept-eula-for=xxx option that is supplied on the command line.
For example :

eb NVHPC-23.7-CUDA-12.2.0.eb --accept-eula-for=CUDA -C --container-config bootstrap=yum,osversion=7 --experimental

results in a recipe that has the following line for easybuild installation of the NVHPC package :
eb NVHPC-23.7-CUDA-12.2.0.eb --robot
It feels like the --accept-eula-for command-line option should be injected into the container recipe.

@Micket
Copy link
Contributor

Micket commented Mar 25, 2024

Hm, one would need to be careful what to include here, as one certainly can't pass all flags, and some things like a --try-amend and such gets a bit confusing at what stage it should appear, before easyconfig is passed to the container or after.

But for --accept-eula-for=XXX makes sense (though I wonder if that should be part of the configuration), and also --cuda-compute-capabilities=xxxx, and probably other things as well.

Feel free to open a PR on this.

@Micket Micket added this to the 4.x milestone Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants