This guide provides instructions to configure the MonoAlg3D solver in a fresh instalation of Fedora 33 with all its features working.
$ sudo dnf update
- Close your current session
- Click on your user
- Click on the gear symbol and select the "GNOME over Xorg"
- Begin your session again
$ reboot
$ sudo dnf install gnome-tweak-tool
- Disable animations to save memory
- Disable the suspend screen when notebook is closed
$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
$ sudo dnf update
- Go to Program Repositories
- Enable the RPMFusion repositories for NVIDIA
- Update the repositories again
$ sudo dnf update
- Reboot your system
$ reboot
- Enter your BIOS by pressing F12 (check your computer key)
- Disable the Secure Boot
- Save your changes and exit
$ sudo dnf update
$ sudo dnf install akmod-nvidia
$ sudo dnf install xorg-x11-drv-nvidia-cuda
- Check if the kernels are ready
$ modinfo -F version nvidia
- This should return the version of the driver such as 465.27
$ reboot
- Go to Settings > About
- Your NVIDIA Graphics Card should appear below the Processor field.
$ cd ~; mkdir CUDA-Install; cd CUDA-Install
$ wget -nc https://developer.download.nvidia.com/compute/cuda/11.3.0/local_installers/cuda_11.3.0_465.19.01_linux.run
$ sudo dnf install gcc-c++ mesa-libGLU-devel libX11-devel libXi-devel libXmu-devel libXcursor-devel libXrandr-devel
$ sudo dnf install freeglut freeglut-devel
$ chmod +x cuda_11.3.0_465.19.01_linux.run
$ sudo ./cuda_11.3.0_465.19.01_linux.run
- Accept the terms
- Disable the NVIDIA Driver installation
- Enable the installation: CUDA Toolkit, CUDA Samples, CUDA Demo, CUDA Documentation
- Install the package
$ su -
- If is the first time logging as root, you can set a password to the "root" user with:
$ sudo passwd root
cat << EOF > /etc/profile.d/cuda.sh
pathmunge /usr/local/cuda/bin before
if [ -z "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=/usr/local/cuda/lib64
else
LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH
fi
export PATH LD_LIBRARY_PATH
EOF
$ echo $PATH
$ echo $LD_LIBRARY_PATH
$ cd /home/<username>/NVIDIA_CUDA-11.1_Samples/1_Utilities/deviceQuery
$ make
$ ./deviceQuery
$ sudo dnf install libXcursor-devel libXrandr-devel libXinerama-devel
$ cd ~; make OpenMPI-Install; cd OpenMPI-Install
$ wget -nc https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.1.tar.gz
$ gunzip -c openmpi-4.1.1.tar.gz | tar xf -
$ cd openmpi-4.1.1
$ ./configure --prefix=/usr/local
$ sudo make all install