Comments (5)
Hi Joe,
It's good to hear from you Joe! :) I hope everything is well in the Markland lab. Things are getting underway at UC Davis, and being a faculty member means lots of different responsibilities to allocate time into. I'm still actively developing ForceBalance but it's a challenge to save time for doing research.
I think what is happening is this:
indicate.log is a file that contains summary information on the current iteration. For example, when matching energies and forces, indicate.log will contain the percentage errors in the energy and force. I think the basin-hopping algorithm is somehow evaluating the target twice in the same "iter" folder, which is not the intended design of the code - different evaluations of the force field should live in different folders. Thus, it throws the error.
I think that something in the code should be changed to update the iteration number when basin hopping is used. Alternatively, if the optimization is structured differently (i.e. it is not a linear sequence of iterations) then perhaps ForceBalance should support different directory trees in optimize.tmp
. For now, I think some small hack to increment ITERATION_NUMBER, perhaps in optimizer.py, should fix the problem. Let me know if this makes sense.
Thanks,
- Lee-Ping
from forcebalance.
Hi @leeping ,
I'm glad to hear things are off to a good start at Davis! :)
Thanks for the input. I think that makes sense. I can say more specifically now that I think the problem has to do with the basinhopping method's evaluating the objective function multiple times throughout its own 'microiterations'. As a result, the callback within the function wrapping the objective function (https://github.com/leeping/forcebalance/blob/master/src/optimizer.py#L938) was triggering the error. For now it seems like providing callback=False to the wrapper is taking care of the issue.
On a separate note, the Xstream cluster is up and running now at Stanford, which I'd like to be able to use for my PIMD water model optimizations. They are not supporting ssh from the compute nodes to the front end, so I haven't been able to get workers to connect to a master process on the front end. I seem to be able to ssh from a compute node to another cluster (e.g. the Markland cluster), though. Have you dealt with something similar on other HPC resources? It'd be disappointing not to be able to use WorkQueue on this cluster.
Thank you!
Joe
from forcebalance.
They are not supporting ssh from the compute nodes to the front end.
This works for me. You have to add your public key to .ssh/authorized_keys.
from forcebalance.
Thanks @rmcgibbo , that's working for me too.
from forcebalance.
Sounds good, Joe. Go forth and use those resources. :)
from forcebalance.
Related Issues (20)
- Close files after opening in Molecule HOT 2
- use_pvals option fails to work due to non-conversion to numpy array HOT 1
- Self-polarization correction does not work with Liquid_SMIRNOFF
- Liquid.pdb: Sizes detected: {3, 6} and the PBC
- Forcebalance fails to read some xyz files containing coordinates in scientific notation HOT 2
- Large values with Hessian target HOT 3
- (not urgent) single parameter optimization with workers fails HOT 1
- Compatibility with OpenMM-7.7.0 HOT 4
- I/O error when parsing Tinker Output HOT 3
- Computing FD gradient of angle with OpenMM 7.7.0
- Pymbar 4 compatibility HOT 3
- use openff-units for conversion factors (not urgent) HOT 2
- ForceBalance takes really long to complete HOT 2
- evaluator unit bug
- TypeError with ForceBalance-1.9.4 HOT 17
- runcuda.sh overwrites environment variables HOT 3
- Unexpected keyword argument 'return_topology' HOT 2
- ForceBalance is taking very long time over 1 day HOT 3
- Encountering error while attempting to fit ab initio data using GROMACS for periodic systems. HOT 1
- ValueError: could not convert string to float: 'Polarization'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forcebalance.