EESSI / docs

Documentation for the European Environment for Scientific Software Installations (EESSI)
https://eessi.github.io/docs
GNU General Public License v2.0
13 stars 26 forks source link

CUDA setup description incomplete #274

Open Flamefire opened 1 week ago

Flamefire commented 1 week ago

"Configuring CUDA driver location" (https://www.eessi.io/docs/site_specific_config/gpu/#driver_location) doesn't say anything about the "configuring" part.

There is just 2 paragraphs and a link which isn't really explained, then the next chapter starts.

So how is the "location" configured? Looks like it is something fixed, not configurable.

Also the example to install the full CUDA SDK doesn't work out of the box:

/cvmfs/software.eessi.io/versions/${EESSI_VERSION}/scripts/gpu_support/nvidia/install_cuda_host_injections.sh --cuda-version 12.1.1 --temp-dir /tmp/$USER/EESSI --accept-cuda-eula

This tries to write into /opt/eessi which fails for non-root users but for root user eb aborts immediately so the script stops.

That is either a bug in the script or something is missing from the description

ocaisa commented 1 week ago

It is exactly the location of the symlink /cvmfs/software.eessi.io/host_injections (which defaults to /opt/eessi) that is configurable, the text should be linked against https://www.eessi.io/docs/site_specific_config/host_injections/#the-host_injections-variant-symlink which explains how to set this, I'll look in a PR that helps to clarify.

ocaisa commented 1 week ago

I think this was one page at one point and then was separated out