Re: [AMBER] Amber installation

From: Yazan Haddad <>
Date: Tue, 8 Jan 2019 15:59:28 +0000

Thank you for insight.
It was a Cuda problem eventually.
As you suggested installing Cuda-9.2 solved the issue.
I did try the suggested change (with cuda-9.1) in the cuda/../crt/host_config.h file (from >6 to something else like >8) but that created other compilation problems.
I havn't finished the (make test) yet but I got the files compiled now.
All the best,

From: David A Case <>
Sent: Tuesday, January 8, 2019 2:56 PM
To: AMBER Mailing List
Subject: Re: [AMBER] Amber installation

On Tue, Jan 08, 2019, Yazan Haddad wrote:

>Here is the progress so far. Below is my workflow:
># installing Cuda-9.1.. it automatically upgraded the compilers to version 7.
>cd /Downloads
>sudo dpkg -i cuda-repo-ubuntu1704-9-1-local_9.1.85-1_amd64.deb

OK: I'm surprised that the package manager is doing that, since cuda9.1
is not compatible with gcc7. I've personally always used the nvidia
installers to add new versions of cuda to my machine.

>So even when using gcc-6/gfortran-6 for compilation I still got the error
>because there is no way to stop cuda-9.1 from installing via gcc-7.

You might raise this issue on Ubuntu forums. There are some possible
solutions here:

But also note that cuda-9.2 should be compatible with gcc7, so that
might be a better option.

...good luck...dac

AMBER mailing list
AMBER mailing list
Received on Tue Jan 08 2019 - 08:30:03 PST
Custom Search