venuspython 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {venuspython-1.0.0 → venuspython-1.0.2}/PKG-INFO +17 -17
- {venuspython-1.0.0 → venuspython-1.0.2}/README.md +16 -16
- venuspython-1.0.2/cli.py +588 -0
- {venuspython-1.0.0 → venuspython-1.0.2}/pyproject.toml +4 -1
- venuspython-1.0.2/venuspy/__init__.py +1 -0
- venuspython-1.0.2/venuspy/cli.py +577 -0
- {venuspython-1.0.0 → venuspython-1.0.2}/venuspy/initialSampling.py +3 -1
- {venuspython-1.0.0 → venuspython-1.0.2}/venuspython.egg-info/PKG-INFO +17 -17
- {venuspython-1.0.0 → venuspython-1.0.2}/venuspython.egg-info/SOURCES.txt +2 -0
- venuspython-1.0.0/venuspy/__init__.py +0 -1
- {venuspython-1.0.0 → venuspython-1.0.2}/setup.cfg +0 -0
- {venuspython-1.0.0 → venuspython-1.0.2}/venuspy/md.py +0 -0
- {venuspython-1.0.0 → venuspython-1.0.2}/venuspython.egg-info/dependency_links.txt +0 -0
- {venuspython-1.0.0 → venuspython-1.0.2}/venuspython.egg-info/entry_points.txt +0 -0
- {venuspython-1.0.0 → venuspython-1.0.2}/venuspython.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: venuspython
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: VENUSpy Initial Sampling and Molecular Dynamics
|
|
5
5
|
Keywords: moleculardynamics,initialsampling
|
|
6
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -33,11 +33,11 @@ Inside the downloaded folder, you can install VENUSpy with the Atomic Simulation
|
|
|
33
33
|
|
|
34
34
|
```
|
|
35
35
|
cd VENUSpy
|
|
36
|
-
pip install
|
|
36
|
+
pip install venuspython
|
|
37
37
|
pip install ase
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
The file `cli.py` can be run with your favourite Python environment so long as the appropriate packages can be installed
|
|
40
|
+
The file `cli.py` can be run with your favourite Python environment so long as the appropriate packages can be installed; if installed with pip, then it can also be accessed with the alias `venuspy-cli`. Then, input files and command line arguments can be supplied to it.
|
|
41
41
|
|
|
42
42
|
There are three key features in VENUSpy:
|
|
43
43
|
- [Sampling Methods](#sampling-methods)
|
|
@@ -67,7 +67,7 @@ pip install tblite
|
|
|
67
67
|
Water is a nonlinear molecule with three atoms, so it has three normal modes. The vibrational quanta of each mode will be sampled from a canonical ensemble with the `--INITQPa "thermal"` argument, which assumes energies in each mode are related by a temperature. The frequency of the modes dictates the distribution of quanta and their energies. With xTB, these frequencies are 3653 cm<sup>-1</sup> > 3645 cm<sup>-1</sup> > 1538 cm<sup>-1</sup> for the symmetric stretch, asymmetric stretch, and bending modes, respectively. VENUSpy can sample these with:
|
|
68
68
|
|
|
69
69
|
```
|
|
70
|
-
|
|
70
|
+
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --TVIBa 298.0 --TROTa 0.001 --n_threads 1 > production.log
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `Evibs` keyword in the output to see energies of each mode (in eV).
|
|
@@ -94,7 +94,7 @@ The resulting distribution of vibrational energies in each mode is shown in the
|
|
|
94
94
|
Water is a nonlinear molecule with three atoms, so it has three normal modes. The vibrational energies of each mode will be sampled from a microcanonical ensemble with the `--INITQPa "microcanonical"` argument, which assumes uniform mixing of energies between all modes. The frequency of the modes dictates the absolute amount of energy ultimately given to a mode. With xTB, these frequencies are 3653 cm<sup>-1</sup> > 3645 cm<sup>-1</sup> > 1538 cm<sup>-1</sup> for the symmetric stretch, asymmetric stretch, and bending modes, respectively. VENUSpy can sample these with:
|
|
95
95
|
|
|
96
96
|
```
|
|
97
|
-
|
|
97
|
+
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonical" --EVIBa 12.6372 --EROTa 0.00001 --n_threads 1 > production.log
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `Evibs` keyword in the output to see energies of each mode (in eV).
|
|
@@ -123,7 +123,7 @@ Finally, there is one more special case for diatomic molecules. Because polyatom
|
|
|
123
123
|
Let's do an example for the OH radical with the same software, for the N=2,J=5 rovibrational state:
|
|
124
124
|
|
|
125
125
|
```
|
|
126
|
-
|
|
126
|
+
venuspy-cli examples/OH.input.xyz examples/OH.input.xtb . --atomsInFirstGroup "1 2" --production 100 --interval 1 --time_step 0.15 --INITQPa "semiclassical" --NVIBa 2 --NROTa 5 --n_threads 1 > production.log
|
|
127
127
|
```
|
|
128
128
|
|
|
129
129
|
Note that, with the semiclassical method, the rovibrational states' energies are not known a priori, as they are not approximated from the normal mode frequencies. Thus, only specific rovibrational states (N,J) can be sampled rather than ensembles. However, the ensemble of phases for a state are still sampled.
|
|
@@ -177,7 +177,7 @@ H -2.684400 1.453100 0.000000
|
|
|
177
177
|
Then, any initial sampling and MD parameters can be given to this so long as the B and C<sub>2</sub>H<sub>2</sub> are kept separate. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold C<sub>2</sub>H<sub>2</sub>, the following command works:
|
|
178
178
|
|
|
179
179
|
```
|
|
180
|
-
|
|
180
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.mopac . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
181
181
|
```
|
|
182
182
|
|
|
183
183
|
Sometimes the SCF calculation in MOPAC does not converge which leads to the error: `ase.calculators.calculator.CalculationFailed: ... failed`. This happens about 1/5 times for this system; restarting it often resolves this.
|
|
@@ -230,7 +230,7 @@ referencemethod uhf
|
|
|
230
230
|
Similar to the MOPAC implementation, any initial sampling and MD parameters can be given to this so long as the B and C<sub>2</sub>H<sub>2</sub> are kept separate. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold C<sub>2</sub>H<sub>2</sub>, the following command works:
|
|
231
231
|
|
|
232
232
|
```
|
|
233
|
-
|
|
233
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.psi4 . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
234
234
|
```
|
|
235
235
|
|
|
236
236
|
While PSI4 is parallelized, it is a full electronic structure calculation so it takes more than a minute to do the molecular dynamics, let alone the initial sampling. By default, if there are convergence issues at any step of the initial sampling or dynamics, the ab initio calculation is restarted with slightly different or looser parameters. We suggest skipping a full trajectory simulation if trying this as a test.
|
|
@@ -281,7 +281,7 @@ H -2.684400 1.453100 0.000000
|
|
|
281
281
|
Similar to the MOPAC implementation, any initial sampling and MD parameters can be given to this so long as the B and C<sub>2</sub>H<sub>2</sub> are kept separate. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold C<sub>2</sub>H<sub>2</sub>, the following command works:
|
|
282
282
|
|
|
283
283
|
```
|
|
284
|
-
|
|
284
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.xtb . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
285
285
|
```
|
|
286
286
|
|
|
287
287
|
Sometimes the xTB calculation does not converge. By default, VENUSpy restarts the calculation a few times with slightly different parameters to try to save the trajectory.
|
|
@@ -333,7 +333,7 @@ Q1-Sgm chempotpy O3 O3_6_5Ap_2023 0
|
|
|
333
333
|
Then, any initial sampling and MD parameters can be given to this. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold O2, the following command works:
|
|
334
334
|
|
|
335
335
|
```
|
|
336
|
-
|
|
336
|
+
venuspy-cli examples/O.O2.input.xyz examples/O.O2.input.chempotpy . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
337
337
|
```
|
|
338
338
|
|
|
339
339
|
</details>
|
|
@@ -362,13 +362,13 @@ For Schnet, first install an appropriate version (depending on the version of th
|
|
|
362
362
|
python3.11 -m venv .schnetmd
|
|
363
363
|
source .schnetmd/bin/activate
|
|
364
364
|
pip install torch==2.3 schnetpack==2.0.4 pytorch-lightning==2.2
|
|
365
|
-
pip install ase
|
|
365
|
+
pip install ase venuspython
|
|
366
366
|
```
|
|
367
367
|
|
|
368
368
|
And then do the initial sampling and MD:
|
|
369
369
|
|
|
370
370
|
```
|
|
371
|
-
|
|
371
|
+
venuspy-cli examples/CH.C4H6.input.xyz examples/MLmodels/CHC4H6/best_inference_model . --atomsInFirstGroup "1 2" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
372
372
|
```
|
|
373
373
|
|
|
374
374
|
|
|
@@ -378,13 +378,13 @@ For sGDML, first install the latest version with `pip`:
|
|
|
378
378
|
python -m venv .sgdmlmd
|
|
379
379
|
source .sgdmlmd/bin/activate
|
|
380
380
|
pip install sgdml
|
|
381
|
-
pip install ase
|
|
381
|
+
pip install ase venuspython
|
|
382
382
|
```
|
|
383
383
|
|
|
384
384
|
And then do the initial sampling and MD:
|
|
385
385
|
|
|
386
386
|
```
|
|
387
|
-
|
|
387
|
+
venuspy-cli examples/HBr.HCl.input.xyz examples/MLmodels/HBrHCl/model-train8000-sym2-sig0050.npz . --atomsInFirstGroup "1 2" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
388
388
|
```
|
|
389
389
|
|
|
390
390
|
For Physnet, first download the latest version from github and install tensorflow:
|
|
@@ -408,7 +408,7 @@ sed -i 's/from importlib.metadata import entry_points/from importlib_metadata im
|
|
|
408
408
|
And then do the initial sampling and MD:
|
|
409
409
|
|
|
410
410
|
```
|
|
411
|
-
|
|
411
|
+
venuspy-cli examples/CH.SH2.input.xyz examples/MLmodels/CHSH2/model.physnet.config . --atomsInFirstGroup "1 2" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log 2> /dev/null
|
|
412
412
|
```
|
|
413
413
|
|
|
414
414
|
</details>
|
|
@@ -425,13 +425,13 @@ python -m venv .hybridmd
|
|
|
425
425
|
source .hybridmd/bin/activate
|
|
426
426
|
pip install sgdml
|
|
427
427
|
pip install tblite
|
|
428
|
-
pip install ase
|
|
428
|
+
pip install ase venuspython
|
|
429
429
|
```
|
|
430
430
|
|
|
431
431
|
Add the argument `--MDtype "smoothed"` and you're good to go:
|
|
432
432
|
|
|
433
433
|
```
|
|
434
|
-
|
|
434
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.xtb . --MDtype "smoothed" --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 5000 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
435
435
|
```
|
|
436
436
|
|
|
437
437
|
The xTB software, although not a completely ab initio theory, uses similar kinds of SCF methods and also runs into convergence problems. Over the course of the 5000 steps simulated, it often will have two or three energy drift/jump issues. When this happens, the sGDML surface quickly trains on the local surface and tries to save the trajectory. After some number of steps, the xTB method takes over again.
|
|
@@ -20,11 +20,11 @@ Inside the downloaded folder, you can install VENUSpy with the Atomic Simulation
|
|
|
20
20
|
|
|
21
21
|
```
|
|
22
22
|
cd VENUSpy
|
|
23
|
-
pip install
|
|
23
|
+
pip install venuspython
|
|
24
24
|
pip install ase
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
The file `cli.py` can be run with your favourite Python environment so long as the appropriate packages can be installed
|
|
27
|
+
The file `cli.py` can be run with your favourite Python environment so long as the appropriate packages can be installed; if installed with pip, then it can also be accessed with the alias `venuspy-cli`. Then, input files and command line arguments can be supplied to it.
|
|
28
28
|
|
|
29
29
|
There are three key features in VENUSpy:
|
|
30
30
|
- [Sampling Methods](#sampling-methods)
|
|
@@ -54,7 +54,7 @@ pip install tblite
|
|
|
54
54
|
Water is a nonlinear molecule with three atoms, so it has three normal modes. The vibrational quanta of each mode will be sampled from a canonical ensemble with the `--INITQPa "thermal"` argument, which assumes energies in each mode are related by a temperature. The frequency of the modes dictates the distribution of quanta and their energies. With xTB, these frequencies are 3653 cm<sup>-1</sup> > 3645 cm<sup>-1</sup> > 1538 cm<sup>-1</sup> for the symmetric stretch, asymmetric stretch, and bending modes, respectively. VENUSpy can sample these with:
|
|
55
55
|
|
|
56
56
|
```
|
|
57
|
-
|
|
57
|
+
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --TVIBa 298.0 --TROTa 0.001 --n_threads 1 > production.log
|
|
58
58
|
```
|
|
59
59
|
|
|
60
60
|
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `Evibs` keyword in the output to see energies of each mode (in eV).
|
|
@@ -81,7 +81,7 @@ The resulting distribution of vibrational energies in each mode is shown in the
|
|
|
81
81
|
Water is a nonlinear molecule with three atoms, so it has three normal modes. The vibrational energies of each mode will be sampled from a microcanonical ensemble with the `--INITQPa "microcanonical"` argument, which assumes uniform mixing of energies between all modes. The frequency of the modes dictates the absolute amount of energy ultimately given to a mode. With xTB, these frequencies are 3653 cm<sup>-1</sup> > 3645 cm<sup>-1</sup> > 1538 cm<sup>-1</sup> for the symmetric stretch, asymmetric stretch, and bending modes, respectively. VENUSpy can sample these with:
|
|
82
82
|
|
|
83
83
|
```
|
|
84
|
-
|
|
84
|
+
venuspy-cli examples/H2O.input.xyz examples/H2O.input.xtb . --atomsInFirstGroup "1 2 3" --production 100 --interval 1 --time_step 0.15 --INITQPa "microcanonical" --EVIBa 12.6372 --EROTa 0.00001 --n_threads 1 > production.log
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
While tracking the normal mode breakdown of energies over the entire trajectory is slow (this requires a Hessian calculation at each step), this can be done for the first frame from the initial sampling. Search for the `Evibs` keyword in the output to see energies of each mode (in eV).
|
|
@@ -110,7 +110,7 @@ Finally, there is one more special case for diatomic molecules. Because polyatom
|
|
|
110
110
|
Let's do an example for the OH radical with the same software, for the N=2,J=5 rovibrational state:
|
|
111
111
|
|
|
112
112
|
```
|
|
113
|
-
|
|
113
|
+
venuspy-cli examples/OH.input.xyz examples/OH.input.xtb . --atomsInFirstGroup "1 2" --production 100 --interval 1 --time_step 0.15 --INITQPa "semiclassical" --NVIBa 2 --NROTa 5 --n_threads 1 > production.log
|
|
114
114
|
```
|
|
115
115
|
|
|
116
116
|
Note that, with the semiclassical method, the rovibrational states' energies are not known a priori, as they are not approximated from the normal mode frequencies. Thus, only specific rovibrational states (N,J) can be sampled rather than ensembles. However, the ensemble of phases for a state are still sampled.
|
|
@@ -164,7 +164,7 @@ H -2.684400 1.453100 0.000000
|
|
|
164
164
|
Then, any initial sampling and MD parameters can be given to this so long as the B and C<sub>2</sub>H<sub>2</sub> are kept separate. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold C<sub>2</sub>H<sub>2</sub>, the following command works:
|
|
165
165
|
|
|
166
166
|
```
|
|
167
|
-
|
|
167
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.mopac . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
168
168
|
```
|
|
169
169
|
|
|
170
170
|
Sometimes the SCF calculation in MOPAC does not converge which leads to the error: `ase.calculators.calculator.CalculationFailed: ... failed`. This happens about 1/5 times for this system; restarting it often resolves this.
|
|
@@ -217,7 +217,7 @@ referencemethod uhf
|
|
|
217
217
|
Similar to the MOPAC implementation, any initial sampling and MD parameters can be given to this so long as the B and C<sub>2</sub>H<sub>2</sub> are kept separate. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold C<sub>2</sub>H<sub>2</sub>, the following command works:
|
|
218
218
|
|
|
219
219
|
```
|
|
220
|
-
|
|
220
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.psi4 . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
221
221
|
```
|
|
222
222
|
|
|
223
223
|
While PSI4 is parallelized, it is a full electronic structure calculation so it takes more than a minute to do the molecular dynamics, let alone the initial sampling. By default, if there are convergence issues at any step of the initial sampling or dynamics, the ab initio calculation is restarted with slightly different or looser parameters. We suggest skipping a full trajectory simulation if trying this as a test.
|
|
@@ -268,7 +268,7 @@ H -2.684400 1.453100 0.000000
|
|
|
268
268
|
Similar to the MOPAC implementation, any initial sampling and MD parameters can be given to this so long as the B and C<sub>2</sub>H<sub>2</sub> are kept separate. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold C<sub>2</sub>H<sub>2</sub>, the following command works:
|
|
269
269
|
|
|
270
270
|
```
|
|
271
|
-
|
|
271
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.xtb . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
272
272
|
```
|
|
273
273
|
|
|
274
274
|
Sometimes the xTB calculation does not converge. By default, VENUSpy restarts the calculation a few times with slightly different parameters to try to save the trajectory.
|
|
@@ -320,7 +320,7 @@ Q1-Sgm chempotpy O3 O3_6_5Ap_2023 0
|
|
|
320
320
|
Then, any initial sampling and MD parameters can be given to this. For example, for a bimolecular collision initiated with 2.4 kcal/mol of collision energy and cold O2, the following command works:
|
|
321
321
|
|
|
322
322
|
```
|
|
323
|
-
|
|
323
|
+
venuspy-cli examples/O.O2.input.xyz examples/O.O2.input.chempotpy . --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
324
324
|
```
|
|
325
325
|
|
|
326
326
|
</details>
|
|
@@ -349,13 +349,13 @@ For Schnet, first install an appropriate version (depending on the version of th
|
|
|
349
349
|
python3.11 -m venv .schnetmd
|
|
350
350
|
source .schnetmd/bin/activate
|
|
351
351
|
pip install torch==2.3 schnetpack==2.0.4 pytorch-lightning==2.2
|
|
352
|
-
pip install ase
|
|
352
|
+
pip install ase venuspython
|
|
353
353
|
```
|
|
354
354
|
|
|
355
355
|
And then do the initial sampling and MD:
|
|
356
356
|
|
|
357
357
|
```
|
|
358
|
-
|
|
358
|
+
venuspy-cli examples/CH.C4H6.input.xyz examples/MLmodels/CHC4H6/best_inference_model . --atomsInFirstGroup "1 2" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
359
359
|
```
|
|
360
360
|
|
|
361
361
|
|
|
@@ -365,13 +365,13 @@ For sGDML, first install the latest version with `pip`:
|
|
|
365
365
|
python -m venv .sgdmlmd
|
|
366
366
|
source .sgdmlmd/bin/activate
|
|
367
367
|
pip install sgdml
|
|
368
|
-
pip install ase
|
|
368
|
+
pip install ase venuspython
|
|
369
369
|
```
|
|
370
370
|
|
|
371
371
|
And then do the initial sampling and MD:
|
|
372
372
|
|
|
373
373
|
```
|
|
374
|
-
|
|
374
|
+
venuspy-cli examples/HBr.HCl.input.xyz examples/MLmodels/HBrHCl/model-train8000-sym2-sig0050.npz . --atomsInFirstGroup "1 2" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
375
375
|
```
|
|
376
376
|
|
|
377
377
|
For Physnet, first download the latest version from github and install tensorflow:
|
|
@@ -395,7 +395,7 @@ sed -i 's/from importlib.metadata import entry_points/from importlib_metadata im
|
|
|
395
395
|
And then do the initial sampling and MD:
|
|
396
396
|
|
|
397
397
|
```
|
|
398
|
-
|
|
398
|
+
venuspy-cli examples/CH.SH2.input.xyz examples/MLmodels/CHSH2/model.physnet.config . --atomsInFirstGroup "1 2" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 100 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log 2> /dev/null
|
|
399
399
|
```
|
|
400
400
|
|
|
401
401
|
</details>
|
|
@@ -412,13 +412,13 @@ python -m venv .hybridmd
|
|
|
412
412
|
source .hybridmd/bin/activate
|
|
413
413
|
pip install sgdml
|
|
414
414
|
pip install tblite
|
|
415
|
-
pip install ase
|
|
415
|
+
pip install ase venuspython
|
|
416
416
|
```
|
|
417
417
|
|
|
418
418
|
Add the argument `--MDtype "smoothed"` and you're good to go:
|
|
419
419
|
|
|
420
420
|
```
|
|
421
|
-
|
|
421
|
+
venuspy-cli examples/B.C2H2.input.xyz examples/B.C2H2.input.xtb . --MDtype "smoothed" --atomsInFirstGroup "1" --collisionEnergy 2.4 --impactParameter 1.0 --centerOfMassDistance 10.0 --production 5000 --interval 1 --time_step 0.15 --INITQPa "thermal" --INITQPb "thermal" --TVIBa 300.0 --TROTa 300.0 --TVIBb 10.0 --TROTb 10.0 --n_threads 1 > production.log
|
|
422
422
|
```
|
|
423
423
|
|
|
424
424
|
The xTB software, although not a completely ab initio theory, uses similar kinds of SCF methods and also runs into convergence problems. Over the course of the 5000 steps simulated, it often will have two or three energy drift/jump issues. When this happens, the sGDML surface quickly trains on the local surface and tries to save the trajectory. After some number of steps, the xTB method takes over again.
|