hernanchavezthielemann / GRO2LAM

Gromacs to Lammps simulation converter
MIT License
65 stars 19 forks source link

Some question about output file #32

Closed Yichun886 closed 4 years ago

Yichun886 commented 4 years ago

Describe the bug In my top file, I have 100 molecules (1200 atoms), but there is only one molecule (12 atoms) in the data file. Do I use the software wrongly? Thanks.

Screenshots 543da63d0dd24153a57de6ab229673d b23ff25d78655e458a36089d0a7a45c 4358fa5f2b5f944a14a32ac4323bbb3

hernanchavezthielemann commented 4 years ago

Hi Yi @Yichun886,

With this small amount of information I could just say that your gro file is missing the molecule identifier. But I'm not sure whether this is causing the issue or if it is something else. Could you post all your files?

Best, Hernan

Yichun886 commented 4 years ago

Hi Hernan @hernanchavezthielemann ,

Thank you for your reply very much.

There are 1000 identical molecules in one box. The following is my files.

Best wishes

Yichun files.zip

hernanchavezthielemann commented 4 years ago

Hi Yichun,

There were some things, please take a look on the attachment. As I previously mentioned, I have to add the residue tag in .gro file, Also I split your top file.

Yichun.zip

Best, Hernan

Yichun886 commented 4 years ago

Hi Hernan @hernanchavezthielemann ,

The problem is solved. Thank you very much.

Best wishes Yichun

Yichun886 commented 4 years ago

Hi Hernan @hernanchavezthielemann ,

Sorry for disturbing you again.

I have a problem to convert the gro file to data file. There are no atoms, bonds, and angles in the data file. Would you please help me to look this.

Thanks Yichun c9h20.zip

hernanchavezthielemann commented 4 years ago

Hi @Yichun886, If you split the top like before - look at the attachment - it works. If you cannot make it work let me know.

I will try to look at it more in detail tomorrow.

Best! Hernan

yi2.zip

Yichun886 commented 4 years ago

Hi Hernan @hernanchavezthielemann

Thank you for yout reply.

I have tested your file for many times, and can't get the same results with yours. Then, I try to calculate the files in the example file, however, the result is the same as what I had in the first time, i.e., the number of atoms in the output don't match the gro file. (Please see the attachment)

If I split the top file, I'll get 0 atoms in the output file.

I think there is something wrong in my code or system. I try ubuntu 18, ubuntu 16 and centos 7. I get the same results. I use the code from the 27ene19 branch. Would please tell me which system you use, and can I get your codes?

Best wishes Yichun data.zip

hernanchavezthielemann commented 4 years ago

Hi @Yichun886,

Don't worry, maybe you are not pressing autoload button? there should be a warning at the beginning If you go without it. If I try without it I obtain the same as you I think.

This is what I am doing (splitting!): yi2_c9h20.zip Yichun

Ubuntu 18 or 16 is fine, and Python 2.7.

If you are obtaining something out then it is not a machine problem.

Let me know how it goes.

Best, Hernan

Yichun886 commented 4 years ago

Hi Hernan @hernanchavezthielemann ,

You're right I load the files manually, and I get this problem. After I press the autoload button, the problem is solved.

Thank you very much for helping me.

Best wishes Yichun

hernanchavezthielemann commented 4 years ago

Great @Yichun886!, you are welcome And if you think that it is not clear how to use it or if it is confusing, let me know what you think, or even if you have any other feedback, so I can improve it. Best regards, Hernan