Re: [AMBER] patching unsuccessful even after modifying patch_amber.py

From: Jason Swails <jason.swails.gmail.com>
Date: Mon, 25 Mar 2013 09:24:16 -0400

On Mon, Mar 25, 2013 at 9:16 AM, Vaibhav Dixit <vaibhavadixit.gmail.com>wrote:

> Hi, I made these changes to the .bashrc and sourced it, but cpptraj is
> still V12.1.
> Please suggest.
>

It is not enough to just source it. You need to close that shell and open
a new one. You can verify this by typing "which cpptraj" and seeing that
it points to your old installation. Each time you modify the PATH with
AMBERHOME, you are appending $AMBERHOME/bin, which means you continually
add directories on to the end of that variable. Since there is a cpptraj
that is found in your old AMBERHOME (which was in the PATH before the new
AMBERHOME from your last bashrc version), it will always use that one until
you either a) prepend AMBERHOME/bin to your path or b) open a new terminal.

Good luck,
Jason

-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Mar 25 2013 - 06:30:15 PDT
Custom Search