-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lammps parser hangs within parse_method() for new example #2
Comments
I put up a fix in md-workflow-observables. Can you try it? If the fix works, I will apply it to the master branch |
I'm getting an error now: IndexError Traceback (most recent call last) ~/work/soft/nomad/nomad/parsing/file_parser/text_parser.py in to_data(self, val_in) ~/work/soft/nomad/nomad/parsing/file_parser/text_parser.py in (.0) ~/work/soft/nomad/nomad/parsing/file_parser/text_parser.py in process(val) ~/work/soft/nomad/dependencies/parsers/atomistic/atomisticparsers/lammps/parser.py in get_section_value(val) TypeError: _log() got an unexpected keyword argument 'data' |
I missed one more fix, should be included now in latest commit. |
indeed, it works now 👍 |
I am having trouble with this new lammps example. I placed it under
tests/data/lammps/polymer_melt/Equil/
in mymd-workflow-observables
branch. The corresponding nomad branch is970-add-RDF-MSD-plots-to-overview-GUI-page-for-molecular-dynamics-trajectories
.When I try to parse
nohup.out
the parser hangs (at least for 10-20 min) at line 1181masses = self.data_parser.get('Masses', None)
in lammps/parser.py. If I setmasses=None
on this line instead, everything finishes correctly in ~10s. The data_parser.mainfile is correct, and I see the "Masses" section within this file. So, I don't understand what is happening and I'm unsure how to debug this. At some point during my testing the parsing worked correctly with this line in there but took a long time. But all my changes (to my knowledge) have to do withparse_workflow()
so I can't see how I have caused this problem.Another related issue/confusion is the following: Here I am parsing
nohup.out
which is the screen output when I run the lammps simulation. The native output filelog.lammps
has a similar header but does not contain any of the input info likeread_data
and such. So, I cannot parse this one successfully. @ladinesa : Have you experienced this? Is it meant that we parse the screen output and not the native lammps log file??The text was updated successfully, but these errors were encountered: