meatball1982 发表于 2016-8-16 08:16:09

ubuntu 16.04 install vmd 1.9.3 CUDA rlwrap No match doubaba

W530 crash again for no reason.I install ubuntu 16.04.
With this new OS, so many problem that I can not image.
Just a VMD costs me almost a morning.

Download vmd 1.9.3

tar xvf vmd-1.9.3beta1.bin.LINUXAMD64-OptiX.opengl.tar

cd vmd-1.9.3beta1




then, choose one of them.
./configure LINUXAMD64
./configure

then,
cd src
sudo make install

add vmd to path
vi ~/.bashrc
export PATH=$PATH:/usr/local/bin/vmd


then
source ~/.bashrc

right now, if u use vmd in command.
there will be an error message like.

rlwrap No match

go to /usr/local/bin/
sudo vi vmd
Replace


set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f ${MASTERVMDDIR}/vmd_completion.dat "
by
<font color="#ff0000">set vmdprefixcmd="rlwrap -C vmd -c -f ${MASTERVMDDIR}/vmd_completion.dat " </font>
and
set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
by
<font color="#ff0000">set vmdprefixcmd="rlwrap -C vmd -c " </font>


then,vmd works

if it does not work.

sudo apt-get purge rlwraprm all vmd

sudo rm/usr/local/bin/vmd
sudo rm -r /usr/local/lib/vmd

reinstall the vmd.
from the tar steps.


contact me via
meatball1982@163.com
if u got problem


页: [1]
查看完整版本: ubuntu 16.04 install vmd 1.9.3 CUDA rlwrap No match doubaba