George,
I've the same problem, AFAICT _- have you managed to understand its cause?
Matt
Not using checkpoint files correctly(?)
- George Pantelopulos
- Posts: 64
- Joined: Mon Jun 01, 2015 2:15 pm
Re: Not using checkpoint files correctly(?)
Hi Matt,
No, I have not. I saw your issue on github as well.
No, I have not. I saw your issue on github as well.
- Peter Eastman
- Posts: 2593
- Joined: Thu Aug 09, 2007 1:25 pm
Re: Not using checkpoint files correctly(?)
Matt, you indicated on Github that it's now working for you. Any details you can fill in?
Peter
Peter
- Robert McGibbon
- Posts: 20
- Joined: Tue Jul 19, 2011 9:25 am
Re: Not using checkpoint files correctly(?)
Did you compile OpenMM from source? If so, what version of `swig` did you use?
- George Pantelopulos
- Posts: 64
- Joined: Mon Jun 01, 2015 2:15 pm
Re: Not using checkpoint files correctly(?)
Hi Robert,
I installed using the precompiled windows binary.
Matt, how did you solve this problem?
I installed using the precompiled windows binary.
Matt, how did you solve this problem?
- Jeff Kinnison
- Posts: 1
- Joined: Mon Apr 27, 2015 2:56 pm
Re: Not using checkpoint files correctly(?)
I know this is an old thread, but I thought I'd post my solution since it doesn't seem like one was ever found.
This works with Python 3.4.4 and OpenMM 6.3.1 through Anaconda 2.3
This works with Python 3.4.4 and OpenMM 6.3.1 through Anaconda 2.3
Code: Select all
with open(checkpoint_file, 'rb') as f:
simulation.context.loadCheckpoint(f.read().decode('utf8', 'ignore'))
- Peter Eastman
- Posts: 2593
- Joined: Thu Aug 09, 2007 1:25 pm
Re: Not using checkpoint files correctly(?)
Thanks! That's great.
Peter
Peter