Fix CUDA sanity check for EB >=5.4.0 - #288
Conversation
… the sanity check phase. This breaks our CUDA sanity check, which relies on cuobjdump
|
It loads the module, but I guess a subshell with an isolated environment may be started? I'm not sure. It still doesn't find |
|
I knew this would bite us eventually easybuilders/easybuild-framework#4692 (comment) |
|
Since it just needs to be in the |
|
Ok, according to deepwiki indeed the sanity check does a module purge. Some hint on how to resolve this may be gotten from https://deepwiki.com/search/in-the-sanity-check-step-a-fak_317cc243-13e3-4627-a8ed-fbec38bfa715?mode=fast |
|
Explicitely adding the location of the Maybe the most robust way is to do the module load I do now, then do a |
…make sure that step doesn't undo it
|
Ok, testing this now, but not sure I can report the result - someone else may have to pick this up... |
|
I'll see if I can get this to work |
|
This works now: |
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
|
New job on instance
|
Since EB 5.4.0, the build dependencies are no longer available during the sanity check phase. This breaks our CUDA sanity check, which relies on cuobjdump being available.
This PR tries to promote CUDA to a regular dep temporarily, hoping that this will make the CUDA sanity check pass. A test on CUDA-Samples 12.9 shows that this is NOT the case. My AI friend thinks it's because the fake module that is generated is being generated based on data structures that are already available, so modifying the existing self.cfg instance has no effect.
Anyway, this is at least a description of the issue,and a starting point for the solution...