Comments (4)
Thanks for the suggestions. I agree with many of the suggestions you made for finite_difference_grad.py
, ideally it would share many of the command line arguments as the other "programs". A progress bar would be great (I never did get this to work). The embarrassingly parallel mode of finite_difference_grad.py
(as well as the normal mode calculation in the optimizations) is currently handled using Work Queue. It creates a dependency but also enables one to run the gradient jobs on different physical machines.
Yes, I think it would be a good idea to use the optimization step as a finite difference step and compare it with the projection of the gradient in that direction. For large steps, a significant disagreement can be expected, but one should expect the agreement to improve as the steps become smaller assuming the gradient and energy are consistent. This could be done as part of the geometry optimization loop so that the user can be warned when there's energy/gradient inconsistency. I don't think additional steps to improve the numerical gradient quality are necessary, but it could be nice if implemented cleanly.
In fact it may be possible to use the energy change to "correct" the quantum chemical gradient, similar to how one updates the Hessian using BFGS, but I think that is a new research project.
from geometric.
The embarrassingly parallel mode of finite_difference_grad.py (as well as the normal mode calculation in the optimizations) is currently handled using Work Queue. It creates a dependency but also enables one to run the gradient jobs on different physical machines.
Does it allow to run N jobs on the same machine? I only have one for now :)
from geometric.
Yes. You simply run the finite_difference_grad.py and multiple copies of work_queue_worker on the same machine.
from geometric.
Another practical consideration: I would like to evaluate quality of gradients on 9-molecule cluster which we've discussed in another issue, however that system contains 180 atoms so it would require huge amount of resources to compute. However, evaluation of 3 points for a single step vector could be done quickly.
from geometric.
Related Issues (20)
- xTB support request HOT 7
- Rebuild coordinate system may fail for `PrimitiveInternalCoordinates` HOT 3
- versioneer does not work with Python 3.12
- How to input Hessian HOT 4
- Breaking certain bonds and getting invidual atoms as fragments with 3 degress of freedom HOT 2
- Using ORCA via ASE with customized input file HOT 4
- Automatically assigned tmin may become too small HOT 52
- Hessian update after rejected step HOT 4
- permit Hessian computation through Engine? HOT 5
- [Minor BUG]: pip installation HOT 1
- Interactive optimization HOT 3
- ORCA converges in 8 steps, geomeTRIC gets stuck HOT 41
- Issue installing with Python 3.12 HOT 3
- Separate handling of empirical geometry-dependent corrections HOT 1
- Optimization of molecular crystals (and other periodic systems) HOT 1
- optimizeGeometry doesn't converge, although optimization seems okay HOT 2
- [PYSCF] Geometry Optimisation - No message of failing to converge within the maxsteps HOT 1
- Sign Error with `frequency_analysis` function HOT 1
- Error with latest code HOT 1
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 geometric.