I have installed the PGI following the steps below:
$ wget https://developer.download.nvidia.com/hpc-sdk/21.11/nvhpc-21-11_21.11_amd64.deb \ https://developer.download.nvidia.com/hpc-sdk/21.11/nvhpc-2021_21.11_amd64.deb $ apt-get install ./nvhpc-21-11_21.11_amd64.deb ./nvhpc-2021_21.11_amd64.deb
It finished and produced the PGI in /opt/nvidia/hpc_sdk/.
Then I set path as follow:
$NVARCH=`uname -s`_`uname -m` && export NVARCH $ NVCOMPILERS=/opt/nvidia/hpc_sdk/Linux_x86_64 && export NVCOMPILERS $ MANPATH=$MANPATH:$NVCOMPILERS/$NVARCH/21.11/compilers/man && export MANPATH $ PATH=$NVCOMPILERS/$NVARCH/21.11/compilers/bin:$PATH && export PATH
However the pgf90 still not work when I try with “pgf90 -V” or other pgf90 command, it said “pgf90: command not found”
My OS is Ubuntu 20.04.3
I’m not sure what’s wrong with my steps. Could you please help to guide me how to install PGI successfully.