Yang Ye, Thank you for your help! I can use the table without any complaint, but I get all zeros for LJ and LJ14. I believe something is wrong.
The following is from my log file: Table routines are used for coulomb: FALSE Table routines are used for vdw: TRUE Cut-off's: NS: 1.4 Coulomb: 1.4 LJ: 1.4 System total charge: 0.000 Read user tables from table_EO_EO.xvg with 1251 data points. Tabscale = 500 points/nm Generated table with 1200 data points for COUL. Tabscale = 500 points/nm Read user tables from table_EO_PO.xvg with 1251 data points. Tabscale = 500 points/nm Generated table with 1200 data points for COUL. Tabscale = 500 points/nm Read user tables from table_PO_PO.xvg with 1251 data points. Tabscale = 500 points/nm Generated table with 1200 data points for COUL. Tabscale = 500 points/nm Read user tables from tablep_EO_EO.xvg with 1251 data points. Tabscale = 500 points/nm Generated table with 500 data points for 1-4 COUL. Energies (kJ/mol) Bond Angle LJ-14 Coulomb-14 LJ (SR) 2.88200e+02 3.30111e+02 0.00000e+00 0.00000e+00 0.00000e +00 Coulomb (SR) Potential Kinetic En. Total Energy Temperature 0.00000e+00 6.18310e+02 1.01226e+03 1.63057e+03 3.08610e +02 Pressure (bar) 8.14486e+00 Step Time Lambda 1000 2.00000 0.00000 I have also input tablep_PO_PO.xvg and tablep_EO_PO.xvg, but it seems that gromacs can only recognize the first tablep***.xvg file, which is tablep_EO_EO.xvg. The following is from my mdp file: energygrps = EO PO energygrp_table = EO EO PO PO EO PO coulombtype = Cut-off; PME; vdw-type = user ;cut-off The command I used is : mpirun -np 2 mdrun_mpi -s full -o full -c full -g full -e full -x full -v -table table.xvg -tablep tablep_EO_EO.xvg tablep_PO_PO.xvg tablep_EO_PO.xvg >& full.job & Could you please help me to find what's wrong? All the best! Dongsheng On Wed, 2006-07-12 at 13:37 +0800, Yang Ye wrote: > Dongsheng Zhang wrote: > > Yang Ye, > > > > I am sorry to tell you I am not clear yet. Do you think I need to > > specify energygrps and corresponding energygrp_table? > > > > If so, then I got any error message. gp1 includes atom A, and gp3 > > includes atom A and B. Gromacs will complain that atoma has been in two > > groups. Each group uses it own different table, but the group members > > are overlapping bwteen some groups. How can I fix it? > > > You don't need to define 1-4 group again. with -table and -tablep for > mdrun, between energy group A and B, 1-2 interaction will be looked up > from table_A_B.xvg and 1-4 interaction will be looked up from > tablep_A_B.xvg. > > And also, energygrps shall corresponds to energygrp_table. > > So, instead to have > > energygrps = gp1 gp2 gp3 gp4 gp5 gp6 ... gp12 > energygrp_table = A A B B C C A B A C B C A14 A14 B14 B14 C14 C14 A14 > B14 A14 C14 B14 C14 > > You shall have > > energygrps = A B C ... > energygrp_table = A A B B C C A B A C B C > > > If not, I really have concern how gromacs knows to look for > > table_A_A.xvg when it calculates A-A nonbonded interaction and look for > > table_A14_A14.xvg when it calculates 1-4 interaction between A and A > > monomers. > > > > Could you please give me more instruction? Thank you for your help! > > > > > > Dongsheng > > > > > > On Wed, 2006-07-12 at 11:18 +0800, Yang Ye wrote: > > > >> Don't worry about that. > >> mdrun -tablep {tablep} will follow the scheme {tablep}_A_A.xvg, > >> {tablep}_B_B.xvg ... > >> {tablep} may be replaced by your own filename. > >> > >> Yang Ye > >> > >> Dongsheng Zhang wrote: > >> > >>> Yang ye, > >>> > >>> Thank you very much. > >>> > >>> I have three different monomers in my system, so I have 6 different > >>> regular VMDs and 6 different 1-4 interactions. Could you please tell me > >>> how to organize those table.xvg files? > >>> > >>> energygrps = gp1 gp2 gp3 gp4 gp5 gp6 ... gp12 > >>> energygrp_table = A A B B C C A B A C B C A14 A14 B14 B14 C14 C14 A14 > >>> B14 A14 C14 B14 C14 > >>> > >>> If I set as the above, I wonder how gromacs know the last 6 table is for > >>> 1-4 interaction. > >>> > >>> All the best! > >>> > >>> Dongsheng > >>> > >>> On Wed, 2006-07-12 at 09:54 +0800, Yang Ye wrote: > >>> > >>> > >>>> mdrun -tablep > >>>> > >>>> Dongsheng Zhang wrote: > >>>> > >>>> > >>>>> Hello, GMX users, > >>>>> > >>>>> I have a coarse-grained model. Both 1-4 and regular vdw interaction are > >>>>> tabulated, but no electrostatic interaction. Since there is no entry for > >>>>> 1-4 interaction in energy_table. I am thinking to fool gromacs by > >>>>> treating 1-4 interactions as electrostatic interactions, in other words, > >>>>> every time when 1-4 interaction energy needed, I will ask gromacs to > >>>>> calculate COUL energy by reading energy_table. Does anyone know where > >>>>> 1-4 interaction is calculated and how I can switch it to calculate COUL > >>>>> energy in the source code? Any help will be highly appreciated! > >>>>> > >>>>> > >>>>> All the best! > >>>>> > >>>>> > >>>>> Dongsheng > >>>>> _______________________________________________ > >>>>> gmx-users mailing list gmx-users@gromacs.org > >>>>> http://www.gromacs.org/mailman/listinfo/gmx-users > >>>>> Please don't post (un)subscribe requests to the list. Use the > >>>>> www interface or send it to [EMAIL PROTECTED] > >>>>> Can't post? Read http://www.gromacs.org/mailing_lists/users.php > >>>>> > >>>>> > >>>>> > >>>>> > >>>> _______________________________________________ > >>>> gmx-users mailing list gmx-users@gromacs.org > >>>> http://www.gromacs.org/mailman/listinfo/gmx-users > >>>> Please don't post (un)subscribe requests to the list. Use the > >>>> www interface or send it to [EMAIL PROTECTED] > >>>> Can't post? Read http://www.gromacs.org/mailing_lists/users.php > >>>> > >>>> > >>> _______________________________________________ > >>> gmx-users mailing list gmx-users@gromacs.org > >>> http://www.gromacs.org/mailman/listinfo/gmx-users > >>> Please don't post (un)subscribe requests to the list. Use the > >>> www interface or send it to [EMAIL PROTECTED] > >>> Can't post? Read http://www.gromacs.org/mailing_lists/users.php > >>> > >>> > >>> > >> > >> _______________________________________________ > >> gmx-users mailing list gmx-users@gromacs.org > >> http://www.gromacs.org/mailman/listinfo/gmx-users > >> Please don't post (un)subscribe requests to the list. Use the > >> www interface or send it to [EMAIL PROTECTED] > >> Can't post? Read http://www.gromacs.org/mailing_lists/users.php > >> > > _______________________________________________ > > gmx-users mailing list gmx-users@gromacs.org > > http://www.gromacs.org/mailman/listinfo/gmx-users > > Please don't post (un)subscribe requests to the list. Use the > > www interface or send it to [EMAIL PROTECTED] > > Can't post? Read http://www.gromacs.org/mailing_lists/users.php > > > > > > > > _______________________________________________ > gmx-users mailing list gmx-users@gromacs.org > http://www.gromacs.org/mailman/listinfo/gmx-users > Please don't post (un)subscribe requests to the list. Use the > www interface or send it to [EMAIL PROTECTED] > Can't post? Read http://www.gromacs.org/mailing_lists/users.php _______________________________________________ gmx-users mailing list gmx-users@gromacs.org http://www.gromacs.org/mailman/listinfo/gmx-users Please don't post (un)subscribe requests to the list. Use the www interface or send it to [EMAIL PROTECTED] Can't post? Read http://www.gromacs.org/mailing_lists/users.php