Skip to content

Show the CLI option to accept cuDNN/CUDA EULAs instead of full help - #322

Merged
ocaisa merged 7 commits into
EESSI:mainfrom
Flamefire:patch-1
Oct 28, 2026
Merged

ocaisa merged 7 commits into
EESSI:mainfrom
Flamefire:patch-1

Conversation

@Flamefire

Copy link
Copy Markdown
Contributor

Instead of showing the whole usage just state the command line option to use.

Currently it is quite verbose:

== Temporary directory /tmp/easybuild-tmp/eb-d1xp5s6n has been removed.
Usage: /cvmfs/software.eessi.io/versions/2023.06/scripts/gpu_support/nvidia/install_cuda_and_libraries.sh [OPTIONS]
Options:
  --help                           Display this help message
  --accept-cuda-eula               You _must_ accept the CUDA EULA to install
                                   CUDA, see the EULA at
                                   https://docs.nvidia.com/cuda/eula/index.html
  --accept-cudnn-eula              You _must_ accept the cuDNN EULA to install
                                   cuDNN, see the EULA at
                                   https://docs.nvidia.com/deeplearning/cudnn/latest/reference/eula.html
  -t, --temp-dir /path/to/tmpdir   Specify a location to use for temporary
                                   storage during the installation of CUDA
                                   and/or other libraries (must have
                                   several GB available; depends on the number of installations)
ERROR: 
cuDNN shall be installed. However, the cuDNN EULA has not been accepted
You _must_ accept the cuDNN EULA via the appropriate command line option.

Instead of letting the users look for the option we can just show it

Instead of showing the whole usage just state the command line option to use.
Updated error messages to include the script name for EULA acceptance instructions.

@ocaisa ocaisa left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This no longer shows the URL where they should actually go to check what it is they are signing up to. If you want to split the show_help() message into pieces and show the relevant pieces instead that would be fine with me.

Comment thread scripts/gpu_support/nvidia/install_cuda_and_libraries.sh Outdated
ocaisa
ocaisa previously approved these changes Oct 28, 2026

@ocaisa ocaisa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread scripts/gpu_support/nvidia/install_cuda_and_libraries.sh Outdated

@ocaisa ocaisa left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me

@ocaisa

ocaisa commented Oct 28, 2026

Copy link
Copy Markdown
Member

bot: build repo:eessi.io-2023.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx
bot: build repo:eessi.io-2025.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx
bot: build repo:eessi.io-2026.06-software instance:eessi-bot-deucalion for:arch=aarch64/a64fx

@eessi-bot-deucalion

eessi-bot-deucalion Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

New job on instance eessi-bot-deucalion for repository eessi.io-2023.06-software
Building on: a64fx
Building for: aarch64/a64fx
Job dir: /home/eessibot/new-bot/jobs/2026.10/pr_322/2159045

date job status comment
Oct 28 15:28:10 UTC 2026 submitted job id 2159045 awaits release by job manager
Oct 28 15:28:48 UTC 2026 released job awaits launch by Slurm scheduler
Oct 28 15:29:57 UTC 2026 running job 2159045 is running
Oct 28 15:33:41 UTC 2026 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-2159045.out
✅ no message matching FATAL:
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2023.06-software-linux-aarch64-a64fx-17932015210.tar.zstsize: 0 MiB (5186 bytes)
entries: 1
modules under 2023.06/software/linux/aarch64/a64fx/modules/all
no module files in tarball
software under 2023.06/software/linux/aarch64/a64fx/software
no software packages in tarball
reprod directories under 2023.06/software/linux/aarch64/a64fx/reprod
no reprod directories in tarball
other under 2023.06/software/linux/aarch64/a64fx
no other files in tarball
Oct 28 15:33:41 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-2159045.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case
Oct 28 17:03:46 UTC 2026 uploaded transfer of eessi-2023.06-software-linux-aarch64-a64fx-17932015210.tar.zst to S3 bucket succeeded

@eessi-bot-deucalion

eessi-bot-deucalion Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

New job on instance eessi-bot-deucalion for repository eessi.io-2025.06-software
Building on: a64fx
Building for: aarch64/a64fx
Job dir: /home/eessibot/new-bot/jobs/2026.10/pr_322/2159049

date job status comment
Oct 28 15:28:16 UTC 2026 submitted job id 2159049 awaits release by job manager
Oct 28 15:28:45 UTC 2026 released job awaits launch by Slurm scheduler
Oct 28 15:30:01 UTC 2026 running job 2159049 is running
Oct 28 15:33:44 UTC 2026 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-2159049.out
✅ no message matching FATAL:
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2025.06-software-linux-aarch64-a64fx-17932015120.tar.zstsize: 0 MiB (5186 bytes)
entries: 1
modules under 2025.06/software/linux/aarch64/a64fx/modules/all
no module files in tarball
software under 2025.06/software/linux/aarch64/a64fx/software
no software packages in tarball
reprod directories under 2025.06/software/linux/aarch64/a64fx/reprod
no reprod directories in tarball
other under 2025.06/software/linux/aarch64/a64fx
no other files in tarball
Oct 28 15:33:44 UTC 2026 test result
😢 FAILURE (click triangle for details)
Reason
EESSI test suite was not run, test step itself failed to execute.
Details
✅ job output file slurm-2159049.out
❌ found message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case
Oct 28 17:03:37 UTC 2026 uploaded transfer of eessi-2025.06-software-linux-aarch64-a64fx-17932015120.tar.zst to S3 bucket succeeded

@eessi-bot-deucalion

eessi-bot-deucalion Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

New job on instance eessi-bot-deucalion for repository eessi.io-2026.06-software
Building on: a64fx
Building for: aarch64/a64fx
Job dir: /home/eessibot/new-bot/jobs/2026.10/pr_322/2159050

date job status comment
Oct 28 15:28:22 UTC 2026 submitted job id 2159050 awaits release by job manager
Oct 28 15:28:41 UTC 2026 released job awaits launch by Slurm scheduler
Oct 28 15:30:04 UTC 2026 running job 2159050 is running
Oct 28 15:34:52 UTC 2026 finished
😁 SUCCESS (click triangle for details)
Details
✅ job output file slurm-2159050.out
✅ no message matching FATAL:
✅ no message matching ERROR:
✅ no message matching FAILED:
✅ no message matching required modules missing:
✅ found message(s) matching No missing installations
✅ found message matching .tar.* created!
Artefacts
eessi-2026.06-software-linux-aarch64-a64fx-17932015310.tar.zstsize: 0 MiB (5185 bytes)
entries: 1
modules under 2026.06/software/linux/aarch64/a64fx/modules/all
no module files in tarball
software under 2026.06/software/linux/aarch64/a64fx/software
no software packages in tarball
reprod directories under 2026.06/software/linux/aarch64/a64fx/reprod
no reprod directories in tarball
other under 2026.06/software/linux/aarch64/a64fx
no other files in tarball
Oct 28 15:34:52 UTC 2026 test result
😁 SUCCESS (click triangle for details)
ReFrame Summary
[ PASSED ] Ran 0/0 test case(s) from 0 check(s) (0 failure(s), 0 expected failure(s), 0 skipped, 0 aborted)
Details
✅ job output file slurm-2159050.out
✅ no message matching ERROR:
✅ no message matching [\s*FAILED\s*].*Ran .* test case
Oct 28 17:03:25 UTC 2026 uploaded transfer of eessi-2026.06-software-linux-aarch64-a64fx-17932015310.tar.zst to S3 bucket succeeded

@ocaisa

ocaisa commented Oct 28, 2026

Copy link
Copy Markdown
Member

Staging PR merged, going to merge this so we can line up #324

@ocaisa
ocaisa merged commit 2631d64 into EESSI:main Oct 28, 2026
91 checks passed
@Flamefire
Flamefire deleted the patch-1 branch October 29, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants