24小时热门版块排行榜    

CyRhmU.jpeg
查看: 11312  |  回复: 210
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

bay__gulf

金虫 (著名写手)

刘苏州

[交流] 【在线答疑】关于NAMD/VMD已有27人参与

看到这个板块的在线答疑方式办得很好,这里也尽自己的薄力给大家一些关于NAMD/VMD 原理及使用方面的帮助。

本帖旨在邀请各位朋友集中提问和回答NAMD/VMD的问题,欢迎每个虫子参与提问与回答。我将尽可能的抽出时间来尽我所能回答该帖相关问题。
注意:
1. 请回答问题的虫子勿必回帖时注明:【回复__楼】;
2. 提问的虫子们得到答案后应该重新编辑自己的提问帖,在下面附上:【已解决,答案见__楼】


namd/vmd 官网上的一些好东西,一个免费软件提供的服务比收费软件还要全面。
这里列几个,不保证全。有些链接很深,需要仔细点找。

http://www.ks.uiuc.edu/      首页
http://www.ks.uiuc.edu/Highlights/index.cgi    一些亮点文章 ,可以索要,但不如看看网页的介绍
http://www.ks.uiuc.edu/Research/Categories/   一些分类算例
http://www.ks.uiuc.edu/Research/vmd/  VMD
   http://www.ks.uiuc.edu/Research/vmd/current/docs.html   vmd文档,里面的链接最好都看看
   http://www.ks.uiuc.edu/Research/vmd/plugins/                  VMD Plugin Library
   http://www.ks.uiuc.edu/Research/vmd/script_library/         VMD Script Library
   http://www.ks.uiuc.edu/Research/vmd/mailing_list/            VMD-L Mailing List
   http://biocore.ks.uiuc.edu/bioco ... ips/tclscripts.html     一些脚本,或许对你有用
http://www.ks.uiuc.edu/Research/namd/    NAMD
   http://www.ks.uiuc.edu/Research/namd/wiki/                    NamdWiki
   http://www.ks.uiuc.edu/Research/namd/mailing_list/        NAMD Mailing List
   http://www.ks.uiuc.edu/Research/namd/documentation.html    NAMD Documentation,推荐看一下NAMD 1.5 Programmer's Guide ,我还没有看,谁看完了讲一下。
   http://www.ks.uiuc.edu/Research/namd/announcements.html   NAMD Announcements
   http://www.ks.uiuc.edu/Training/                                                Training
   http://www.ks.uiuc.edu/Training/CaseStudies/index.html           Case Studies
http://www.ks.uiuc.edu/Training/Tutorials/                Tutorials,那些pdf 和代码,常更新。就是说本来对你有用的可能下个月就找不到了

[ Last edited by lei0736 on 2009-12-21 at 18:04 ]
回复此楼

» 收录本帖的淘帖专辑推荐

分子动力学 爱笑的女孩子受神眷顾 PDT靶向相关 刘飞儿

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jianchaoyv

金虫 (小有名气)

In the VMD TkCon window, type the following command:source ubq.pgn(出错)


小木虫(金币+0.5):给个红包,谢谢回帖交流
>Main< (vmd) 3 % source ubq.pgn
couldn't read file "ubq.pgn": no such file or directory

请问怎样解决这个问题,初学VMD请高手指教!!
104楼2009-11-15 13:28:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jianchaoyv

金虫 (小有名气)

NAMD 出错请求帮助!!


小木虫(金币+0.5):给个红包,谢谢回帖交流
------------- Processor 0 Exiting: Called CmiAbort ------------
Reason: FATAL ERROR: can't read "coorList(577)": no such element in array
    while executing
"lindex $coorList($i) 2"
    (procedure "calcforces" line 5)
    invoked from within
"calcforces"

Charm++ fatal error:
FATAL ERROR: can't read "coorList(577)": no such element in array
    while executing
"lindex $coorList($i) 2"
    (procedure "calcforces" line 5)
    invoked from within
"calcforces"


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

请问怎么解决这一问题??
106楼2009-11-16 16:49:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jianchaoyv

金虫 (小有名气)

上面问题的.conf文件


小木虫(金币+0.5):给个红包,谢谢回帖交流
#############################################################
## JOB DESCRIPTION                                         ##
#############################################################

# Simulate the 4-nanotube system with induced pressure difference


#############################################################
## ADJUSTABLE PARAMETERS                                   ##
#############################################################

structure          cnt.psf
coordinates        cnt.pdb

set temperature    300
set outputname     sim_short


# Continuing a job from the restart files
Bincoordinates     initial.coor
Binvelocities      initial.vel


#############################################################
## SIMULATION PARAMETERS                                   ##
#############################################################

# Input
paraTypeCharmm            on
parameters          par_all27_prot_lipid.prm  


# Periodic Boundary conditions
cellBasisVector1    23    0.   0.
cellBasisVector2     0.   19.919   0.
cellBasisVector3     0.    0   30.3962
wrapAll             on


# Force-Field Parameters
exclude             scaled1-4
1-4scaling          1.0
cutoff              12.
switching           on
switchdist          10.
pairlistdist        14.5


# Integrator Parameters
timestep            1    ;# 1fs/step
nonbondedFreq       2
fullElectFrequency  4  
stepspercycle       20


# Constant Temperature Control
langevin            on    ;# do langevin dynamics
langevinDamping     5     ;# damping coefficient (gamma) of 5/ps
langevinTemp        $temperature
langevinHydrogen    no    ;# don't couple langevin bath to hydrogens


# Output
outputName          $outputname
restartfreq         1000     ;# 1000steps = every 1ps
dcdfreq             1000
outputEnergies      1000


# Fixed Atoms Constraint (set PDB occupancy-column to 1)
fixedAtoms          on


# IMD Settings (can view sim in VMD)
if {0} {
IMDon           on
IMDport         3000    ;# port number (enter it in VMD)
IMDfreq         1       ;# send every 1 frame
IMDwait         no      ;# wait for VMD to connect before running?
}


#############################################################
## EXTRA PARAMETERS                                        ##
#############################################################

tclForces                on

tclForcesScript {
  set cellLengthZ 30.3962  ;# The length of the unit cell in the z-direction, should be the same as the value in "cellBasisVector3"
  set LowerBoundary -12.5
  set UpperBoundary 12.5
  set force {0 0 0.4}
  set watIdList {}
  for {set i 577} {$i<1320} {incr i 3} {
    lappend watIdList $i
    addatom $i
  }
  proc calcforces {} {
    global cellLengthZ LowerBoundary UpperBoundary force watIdList
    loadcoords coorList
    foreach i $watIdList {
      set z [lindex $coorList($i) 2]
      set z [expr $z-round($z/$cellLengthZ)*$cellLengthZ]  ;# Translate this coordinate into its corresponding value in the original unit cell
      if {$z>$UpperBoundary || $z<$LowerBoundary} {
        addforce $i $force
      }
    }
  }
}



#############################################################
## EXECUTION SCRIPT                                        ##
#############################################################

run 40000 ;# 40ps
107楼2009-11-16 17:03:39
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jianchaoyv

金虫 (小有名气)

上面问题的.conf文件


小木虫(金币+0.5):给个红包,谢谢回帖交流
#############################################################
## JOB DESCRIPTION                                         ##
#############################################################

# Simulate the 4-nanotube system with induced pressure difference


#############################################################
## ADJUSTABLE PARAMETERS                                   ##
#############################################################

structure          cnt.psf
coordinates        cnt.pdb

set temperature    300
set outputname     sim_short


# Continuing a job from the restart files
Bincoordinates     initial.coor
Binvelocities      initial.vel


#############################################################
## SIMULATION PARAMETERS                                   ##
#############################################################

# Input
paraTypeCharmm            on
parameters          par_all27_prot_lipid.prm  


# Periodic Boundary conditions
cellBasisVector1    23    0.   0.
cellBasisVector2     0.   19.919   0.
cellBasisVector3     0.    0   30.3962
wrapAll             on


# Force-Field Parameters
exclude             scaled1-4
1-4scaling          1.0
cutoff              12.
switching           on
switchdist          10.
pairlistdist        14.5


# Integrator Parameters
timestep            1    ;# 1fs/step
nonbondedFreq       2
fullElectFrequency  4  
stepspercycle       20


# Constant Temperature Control
langevin            on    ;# do langevin dynamics
langevinDamping     5     ;# damping coefficient (gamma) of 5/ps
langevinTemp        $temperature
langevinHydrogen    no    ;# don't couple langevin bath to hydrogens


# Output
outputName          $outputname
restartfreq         1000     ;# 1000steps = every 1ps
dcdfreq             1000
outputEnergies      1000


# Fixed Atoms Constraint (set PDB occupancy-column to 1)
fixedAtoms          on


# IMD Settings (can view sim in VMD)
if {0} {
IMDon           on
IMDport         3000    ;# port number (enter it in VMD)
IMDfreq         1       ;# send every 1 frame
IMDwait         no      ;# wait for VMD to connect before running?
}


#############################################################
## EXTRA PARAMETERS                                        ##
#############################################################

tclForces                on

tclForcesScript {
  set cellLengthZ 30.3962  ;# The length of the unit cell in the z-direction, should be the same as the value in "cellBasisVector3"
  set LowerBoundary -12.5
  set UpperBoundary 12.5
  set force {0 0 0.4}
  set watIdList {}
  for {set i 577} {$i<1320} {incr i 3} {
    lappend watIdList $i
    addatom $i
  }
  proc calcforces {} {
    global cellLengthZ LowerBoundary UpperBoundary force watIdList
    loadcoords coorList
    foreach i $watIdList {
      set z [lindex $coorList($i) 2]
      set z [expr $z-round($z/$cellLengthZ)*$cellLengthZ]  ;# Translate this coordinate into its corresponding value in the original unit cell
      if {$z>$UpperBoundary || $z<$LowerBoundary} {
        addforce $i $force
      }
    }
  }
}



#############################################################
## EXECUTION SCRIPT                                        ##
#############################################################

run 40000 ;# 40ps
109楼2009-11-16 18:11:47
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jianchaoyv

金虫 (小有名气)


小木虫(金币+0.5):给个红包,谢谢回帖交流
我的问题运行.conf时,提示:
------------- Processor 0 Exiting: Called CmiAbort ------------
Reason: FATAL ERROR: can't read "coorList(577)": no such element in array
    while executing
"lindex $coorList($i) 2"
    (procedure "calcforces" line 5)
    invoked from within
"calcforces"

Charm++ fatal error:
FATAL ERROR: can't read "coorList(577)": no such element in array
    while executing
"lindex $coorList($i) 2"
    (procedure "calcforces" line 5)
    invoked from within
"calcforces"


This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
怎样才能解决啊?
111楼2009-11-18 16:36:27
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

jianchaoyv

金虫 (小有名气)


小木虫(金币+0.5):给个红包,谢谢回帖交流
谢谢楼上的!我的QQ:526068505
版主,怎么不加我啊!!

[ Last edited by jianchaoyv on 2009-11-24 at 11:37 ]
113楼2009-11-24 10:37:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 bay__gulf 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见