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

From: MinYuan <minyuan.mail.ustc.edu.cn>
Date: Tue, 28 Nov 2017 17:24:11 +0800 (GMT+08:00)

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
Received on Tue Nov 28 2017 - 01:30:02 PST
Custom Search