Re: [AMBER] Problems with Nvidia Drivers

From: Ross Walker <ross.rosswalker.co.uk>
Date: Thu, 26 Mar 2020 15:49:14 -0400

Hi Andrea,

That's an ancient driver to be trying to install on Ubuntu18. I'd recommend doing the following from the terminal:

sudo bash

echo "blacklist nouveau" >> /etc/modprobe.d/blacklist-nouveau.conf
echo "blacklist lbm-nouveau" >> /etc/modprobe.d/blacklist-nouveau.conf
echo "options nouveau modeset=0" >> /etc/modprobe.d/blacklist-nouveau.conf
echo "alias nouveau off" >> /etc/modprobe.d/blacklist-nouveau.conf
echo "alias lbm-nouveau off" >> /etc/modprobe.d/blacklist-nouveau.conf
echo options nouveau modeset=0 | tee -a /etc/modprobe.d/nouveau-kms.conf
update-initramfs -u

reboot

sudo bash

systemctl stop lightdm.service

add-apt-repository -y ppa:graphics-drivers
apt-get update && apt-get -y install nvidia-driver-440

wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.2.89-1_amd64.deb
dpkg -i cuda-repo-ubuntu1804_10.2.89-1_amd64.deb
rm -f cuda-repo-ubuntu1804_10.2.89-1_amd64.deb
apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub
apt-get update; apt-get -y install cuda-toolkit-10-1;

That will get you an up to date driver as well as CUDA 10.1 which you can use to compile the GPU code from Amber 18 + AmberTools 19.

All the best
Ross

> On Mar 26, 2020, at 13:25, Andrea H. Kasun <andrea.h.kasun.gmail.com> wrote:
>
> Dear Amber users,
>
> I've been trying to install Nvidia-Linux-x86_64-367.27 drivers on Ubuntu
> 18.04 LTS for Amber GPU calculations on my 1080Ti (as recommended) , but I
> always get the same error "Error occurred while building kernel module". I
> already installed Cuda8.0 Toolkit... Did anyone else experience this
> problem? Are there any other Nvidia drivers suitable for GPU calculations
> on 1080Ti?
> Thank you in advance!
> Sincerely,
> Andrea
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Mar 26 2020 - 13:00:02 PDT
Custom Search