Dear, use this reputable forum to solve a problem in the installation of HPC. Following Nvidia’s installation guide for HPC, I used the commands:
$ echo ‘deb [trusted=yes] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /’ | sudo tee /etc/apt/sources.list.d/nvhpc.list
$ sudo apt-get update -y
$ sudo apt-get install -y nvhpc-22-2
then I used the commands in sequence to configure the environment variables:
$ NVARCH=uname -s
_uname -m
; export NVARCH
$ NVCOMPILERS=/opt/nvidia/hpc_sdk; export NVCOMPILERS
$ MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/22.2/compilers/man; export MANPATH
$ PATH=$NVCOMPILERS/$NVARCH/22.2/compilers/bin:$PATH; export PATH
and
$ export PATH=$NVCOMPILERS/$NVARCH/22.2/comm_libs/mpi/bin:$PATH
$ export MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/22.2/comm_libs/mpi/man
However, after restarting the PC, I notice that no HPC commands work, they are not recognized (nvaccelinfo, nvc, nvfortran, etc.)
Despite the above sequence of commands following the installation guide, I believe I’m missing some step in the installation, but I don’t know what it is. If anyone can help, thanks in advance.