mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Linux (https://www.mersenneforum.org/forumdisplay.php?f=39)
-   -   RHEL 8 & Nvidia GPU compute (https://www.mersenneforum.org/showthread.php?t=27171)

Xyzzy 2021-09-29 17:49

RHEL 8 & Nvidia GPU compute
 
3 Attachment(s)
Here are the necessary steps to set things up.

We are starting with a freshly-installed RHEL 8 (8.5) "workstation" system.

Ensure the system is registered and updated:[CODE]sudo subscription-manager register
sudo subscription-manager attach
sudo dnf update
sudo reboot[/CODE]Install the proprietary driver:[CODE]sudo subscription-manager repos --enable=rhel-8-for-x86_64-appstream-rpms
sudo subscription-manager repos --enable=rhel-8-for-x86_64-baseos-rpms
sudo subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms
sudo dnf config-manager --add-repo=https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.repo
sudo dnf module install nvidia-driver:latest
sudo reboot
sudo dnf install cuda-11-5
echo 'export PATH=/usr/local/cuda-11.5/bin:$PATH' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH=/usr/local/cuda-11.5/lib64/:$LD_LIBRARY_PATH' >> ~/.bashrc
source ~/.bashrc[/CODE]The attached files have the necessary directory structures and files needed for gpuowl, mfaktc and msieve.

We will try to keep this guide current as things change.

:mike:

[I]Edit: Updated for RHEL 8.5[/I]
[I]Edit: Note that there is a free license deal for RHEL8: [url]https://arstechnica.com/gadgets/2021/01/centos-is-gone-but-rhel-is-now-free-for-up-to-16-production-servers/[/url]
[/I]


All times are UTC. The time now is 02:07.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.