Mathematica中文论坛-非官方

标题: ubuntu 16.04 install vmd 1.9.3 CUDA rlwrap No match doubaba [打印本页]

作者: meatball1982    时间: 2016-8-16 08:16
标题: 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

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

  2. cd vmd-1.9.3beta1


复制代码


then, choose one of them.
  1. ./configure LINUXAMD64
  2. ./configure
复制代码


then,
  1. cd src
  2. sudo make install
复制代码


add vmd to path
  1. vi ~/.bashrc
  2. export PATH=$PATH:/usr/local/bin/vmd
复制代码


then
  1. 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/
  1. sudo vi vmd
复制代码
Replace


  1. set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f ${MASTERVMDDIR}/vmd_completion.dat "
  2. by
  3. <font color="#ff0000">set vmdprefixcmd="rlwrap -C vmd -c -f ${MASTERVMDDIR}/vmd_completion.dat " </font>
  4. and
  5. set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
  6. by
  7. <font color="#ff0000">set vmdprefixcmd="rlwrap -C vmd -c " </font>
复制代码


then,  vmd works

if it does not work.

  1. sudo apt-get purge rlwrap
复制代码
rm all vmd

  1. sudo rm  /usr/local/bin/vmd
  2. sudo rm -r /usr/local/lib/vmd
复制代码


reinstall the vmd.
from the tar steps.


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







欢迎光临 Mathematica中文论坛-非官方 (http://ilovemathematica.com/) Powered by Discuz! X3.2