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

From: Vaibhav Dixit <vaibhavadixit.gmail.com>
Date: Mon, 25 Mar 2013 18:46:53 +0530

Hi, I made these changes to the .bashrc and sourced it, but cpptraj is
still V12.1.
Please suggest.
gm.linux-rfml:~> cd $AMBERHOME
gm.linux-rfml:/usr/local/newamber/amber12> vim /home/gm/.bashrc
gm.linux-rfml:/usr/local/newamber/amber12> source /home/gm/.bashrc
gm.linux-rfml:/usr/local/newamber/amber12> cpptraj

CPPTRAJ: Trajectory Analysis. V12.1
    ___ ___ ___ ___
     | \/ | \/ | \/ |
    _|_/\_|_/\_|_/\_|_

INPUT: Reading Input from STDIN, type "go" to run, "quit" to exit:
> quit

gm.linux-rfml:/usr/local/newamber/amber12>


export AMBERHOME=/usr/local/newamber/amber12
export PATH=$PATH:$AMBERHOME/bin


On Mon, Mar 25, 2013 at 4:51 PM, Jason Swails <jason.swails.gmail.com>wrote:

> On Mon, Mar 25, 2013 at 6:49 AM, Vaibhav Dixit <vaibhavadixit.gmail.com
> >wrote:
>
> > Dear Dr. Jan-Philip Gehrcke and amber people,
> > They system is somehow not able to use new (right) executable.
> > cd $AMBERHOME points to the right (newamber/amber12) directory.
> > But the command you suggested strangely gives output about old
> executable.
> > And the creation dates/time for newamber/amber12/bin files are latest
> > (today). I already have the following lines in my .bashrc which has been
> > sourced.
> >
> > export PATH=$PATH\:$AMBERHOME/bin
> > export AMBERHOME=/usr/local/newamber/amber12
> > export PATH=$PATH:$AMBERHOME/exe
> > export PATH=$USERPATH:$PATH
> >
>
> You are appending AMBERHOME to the PATH before you even define AMBERHOME.
> Then you proceed to add AMBERHOME/exe (which does not exist in Amber 12)
> to the PATH afterwards. Change these lines of your bashrc to 2 simple
> ones:
>
> export AMBERHOME=/usr/local/newamber/amber12
> export PATH=$PATH:$AMBERHOME/bin
>
> As Jan-Philip mentioned, USERPATH is unrelated to Amber, so whatever you do
> with that variable is up to you.
>
> 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
>



-- 
With regards
Vaibhav A. Dixit
Ph.D.
Department of Medicinal Chemistry
Natl. Inst. Pharm. Edu. & Res. (NIPER)
Sector 67, Phase X,  S.A.S. Nagar (Mohali)
Punjab -160 062 INDIA
Phone (Mobile): +919915214408, +91-7709129400.
E-mail: vaibhavadixit.gmail.com
www.niper.nic.in
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Mar 25 2013 - 06:30:14 PDT
Custom Search