Re: [AMBER] Problems with Nvidia Drivers

From: Ross Walker <>
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


sudo bash

systemctl stop lightdm.service

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

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
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

> On Mar 26, 2020, at 13:25, Andrea H. Kasun <> 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 mailing list
Received on Thu Mar 26 2020 - 13:00:02 PDT
Custom Search