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

add argument to bot: build to support building for accelerators/GPUs #272

Open
trz42 opened this issue Jun 17, 2024 · 0 comments
Open

add argument to bot: build to support building for accelerators/GPUs #272

trz42 opened this issue Jun 17, 2024 · 0 comments

Comments

@trz42
Copy link
Contributor

trz42 commented Jun 17, 2024

Currently, architecture is the only argument that let us specify for which CPU microarchitecture we want to build software packages. For accelerators/GPUs, we want to be able to build for specific combinations of CPUs and accelerators/GPUs - instead of building "fat" GPU binaries (which might not work or may be undesired) and avoiding to build many combinations for which we likely don't find any existing system (e.g, haswell + A100).

A new argument accelerator could take any value that is passed through to the build script and interpreted there only. Benefit of introducing a new argument would be that we don't have to change the semantics and processing of existing arguments ... or at least changes hopefully will be minimal.

Adding a new argument that also starts with an a will require a few changes to avoid ambiguities with the existing argument architecture, e.g., we could require that any argument is given with at least three of its starting characters (arc for architecture and acc for accelerator).

The parsing for the arguments has to be extended as well as the check if an EESSIActionFilter matches a context. We also need to add the argument and its value to the cfg/job.cfg file.

For further information, see https://github.com/EESSI/meetings/wiki/bot-sync-meeting-2024-06-14

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

1 participant