Re: [AMBER] cannot fix the problem LD_LIBRARY_PATH does not include $AMBERHOME/lib

From: MinYuan <minyuan.mail.ustc.edu.cn>
Date: Wed, 29 Nov 2017 14:42:23 +0800 (GMT+08:00)

After typing "/amber16$ echo $LD_LIBRARY_PATH"
it comes as:

/opt/mopac/mopac_cuda_5.5_libs

which is the path added by mdpac, a software.

It seems LD_LIBRARY_PATH is not linked to amber16.



Best wishes
Yuan Min
> -----原始邮件-----
> 发件人: "Bill Ross" <ross.cgl.ucsf.edu>
> 发送时间: 2017-11-28 18:35:35 (星期二)
> 收件人: amber.ambermd.org
> 抄送:
> 主题: Re: [AMBER] cannot fix the problem LD_LIBRARY_PATH does not include $AMBERHOME/lib
>
> What happens if you
>
> /amber16$ echo $LD_LIBRARY_PATH
>
> Bill
>
> On 11/28/17 1:24 AM, MinYuan wrote:
> > Hi,
> >
> > I learned from http://ambermd.org/doc12/Amber16.pdf page24
> > to instalmpi version of amber16.
> >
> >
> > When I type command 'make test', error comes
> > ----------------------------------------------------------------------------
> > /amber16$ make test
> > (cd AmberTools/test && make test.parallel)
> > make[1]: Entering directory '/home/miny/amber/amber16/AmberTools/test'
> > ./test_at_parallel.sh
> >
> > Tests being run with DO_PARALLEL="mpirun -np 2".
> >
> > Error: LD_LIBRARY_PATH does not include $AMBERHOME/lib!
> >
> > Amber now requires $AMBERHOME/lib to be added to your LD_LIBRARY_PATH
> > environment variable in order for all components to work.
> > We recommend adding the line:
> >
> > test -f /home/miny/amber/amber16/amber.sh && source /home/miny/amber/amber16/amber.sh (sh/bash/zsh)
> > or
> > test -f /home/miny/amber/amber16/amber.csh && source /home/miny/amber/amber16/amber.csh (csh/tcsh)
> >
> > to your login shell resource file (e.g., ~/.bashrc or ~/.cshrc).
> > Makefile:11: recipe for target 'test.parallel' failed
> > make[1]: *** [test.parallel] Error 1
> > make[1]: Leaving directory '/home/miny/amber/amber16/AmberTools/test'
> > Makefile:79: recipe for target 'test.parallel' failed
> > make: *** [test.parallel] Error 2
> > -----------------------------------------------------------------------
> >
> >
> >
> > I add the $AMBERHOME/lib into the path, and source ~/.bashrc.
> > But it doesn't work and same error occurs.
> > ---------------------------------------------------
> > # added by amber16
> > export AMBERHOME=/home/miny/amber/amber16
> > source /home/miny/amber/amber16/amber.sh
> > export LD_LIBRARY_PATH=$LD_LIBRARY_PATH\:$AMBERHOME/lib:$AMBERHOME/lib4
> > ---------------------------------------------------------------------------
> >
> >
> > Looking forward to hear your reply soon.
> >
> > Best wishes
> >
> > Yuan Min
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Tue Nov 28 2017 - 23:00:02 PST
Custom Search