Repository navigation
Update CUDA configuration guide - #816
Conversation
Co-authored-by: ocaisa <alan.ocais@cecam.org>
| - For EESSI 2023.06: `/cvmfs/software.eessi.io/host_injections/${EESSI_VERSION}/compat/${EESSI_OS_TYPE}/${EESSI_CPU_FAMILY}/lib` | ||
|
|
||
| Then, manually create the symlinks for each of the files in the aforementioned list (if they exist on your system) to the current directory. | ||
| You can use the command `locate libcuda.so` to determine the absolute path of the libraries on your system. |
There was a problem hiding this comment.
I'm not too familiar with locate, but this instruction might not very generically work. Not all systems have locate installed. Also, as far as I know, it searches a database, which may or may not have indexed the relevant path. So... your mileage may vary.
Not that I have a better alternative, but maybe we should phrase it a bit more careful (like 'if available, you can use a command like ...').
There was a problem hiding this comment.
If it is known to the OS, it should appear with ldconfig -p | grep cuda
| The script may ask for additional command line options, e.g. to accept the terms of the EULA. | ||
| Be sure to work in a clean environment and outside your local EasyBuild configuration. | ||
| If the installation is interrupted by the error message "Files missing CUDA PTX code", | ||
| re-run the command with environment variable `EASYBUILD_CUDA_SANITY_CHECK_ACCEPT_MISSING_PTX=1` set. |
There was a problem hiding this comment.
Interesting. I don't have this exactly in my mind, but I guess the EasyBuild we load in install_cuda_and_libraries.sh uses the same config as EESSI-extend - and I'm guessing that set a --cuda-compute-capabilities value if you're on a GPU-enabled node?
I'm wondering if we should put this in the docs - if we tell people to do this any way (and I think it's reasonable...) maybe we better just adjust install_cuda_and_libraries.sh and make sure it gets set there (as environment variable, or even as a command line option).
There was a problem hiding this comment.
I've fixed this directly in the easystack file, this hack should not be necessary now.
There was a problem hiding this comment.
I thought I really did fix this in https://github.com/EESSI/software-layer-scripts/pull/269/files, but it seemed to pop up for @Flamefire last week. To me this is not one to go in the docs, it should be fixed in the easystacks.
|
I was waiting to get the CUDA-Samples for 2025.06 merged before looking at this. That just happened today so I might try to finish this later |
|
any update? 😊 |
|
Sorry, got lost in the pile |
Description of changes: