-
Notifications
You must be signed in to change notification settings - Fork 18
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
Attaching user defined logfile to MD wrapper. #327
Comments
Turns out that that's a very subtle thing, and while I understand why you want it, to some extent it violates the assumptions that were designed into I can think of two approaches
|
Currently I was postprocessing to calculate the properties that I want to log and I just wanted to make things easier by attaching logger to MD. Adding property to |
I'll look over the existing code and see how hard it'd be to add. |
I think it would be fairly easy to do, actually. Should I add an |
Do you want to try the attached patch? There are new |
@jungsdao do you want to check this patch? |
Sorry for belated reply, I just have tested and it works pretty fine.
It can be added like this.
Maybe I could add a PR about this. |
You'd also need to modify (around line 253)
to
We could, but keep in mind that the returned trajectories should have momenta saved, so you can get the temperature after the fact.
Feel free to do that with this patch. |
Actually, you'll need to be a bit more careful with the |
closed by #328 |
I'd like to attach user defined MD logger to my MD run.
When I use autoparallelize and initiate multiple MD jobs simultaneously, defining logfile name for respective process is not easy.
I can perhaps modify from output file name given into
OutputSpec
.Is there any way to access to information in OutputSpec from MD so that I can generate logfile for individual processes?
Thanks in advance!
The text was updated successfully, but these errors were encountered: