Check if the compute capability of the host GPU matches the requested one#258
Check if the compute capability of the host GPU matches the requested one#258bedroge wants to merge 16 commits into
Conversation
|
Can you provide a way to test this PR? E.g. add an easystack for which the build was failing without this feature, and then prove that it works with this feature? |
|
Support meeting: @bedroge : what if you're running a slurm job in which you request 1 GPU, but then in your job you see all? For now, it just checks the first one - that's probably the one you'd run on anyway. |
Solves https://gitlab.com/eessi/support/-/work_items/257.
While I was working on this, I also found that there was a small issue with the way how multiple accelerator builds are done: each next one appends a
--resumeflag, as they keep adding that toBUILD_STEP_ARGS. That's solved now by resetting that variable for every iteration, and inside the loop the accelerator-specif flags are then added.