Download the hpc-sdk from
https://developer.nvidia.com/nvidia-hpc-sdk-downloads
Click on the option Linux x86_64 Tarball
Follow the instructions for this kind of installation
$ wget https://developer.download.nvidia.com/hpc-sdk/23.1/nvhpc_2023_231_Linux_x86_64_cuda_12.0.tar.gz $ tar xpzf nvhpc_2023_231_Linux_x86_64_cuda_12.0.tar.gz $ nvhpc_2023_231_Linux_x86_64_cuda_12.0/install
MANPATH=$MANPATH:/opt/nvidia/hpc_sdk/Linux_x86_64/23.1/compilers/man; export MANPATHPATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.1/compilers/bin:$PATH; export PATHexport PATH=/opt/nvidia/hpc_sdk/Linux_x86_64/23.1/comm_libs/mpi/bin:$PATHexport MANPATH=$MANPATH:/opt/nvidia/hpc_sdk/Linux_x86_64/23.1/comm_libs/mpi/man
If you want to test the installation, you can go to
/opt/nvidia/hpc_sdk/Linux_x86_64/23.1/examples/CUDA-Fortran/SDK
and run make to some of the examples
No comments:
Post a Comment