Skip to content
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

SHARC produces differently formatted output.log, that can not be read by diagnostics.py #100

Open
MartinPeschel opened this issue Feb 16, 2024 · 2 comments

Comments

@MartinPeschel
Copy link

Hi everyone!

When running my trajectories, and trying to get the diagnostics, diagnostics.py produces the error
An error occured while trying to extract the status. Files may be corrupted.
for every single trajectory. I looked into the code and the problem seems to be that diagnostics.py
expects the entries in the file to be formatted like this:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<============================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Entering timestep 1 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<============================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Start time: Thu Mar 9 13:28:16 2023
Which it was in the previous versions of SHARC.
However, in my new trajectories using SHARC 3.0.1, the entries are formatted like this:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<============================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Entering timestep 0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<< Trajectory time in fs 0.00000 >>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<============================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Start time: Thu Feb 15 16:04:06 2024

which causes the error.

Best wishes, Martin

@Kalpa08
Copy link

Kalpa08 commented Aug 2, 2024

Martin,
I am also getting the same error while running the diagnostics.py. Unfortunately, I couldn't solve it.

Did you find any solution to it?

@maisebastian
Copy link
Collaborator

Dear both,
the error is fixed in the main branch now:
https://github.com/sharc-md/sharc/blob/main/bin/diagnostics.py
Best,
Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants