Skip to content

Make error reporting of install_cuda_and_libraries.sh better #76

@laraPPr

Description

@laraPPr

On our system at UGent we are seeing the following error

cp: missing destination file operand after '.'

Try 'cp --help' for more information.

basename: missing operand

But the actual issue was that the eb command in the script were failing. Their were at least 4 failed eb commands that failed in our case before it storpped with the error above.

In our case the eb commandos were failing because we have set EASYBUILD_INCLUDE_EASYBLOCKS with easyblock that are compatible with the latest develop version of easybuild. So these easyblock were imcompatible with the easybuild version of the easystack for the installation of CUDA and cuDDN in host-injections (/cvmfs/software.eessi.io/versions/2023.06/scripts/gpu_support/nvidia/easystacks/eessi-2023.06-eb-4.9.4-2023a-CUDA-host-injections.yml).

Should we make the script more robust that if ´eb --show-config´ fails that the script stops instead of continueing and that ending with the confusing cp command error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions