Dear All;
I have a problem with charmm2lammps. Hope someone can help. In short, charmm2lammps is counting one atom type less in the data files.
I want to use charmm2lamps to convert PSF/PDB file into DATA/IN lammps format. So, I decided to test it with a TIP3P water box. First, I created a solvate box with VMD (solvate.psf, solvate.pdb). Second, I create topology and parameter files for TIP3P (top_TIP3P.rtf, par_TIP3P.prm). These topology/parameter file were taken from the CHARMM force field, the files are provided below. Finally, I run charmm2lammps as follows:
perl charmm2lammps.pl TIP3P solvate
During the execution, I got the following warning:
Warning: 1 atom types present, but only 2 pair coeffs found
then, when trying to run lammps, I got the following error:
ERROR: Unknown identifier in data file: 2 15.9994 (../read_data.cpp:654)
So far, the problem seems to be that charmm2lammps writing one atom type less, if you open the data file, you read:
1 atom types
But all other information about two atom types is written in the DATA file. I mean, masses, parameters and so on. If I open the data file and correct that line into:
2 atom types
the minimization/simulation proceeds.
I got a similar error when I build a protein/water system, which has much more atom types. In that case, charmm2lammps still counted one atom type less.
So, my question: is this "atom type" counting a minor bug?, am I doing something wrong?, are my topology/parameter files wrong?. Although simulations can run now, I got a bit apprehensive after this error, and I am wondering if charmm2lammps is still doing OK, as the last update was in 2005
Regards;
Eduardo
########## par_TIP3P.prm #######
* Toplogy and parameter information for water and ions.