Re: [AMBER] Problems during installation of amber-14 with cuda-5 on GTX 670

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 21 Apr 2014 07:44:24 -0400

On Mon, 2014-04-21 at 13:43 +0400, James Starlight wrote:
> Dear Amber tools!

Heh.

> I've forced with the problem during compilation of the amber-14 with the
> CUDA support (I'm using cuda-5 with the GeForce GTX 670).
>
> Firstly I've successful run configure -cuda gnu with the detection of my
> cuda-5.0 dir
>
> on next step running make install I've obtained
>
> [sudo] password for own:
> cd AmberTools/src && make install
> make[1]: Entering directory
> `/home/own/Documents/simulations/amber/amber14/AmberTools/src'
> AmberTools14 has no CUDA-enabled components
> (cd ../../src && make cuda )
> make[2]: Entering directory
> `/home/own/Documents/simulations/amber/amber14/src'
> make[2]: *** No rule to make target `cuda'. Stop.
> make[2]: Leaving directory
> `/home/own/Documents/simulations/amber/amber14/src'
> make[1]: [cuda] Error 2 (ignored)
> make[1]: Leaving directory
> `/home/own/Documents/simulations/amber/amber14/AmberTools/src'
> ==============================================================
> /src/Makefile not found, or -noamber was set.
> This is expected if you do not have Amber14.
>
> How it could be fixed?

I advise against installing Amber as root. Instead, change the
ownership of the amber14 recursively and install it as a "normal" user.

I suspect what is happening is that you are running the command

sudo make install

which is launching a root shell that does not inherit your environment.
(You need "sudo -E" to do that).

I still _strongly_ recommend against installing Amber as root.

HTH,
Jason

-- 
Jason M. Swails
BioMaPS,
Rutgers University
Postdoctoral Researcher
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Apr 21 2014 - 05:00:03 PDT
Custom Search