|
马上注册,结交更多好友,下载更多分子模拟资源。
您需要 登录 才可以下载或查看,没有帐号?我想注册
x
VMD安装在Ubuntu12.10 X64的系统上,安装过程如下(之前已经安装了csh)
1 先解压了文件
2 $ ./configure LINUXAMD64
3 $ cd src
4 $ sudo make install
接着显示如下内容:
if [ ! -d "/usr/local/lib/vmd" ]; then \
mkdir -p "/usr/local/lib/vmd" ; \
fi ; \
if [ ! -d "/usr/local/bin" ]; then \
mkdir -p "/usr/local/bin" ; \
fi ; \
if [ ! -d "/usr/local/lib/vmd"/doc ]; then \
mkdir -p "/usr/local/lib/vmd"/doc; \
fi
cp ../Announcement "/usr/local/lib/vmd"
cp ../README "/usr/local/lib/vmd"
cp ../LICENSE "/usr/local/lib/vmd"
cp ../doc/ug.pdf "/usr/local/lib/vmd"/doc
if [ -f /usr/local/lib/vmd/vmd_LINUXAMD64 ]; then \
mv -f "/usr/local/lib/vmd/vmd_LINUXAMD64" "/usr/local/lib/vmd/OLD_vmd_LINUXAMD64" ; rm -f "/usr/local/lib/vmd/OLD_vmd_LINUXAMD64" ; fi
cp ../LINUXAMD64/vmd_LINUXAMD64 "/usr/local/lib/vmd"
if [ -d "../lib/redistrib/lib_LINUXAMD64" ]; then \
cd ../lib/redistrib/lib_LINUXAMD64; tar -cf - ./* | \
(cd "/usr/local/lib/vmd" ; tar -xf -) \
fi ;
cp ../lib/stride/stride_LINUXAMD64 ../lib/surf/surf_LINUXAMD64 ../lib/tachyon/tachyon_LINUXAMD64 "/usr/local/lib/vmd"
cd ..; tar -cf - scripts | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cd ../lib; tar -cf - scripts | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cd ..; tar -cf - python | \
(cd "/usr/local/lib/vmd"/scripts ; tar -xf -)
cd ..; tar -cf - plugins | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cd ..; tar -cf - shaders | \
(cd "/usr/local/lib/vmd" ; tar -xf -)
cp ../data/.vmdrc ../data/.vmdsensors ../data/vmd_completion.dat "/usr/local/lib/vmd"
cd ../bin ; \
if [ -f run_vmd_tmp ]; then rm -f run_vmd_tmp; fi ; \
if [ ! -x "/bin/csh" ]; then \
echo "Info: /bin/csh shell not found, installing Bourne shell startup script instead" ; \
echo '#!/bin/sh' >> run_vmd_tmp ; \
echo 'defaultvmddir="/usr/local/lib/vmd"' >> run_vmd_tmp ; \
echo 'vmdbasename=vmd' >> run_vmd_tmp ; \
cat vmd.sh >> run_vmd_tmp ; \
else \
echo '#!/bin/csh' >> run_vmd_tmp ; \
echo 'set defaultvmddir="/usr/local/lib/vmd"' >> run_vmd_tmp ; \
echo 'set vmdbasename=vmd' >> run_vmd_tmp ; \
cat vmd.csh >> run_vmd_tmp ; \
fi ; \
chmod +x run_vmd_tmp ; \
cp run_vmd_tmp "/usr/local/bin"/vmd ; \
rm -f run_vmd_tmp
echo Make sure "/usr/local/bin"/vmd is in your path.
Make sure /usr/local/bin/vmd is in your path.
echo "VMD installation complete. Enjoy!"
VMD installation complete. Enjoy!
然后 在终端输入
$ vmd
显示 rlwrap:No match,然后按照网上的说法,使用命令
$ sudo vi /usr/local/bin/vmd 对其进行了修改。
将# set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f ${MASTERVMDDIR}/vmd_completion.dat "
改为:set vmdprefixcmd="rlwrap -C vmd -c -f
将# set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
改为set vmdprefixcmd="rlwrap -C vmd -c "
再次输入vmd时显示 unmatched “.
求高手帮忙!!!!!!!!!!!!!!!!!
|
|