<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi,<br><br>You potential is zero, since all your force-field parameters are zero.<br>Your should use g or h (not f, since this is the electrostatics function)<br>and set c6 or c12 (when using g or h) to 1.<br>See eq. 6.21 in the manual.<br><br></div>Berk.<br><br><br><hr id="stopSpelling">&gt; Date: Mon, 26 May 2008 21:40:50 +0800<br>&gt; From: catfish.hku@gmail.com<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: [gmx-users] How to use tabulated potentials to do coarse grained        simulation?<br>&gt; <br>&gt; Dear all,<br>&gt; <br>&gt; I am doing the coarse grained simulation of a water box.<br>&gt; I have generated the tabulated potential between water molecules and<br>&gt; planing to write codes to do coarse grained simulation.<br>&gt; Fortunately, the experts on the gmx-dev maillist told me that I can<br>&gt; use the tabulated function provided by Gromacs.<br>&gt; <br>&gt; the following is what I have done step by step:<br>&gt; 1. prepare the table_SOL_SOL.xvg(7columns, r,f,f',g,g',h,h')<br>&gt; as I combined all the potentials into one term, the g, g' and h,h' are<br>&gt; all set to zeros.<br>&gt; 2. prepare the WAT.gro and WAT.top<br>&gt; 3. edit the md.mdp<br>&gt; 4. grompp -f md.mdp -c WAT.gro -p WAT.top -o md.tpr<br>&gt; 5. mdrun -deffnm md -table table<br>&gt; However, at step 5, I kept on getting the following error messages:<br>&gt; Reading file CGMD.tpr, VERSION 3.3 (single precision)<br>&gt; Segmentation fault<br>&gt; <br>&gt; can anyone tell me what is wrong with my input files?<br>&gt; THanks  a lot<br>&gt; <br>&gt; the content of WAT.top:<br>&gt; =======================<br>&gt; [ defaults ]<br>&gt; ; nbfunc        comb-rule       gen-pairs       fudgeLJ fudgeQQ<br>&gt;   1             1               no              1.0     1.0<br>&gt; <br>&gt; [ atomtypes ]<br>&gt; ;name  mass      charge  ptype       c6           c12<br>&gt; W1    18.01540    0.0   A            0.0          0.0<br>&gt; <br>&gt; [ moleculetype ]<br>&gt; ; molname       nrexcl<br>&gt; WAT              1<br>&gt; <br>&gt; [ atoms ]<br>&gt; ; id    at type res nr  residu name     at name  cg nr   charge<br>&gt; 1       W1       1       SOL              WAT        1       0<br>&gt; <br>&gt; [ system ]<br>&gt; ; Name<br>&gt; WATER CG BOX<br>&gt; <br>&gt; [ molecules ]<br>&gt; ; Compound        #mols<br>&gt; WAT                1728<br>&gt; ================================================<br>&gt; <br>&gt; the content ot md.mdp:<br>&gt; ================================================<br>&gt; title = waterbox MD simulation<br>&gt; cpp = /usr/bin/cpp ; location of cpp on linux<br>&gt; constraints = all-bonds<br>&gt; integrator = md<br>&gt; dt = 0.002 ; ps !<br>&gt; nsteps = 5000 ; total 10 ps.<br>&gt; nstcomm = 1<br>&gt; nstxout = 1000 ; output coordinates every 2 ps; 500 out put only<br>&gt; nstvout = 0<br>&gt; nstfout = 0<br>&gt; nstlist = 10<br>&gt; ns_type = grid<br>&gt; rlist = 0.8<br>&gt; coulombtype = User<br>&gt; rcoulomb = 0.8<br>&gt; vdwtype = User<br>&gt; rvdw = 0.8<br>&gt; <br>&gt; table-extension = 0.8 ;nm<br>&gt; energygrp_table = SOL SOL<br>&gt; <br>&gt; fourierspacing = 0.12<br>&gt; fourier_nx = 0<br>&gt; fourier_ny = 0<br>&gt; fourier_nz = 0<br>&gt; pme_order = 4<br>&gt; ewald_rtol = 1e-5<br>&gt; optimize_fft = yes<br>&gt; ; Berendsen temperature coupling is on<br>&gt; Tcoupl = berendsen<br>&gt; tau_t = 0.1<br>&gt; tcgrps = SOL<br>&gt; ref_t = 300<br>&gt; tcgrps = SOL<br>&gt; ref_t = 300<br>&gt; ; Use Energy group monitoring<br>&gt; energygrps = SOL<br>&gt; ; Pressure coupling is on<br>&gt; Pcoupl = no<br>&gt; pcoupltype = isotropic<br>&gt; tau_p = 0.5<br>&gt; compressibility = 4.5e-5<br>&gt; ref_p = 1.0<br>&gt; ; Generate velocites is on at 300 K.<br>&gt; gen_vel = yes<br>&gt; gen_temp = 300.0<br>&gt; gen_seed = 173529<br>&gt; ================================================<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>