pymdkit 1.7.6__tar.gz → 1.7.8__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.
- {pymdkit-1.7.6 → pymdkit-1.7.8}/CHANGELOG.md +47 -35
- {pymdkit-1.7.6/src/pymdkit.egg-info → pymdkit-1.7.8}/PKG-INFO +115 -13
- {pymdkit-1.7.6 → pymdkit-1.7.8}/README.md +114 -12
- {pymdkit-1.7.6 → pymdkit-1.7.8}/pyproject.toml +1 -1
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/__init__.py +1 -1
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_dope_certify.py +5 -1
- pymdkit-1.7.8/src/pymdkit/commands/_dope_exact.py +209 -0
- pymdkit-1.7.8/src/pymdkit/commands/_dope_graph.py +132 -0
- pymdkit-1.7.8/src/pymdkit/commands/_dope_optimize.py +326 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_coordinates.py +25 -6
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_io.py +17 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_reuse.py +19 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_vasp_nep.py +66 -2
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/convert.py +3 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/dope.py +24 -2
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/gpumd_job.py +117 -106
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/msd.py +4 -1
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/supercell.py +34 -12
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/vasp_out.py +52 -1
- {pymdkit-1.7.6 → pymdkit-1.7.8/src/pymdkit.egg-info}/PKG-INFO +115 -13
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit.egg-info/SOURCES.txt +7 -0
- pymdkit-1.7.8/tests/test_dope_graph.py +78 -0
- pymdkit-1.7.8/tests/test_dope_performance.py +201 -0
- pymdkit-1.7.8/tests/test_gpumd_job_fixes.py +176 -0
- pymdkit-1.7.8/tests/test_msd_wrapped.py +124 -0
- pymdkit-1.7.8/tests/test_vasp_nep_bec.py +192 -0
- pymdkit-1.7.6/src/pymdkit/commands/_dope_optimize.py +0 -146
- {pymdkit-1.7.6 → pymdkit-1.7.8}/LICENSE +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/MANIFEST.in +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/setup.cfg +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/_config.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/_logging.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/__init__.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_cifio.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_extxyz.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_fileio.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_geometry.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_gpumd.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_gpumd_final_structure.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_gpumd_msd.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_gpumd_run.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_gpumd_status.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_gpumd_thermo.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_ionhop.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_lattice.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_auto.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_conductivity.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_fit.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_provenance.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_range.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_thermo.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_msd_uncertainty.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_oxidation.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_parallel.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_precision.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_pred_msd_plan.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_pred_msd_reference.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_reduction.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_submit.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_submit_vasp.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_supercell.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_symmetry.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_vasp_ehull.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_vasp_final_structure.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_vasp_output.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/_vaspset.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/chemsys_entry.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/compute_rmsd.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/config.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/ewald.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/gpumd_out.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/ionhop.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/nep_rmse.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/perturb.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/pred_msd_time.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/rd.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/realloc_occ.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/submit.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/trjconv.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/commands/vasp_job.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit/pymdkit_main.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit.egg-info/dependency_links.txt +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit.egg-info/entry_points.txt +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit.egg-info/requires.txt +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/src/pymdkit.egg-info/top_level.txt +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/data/88-Li2YCl3-63-d1.cif +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_config_logging.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_convert.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_dope_certify.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_dope_optimize.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_ehull.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_gpumd_out.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_ionhop.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_lattice_symmetry.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_msd_auto.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_msd_fit.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_msd_large.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_msd_phase3.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_msd_range.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_msd_reuse.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_msd_uncertainty.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_parallel.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_pred_msd_time.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_progress.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_realloc_occ.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_rmsd_gpu.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_rmsd_max.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_rmsd_two_folder.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_submit.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_v165.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_v170_job_infrastructure.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_v170_vasp_consolidation.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_v172_vasp_writing.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_vasp_out.py +0 -0
- {pymdkit-1.7.6 → pymdkit-1.7.8}/tests/test_vaspset.py +0 -0
|
@@ -1,35 +1,47 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## 1.7.
|
|
4
|
-
|
|
5
|
-
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 1.7.8
|
|
4
|
+
|
|
5
|
+
- Validate wrapped-only GPUMD schemas, preserve streaming MIC reconstruction and COM semantics, and record coordinate provenance and sampling diagnostics.
|
|
6
|
+
- Prune exact doping thresholds with applicable packing bounds; add exact graph reductions, verified clique constraints and LP bounds, and maximum-independent-set certification with validated witnesses.
|
|
7
|
+
- Preserve timeout status semantics, deterministic heuristic restarts, and all existing CLI defaults.
|
|
8
|
+
|
|
9
|
+
## 1.7.7
|
|
10
|
+
|
|
11
|
+
- Speed up automatic dope exchange scoring using exact incremental distances and bounded two-dimensional work arrays.
|
|
12
|
+
- Add deterministic shared-memory restart multiprocessing through `--n-jobs` (default 1), preserving search budgets and optional MILP certification.
|
|
13
|
+
- Restart seed streams change from 1.7.6; worker counts produce equivalent selections.
|
|
14
|
+
|
|
15
|
+
## 1.7.5
|
|
16
|
+
|
|
17
|
+
- `pmk msd` reuses validated full-trajectory and range results with version-1
|
|
18
|
+
provenance, including compatible 1.7.4 results. Newly calculated and reused
|
|
19
|
+
results share the total-only batch summaries, with rollback if publication
|
|
20
|
+
fails.
|
|
21
|
+
- Add `pmk ionhop` for iodine-aligned Li site hopping in GPUMD trajectories,
|
|
22
|
+
with single and multi-temperature modes and nearest-neighbor hop frequencies.
|
|
23
|
+
SciPy is a direct dependency for the cKDTree CPU backend.
|
|
24
|
+
|
|
25
|
+
## 1.7.4
|
|
26
|
+
|
|
27
|
+
- `pmk msd -ne` retains finite, positive Einstein diffusion coefficients and
|
|
28
|
+
Nernst–Einstein conductivity when the fit-quality diagnostics would reject the
|
|
29
|
+
window. The result is reported and aggregated as WARNING, with the original
|
|
30
|
+
diagnostic details preserved. This applies to automatic and manual windows.
|
|
31
|
+
- Missing valid regression, failed requested estimators, and invalid NE inputs
|
|
32
|
+
still fail the calculation and preserve existing aggregate summaries.
|
|
33
|
+
|
|
34
|
+
## 1.7.3
|
|
35
|
+
|
|
36
|
+
- `pmk msd` analyzes fixed-cell GPUMD NVT trajectories, selects or accepts a
|
|
37
|
+
fitting window, and optionally reports Nernst–Einstein conductivity. It uses
|
|
38
|
+
free-intercept OLS by default. Optional WLS and GLS also estimate the intercept.
|
|
39
|
+
Forced-origin fitting has been removed from production.
|
|
40
|
+
- `pmk pred-msd-time` uses validated full-trajectory OLS references to forecast
|
|
41
|
+
higher-temperature Li conductivity, diffusion, and NVT production duration.
|
|
42
|
+
The Arrhenius forecast and square-root duration scaling are planning heuristics.
|
|
43
|
+
The durations carry no guarantee of MSD convergence.
|
|
44
|
+
- `pmk gpumd-job -msd-time` generates GPUMD 4.2-compatible jobs with explicit
|
|
45
|
+
NVT temperatures, run lengths, and optional `compute_msd` sample counts.
|
|
46
|
+
Fixed-cell NVT production is required for MSD analysis. Earlier NPT equilibration
|
|
47
|
+
is supported when its frames are excluded from the analyzed trajectory.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pymdkit
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.8
|
|
4
4
|
Summary: A Python command-line toolkit for high-throughput atomistic workflows in AI-driven materials design.
|
|
5
5
|
Author-email: Yueda Wang <ydwang0608@ustc.edu.cn>
|
|
6
6
|
License-Expression: GPL-3.0-or-later
|
|
@@ -37,6 +37,39 @@ materials design. Install `pymdkit` once and call its tools from anywhere as
|
|
|
37
37
|
Commands expose explicit, documented CLI interfaces designed for reproducible shell,
|
|
38
38
|
HPC, and AI-agent workflows, and each underlying script is still runnable on its own.
|
|
39
39
|
|
|
40
|
+
## 1.7.8 release notes
|
|
41
|
+
|
|
42
|
+
Wrapped-only GPUMD trajectories now receive strict schema validation, a sampling
|
|
43
|
+
warning, and versioned coordinate provenance. Explicit unwrapped trajectories
|
|
44
|
+
retain the existing numerical analysis. Exact doping certification now filters
|
|
45
|
+
distance levels with applicable packing bounds and strengthens the graph model
|
|
46
|
+
with safe reductions, verified cliques, and corrected LP dual bounds.
|
|
47
|
+
See `reports/1.7.8/development-report.md` for measured results and limitations.
|
|
48
|
+
|
|
49
|
+
### Previous 1.7.7 improvements
|
|
50
|
+
|
|
51
|
+
- Automatic `pmk dope` uses exact incremental exchange scores and bounded 2D
|
|
52
|
+
work arrays, preserving the three ranking metrics and search budgets.
|
|
53
|
+
- `--n-jobs N` runs independent restarts in N processes (default: 1).
|
|
54
|
+
Choose N for your CPU allocation; large problems benefit most and speedup
|
|
55
|
+
need not be proportional. This does not set MILP solver threads.
|
|
56
|
+
- Restart seeds now use `SeedSequence.spawn`: results are reproducible across
|
|
57
|
+
worker counts, but a seed need not reproduce the 1.7.6 configurations.
|
|
58
|
+
- Exact enumeration stays serial. Summary metadata reports actual workers,
|
|
59
|
+
timings (worker times are summed), sweeps, and attempted/accepted exchanges.
|
|
60
|
+
|
|
61
|
+
```powershell
|
|
62
|
+
pmk dope -i LiI-777.vasp -se Li -sn 392 -we vac -on 10 -o vacancies -ref vac vac -seed 42 --n-jobs 1
|
|
63
|
+
pmk dope -i LiI-777.vasp -se Li -sn 392 -we vac -on 10 -o vacancies-n4 -ref vac vac -seed 42 --n-jobs 4
|
|
64
|
+
pmk dope -i LiI-777.vasp -se Li -sn 392 -we vac -on 10 -o vacancies-n8 -ref vac vac -seed 42 --n-jobs 8
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
Values above 1 require automatic optimization; ordinary generation and legacy
|
|
68
|
+
removal reject them. One process creates no workers. The float64 distance matrix
|
|
69
|
+
is shared read-only; workers return candidates and the parent writes and validates
|
|
70
|
+
outputs. Optional threadpoolctl limits numerical threads within each worker.
|
|
71
|
+
`--certify-optimum` and `--certify-time-limit` retain their existing meaning.
|
|
72
|
+
|
|
40
73
|
## 1.7.6 release notes
|
|
41
74
|
|
|
42
75
|
- `pmk dope -ref ELEMENT ELEMENT` now optimizes minimum periodic separation
|
|
@@ -125,7 +158,7 @@ installed.
|
|
|
125
158
|
On a machine with Internet access, run:
|
|
126
159
|
|
|
127
160
|
```bash
|
|
128
|
-
python -m pip download pymdkit==1.7.
|
|
161
|
+
python -m pip download pymdkit==1.7.8 -d pymdkit-offline
|
|
129
162
|
```
|
|
130
163
|
|
|
131
164
|
This downloads `pymdkit` and the dependencies resolved by pip into the
|
|
@@ -133,14 +166,14 @@ This downloads `pymdkit` and the dependencies resolved by pip into the
|
|
|
133
166
|
system. Then, inside the target pymdkit Python or conda environment, run:
|
|
134
167
|
|
|
135
168
|
```bash
|
|
136
|
-
python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.
|
|
169
|
+
python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.8
|
|
137
170
|
```
|
|
138
171
|
|
|
139
172
|
For optional GPU use, prepare the bundle on a networked machine compatible with
|
|
140
173
|
the target HPC platform and Python environment:
|
|
141
174
|
|
|
142
175
|
```bash
|
|
143
|
-
python -m pip download "pymdkit[gpu-cuda12]==1.7.
|
|
176
|
+
python -m pip download "pymdkit[gpu-cuda12]==1.7.8" -d pymdkit-offline
|
|
144
177
|
```
|
|
145
178
|
|
|
146
179
|
Transfer the whole `pymdkit-offline` directory, then install from it on the
|
|
@@ -148,7 +181,7 @@ target system:
|
|
|
148
181
|
|
|
149
182
|
```bash
|
|
150
183
|
python -m pip install --no-index --find-links=pymdkit-offline \
|
|
151
|
-
"pymdkit[gpu-cuda12]==1.7.
|
|
184
|
+
"pymdkit[gpu-cuda12]==1.7.8"
|
|
152
185
|
```
|
|
153
186
|
|
|
154
187
|
This GPU bundle includes the optional `cupy-cuda12x` package. Its wheels must also
|
|
@@ -258,8 +291,8 @@ pmk supercell -i model.vasp -o model-sc.vasp -matrix 1x1x2
|
|
|
258
291
|
pmk supercell -if structures -of capped -max-abc 40
|
|
259
292
|
pmk supercell -if structures -of close -close-abc 50
|
|
260
293
|
|
|
261
|
-
pmk gpumd-job -if Li3YCl6-all -supercell-close-abc 50 -nep nep.txt -in run.in -temp 300 320 340 360 -group Li Y Cl
|
|
262
|
-
pmk gpumd-job -it train.xyz -supercell-matrix 2x2x2 -nep nep.txt -group Li Y Cl
|
|
294
|
+
pmk gpumd-job -if Li3YCl6-all -supercell-close-abc 50 -nep nep.txt -in run.in -temp 300 320 340 360 -group Li Y Cl -pos-only no
|
|
295
|
+
pmk gpumd-job -it train.xyz -supercell-matrix 2x2x2 -nep nep.txt -group Li Y Cl -pos-only no
|
|
263
296
|
pmk submit -gpumd
|
|
264
297
|
pmk submit -gpumd -subscript custom_gpumd.pbs -queue pbs -max-job-num 30
|
|
265
298
|
|
|
@@ -420,9 +453,32 @@ once globally and the selection is then partitioned by Config_type.
|
|
|
420
453
|
and `-in` default to `nep.txt` and `run.in` in the invocation directory. Each
|
|
421
454
|
job receives `model.xyz` as extxyz, the potential as `nep.txt`, and the input as
|
|
422
455
|
`run.in`; the `potential` line is synchronized to `nep.txt`. With `-temp`, PMK
|
|
423
|
-
creates `<structure>/<T
|
|
424
|
-
`-
|
|
425
|
-
|
|
456
|
+
creates `<structure>/<T>/` and replaces every `target_t` token with T.
|
|
457
|
+
`-pos-only yes` is the default: each model has exactly
|
|
458
|
+
`Properties=species:S:1:pos:R:3` and four fields per atom (species, x, y, z).
|
|
459
|
+
Cell, PBC, coordinates and atom order are retained; momenta, forces, group labels
|
|
460
|
+
and all other per-atom properties are omitted. Use `-pos-only no` to retain the
|
|
461
|
+
previous full-property writer, including labels assigned with `-group`.
|
|
462
|
+
|
|
463
|
+
```bash
|
|
464
|
+
pmk gpumd-job -if opted-vasp -nep nep.txt -in run.in -temp 300 400 500 600
|
|
465
|
+
pmk gpumd-job -if opted-vasp -nep nep.txt -in run.in -temp 300 400 500 600 -pos-only no
|
|
466
|
+
```
|
|
467
|
+
|
|
468
|
+
Explicit `npt_scr` pressure tokens, including zero and scientific notation, are
|
|
469
|
+
preserved. Cubic cells retain scalar pressure syntax and its elastic modulus and
|
|
470
|
+
coupling parameters. Non-cubic orthorhombic cells expand scalar pressure and modulus
|
|
471
|
+
into three matching components. Non-orthogonal cells use six components: scalar
|
|
472
|
+
pressure expands to three normal pressures and zero shear pressures, with the
|
|
473
|
+
specified modulus repeated. Existing complete directional controls are preserved;
|
|
474
|
+
when expanding three components to six, missing shear pressures are zero and
|
|
475
|
+
missing shear moduli use the established value 100. Cubic geometry requires angles
|
|
476
|
+
within 1e-4 degrees of 90 and a maximum length difference no greater than
|
|
477
|
+
`1e-6 A + 1e-5 * max(a,b,c)`. This is a cell-metric check, not a space-group analysis.
|
|
478
|
+
Only wholly absent pressure controls use the established defaults (`1e-04`, modulus
|
|
479
|
+
100, coupling 1000); incomplete control lists report an error. Template files,
|
|
480
|
+
comments, and unrelated commands remain intact apart from the existing temperature
|
|
481
|
+
and potential-filename substitutions. In `-if` mode, an existing final job
|
|
426
482
|
folder (including an empty one) is left untouched while missing siblings are
|
|
427
483
|
still generated. With `-temp`, every structure/temperature folder is checked
|
|
428
484
|
independently.
|
|
@@ -573,7 +629,26 @@ E-hull mode preserves Materials Project/local-reference handling, cache files,
|
|
|
573
629
|
deterministic ordering, and writes `ehull.txt`. A supplied `-mp-api-key` is
|
|
574
630
|
redacted in `vasp-out.log`. NEP-training mode preserves converged VASP
|
|
575
631
|
structures and extxyz energy/force/stress metadata; its default output is
|
|
576
|
-
`train.xyz
|
|
632
|
+
`train.xyz`. When available, Born effective charge (BEC) tensors are automatically
|
|
633
|
+
included as the per-atom extxyz property `bec:R:9`, after forces. BEC extraction
|
|
634
|
+
independently follows `vaspout.h5 > vasprun.xml > OUTCAR`, so its source may differ
|
|
635
|
+
from the structure/energy source. PMK uses py4vasp's `charge_tensors` and the
|
|
636
|
+
existing quantity-reader fallback; pymatgen versions without Vasprun BEC support
|
|
637
|
+
continue to OUTCAR. OUTCAR extraction checks complete blocks and uses the final
|
|
638
|
+
complete block if several occur.
|
|
639
|
+
|
|
640
|
+
Each `(n_atoms, 3, 3)` tensor collection is validated for atom count, shape and
|
|
641
|
+
finite values, then flattened in printed OUTCAR row order (`xx xy xz yx yy yz zx
|
|
642
|
+
zy zz`), without transposition, atom reordering or unit conversion (units of
|
|
643
|
+
elementary charge, `|e|`). Available py4vasp structure metadata is checked against
|
|
644
|
+
the final structure. Output files in one calculation directory must describe the
|
|
645
|
+
same atomic ordering. Missing or invalid BEC leaves the configuration intact,
|
|
646
|
+
with a diagnostic and no placeholder values. Mixed datasets retain independent
|
|
647
|
+
per-frame property declarations, and the summary counts frames with/without BEC.
|
|
648
|
+
`-position-only` skips BEC extraction and omits BEC together with other calculation
|
|
649
|
+
results. No additional CLI option is needed.
|
|
650
|
+
|
|
651
|
+
Final-structure
|
|
577
652
|
mode defaults to `CONTCAR`, requires an output folder, and optionally applies
|
|
578
653
|
the strict `-max-ehull` filter using `ehull.txt` by default. All modes use
|
|
579
654
|
`vasp-out.log`, separate from scientific artifacts. The standalone `ehull` and
|
|
@@ -642,7 +717,7 @@ Its default is 120 seconds for the entire certification stage; it does not chang
|
|
|
642
717
|
the heuristic budget. Certification requires the automatic `-sn/-on/-ref` mode.
|
|
643
718
|
Small enumerated spaces reuse their proof without invoking a solver. Otherwise
|
|
644
719
|
SciPy's `optimize.milp` (SciPy >= 1.9, bundled HiGHS) tests sparse conflict graphs:
|
|
645
|
-
binary x_i selects a site, sum(x_i)
|
|
720
|
+
binary x_i selects a site, maximize sum(x_i), and x_i+x_j<=1 when d_ij<t. Candidate sites
|
|
646
721
|
too close to fixed dopants are disabled; conflicting fixed pairs make t infeasible.
|
|
647
722
|
Binary search over discrete periodic distance levels finds the largest feasible
|
|
648
723
|
threshold. A validated configuration plus proof that the next level is infeasible
|
|
@@ -653,7 +728,21 @@ Conflicts use strict d<t; returned configurations must satisfy d>=t with no dist
|
|
|
653
728
|
relaxation. Binary variables are checked within 1e-6 of 0 or 1. This conservative
|
|
654
729
|
policy may require extra solves for nearly identical distances. Proofs refer to
|
|
655
730
|
the computed geometry subject to HiGHS numerical tolerances, not exact arithmetic.
|
|
656
|
-
The
|
|
731
|
+
The validated heuristic score excludes already feasible levels. The packing upper
|
|
732
|
+
bound prunes larger levels only when the shortest self-image distance exceeds the
|
|
733
|
+
bound (with conservative numerical slack); thin cells retain the unpruned search.
|
|
734
|
+
Isolated vertices are forced into a maximum independent set. Closed-neighborhood
|
|
735
|
+
domination removes a vertex only when it can be replaced without reducing the
|
|
736
|
+
maximum cardinality. Deterministic clique inequalities strengthen sparse models;
|
|
737
|
+
a verified partition into fewer than K cliques, accounting for reductions, proves
|
|
738
|
+
infeasibility. LP dual multipliers are corrected for constraint residuals before
|
|
739
|
+
using their upper bound. Otherwise SciPy MILP maximizes independent-set cardinality.
|
|
740
|
+
Validated incumbents of at least K yield exactly K witness sites; a conservative
|
|
741
|
+
dual bound below K proves infeasibility even at a time limit. An insufficient bound
|
|
742
|
+
at timeout is never a proof. Preprocessing, LP and MILP share one monotonic budget.
|
|
743
|
+
Connected component counts are reported; no crystallographic symmetry is assumed.
|
|
744
|
+
Large graphs can still exhaust the budget. No optional solver is auto-installed,
|
|
745
|
+
and `--n-jobs` controls heuristic restarts, not MILP threads or MIP starts.
|
|
657
746
|
|
|
658
747
|
`optimality-certificate.json` records input, species, site indices, seed, solver
|
|
659
748
|
and SciPy version, distance policy, per-threshold outcomes, runtime, bounds and
|
|
@@ -906,6 +995,19 @@ atoms without stable IDs cannot be identified and must not be supplied.
|
|
|
906
995
|
|
|
907
996
|
For fixed triclinic cells, consistent `unwrapped_position` is preferred; otherwise
|
|
908
997
|
ASE's general lattice minimum-image algorithm accumulates successive displacements.
|
|
998
|
+
For example, `dump_xyz 1000 dump.xyz` followed by `pmk msd -group 0 -ne`
|
|
999
|
+
needs no additional coordinate option. Properties are identified by declaration,
|
|
1000
|
+
including files with extra group or other fields. All atoms are reconstructed
|
|
1001
|
+
before whole-system COM correction and group selection. Reconstruction state
|
|
1002
|
+
persists across the 256-frame storage chunks; partial PBC is respected. Cells
|
|
1003
|
+
must remain constant within rtol=1e-10 and atol=1e-8 Angstrom.
|
|
1004
|
+
The maximum reconstructed step is recorded; a step exceeding 40% of the smallest
|
|
1005
|
+
periodic face spacing emits a heuristic sampling warning. It cannot detect all
|
|
1006
|
+
missed crossings, including motion by an entire cell between samples.
|
|
1007
|
+
Provenance records `unwrapped_position` or `reconstructed_from_wrapped_pos`, the
|
|
1008
|
+
`ase-mic-v1` reconstruction version, cell, and PBC. Fingerprint checks remain.
|
|
1009
|
+
Legacy explicit-unwrapped results remain reusable; legacy wrapped results lacking
|
|
1010
|
+
coordinate provenance must be moved aside and recomputed with schema validation.
|
|
909
1011
|
Wrapped output must be frequent enough to resolve each displacement uniquely;
|
|
910
1012
|
multiple unseen boundary crossings cannot be recovered from saved frames.
|
|
911
1013
|
**MSD analysis supports fixed-cell NVT production.** NPT and changing-cell
|
|
@@ -7,6 +7,39 @@ materials design. Install `pymdkit` once and call its tools from anywhere as
|
|
|
7
7
|
Commands expose explicit, documented CLI interfaces designed for reproducible shell,
|
|
8
8
|
HPC, and AI-agent workflows, and each underlying script is still runnable on its own.
|
|
9
9
|
|
|
10
|
+
## 1.7.8 release notes
|
|
11
|
+
|
|
12
|
+
Wrapped-only GPUMD trajectories now receive strict schema validation, a sampling
|
|
13
|
+
warning, and versioned coordinate provenance. Explicit unwrapped trajectories
|
|
14
|
+
retain the existing numerical analysis. Exact doping certification now filters
|
|
15
|
+
distance levels with applicable packing bounds and strengthens the graph model
|
|
16
|
+
with safe reductions, verified cliques, and corrected LP dual bounds.
|
|
17
|
+
See `reports/1.7.8/development-report.md` for measured results and limitations.
|
|
18
|
+
|
|
19
|
+
### Previous 1.7.7 improvements
|
|
20
|
+
|
|
21
|
+
- Automatic `pmk dope` uses exact incremental exchange scores and bounded 2D
|
|
22
|
+
work arrays, preserving the three ranking metrics and search budgets.
|
|
23
|
+
- `--n-jobs N` runs independent restarts in N processes (default: 1).
|
|
24
|
+
Choose N for your CPU allocation; large problems benefit most and speedup
|
|
25
|
+
need not be proportional. This does not set MILP solver threads.
|
|
26
|
+
- Restart seeds now use `SeedSequence.spawn`: results are reproducible across
|
|
27
|
+
worker counts, but a seed need not reproduce the 1.7.6 configurations.
|
|
28
|
+
- Exact enumeration stays serial. Summary metadata reports actual workers,
|
|
29
|
+
timings (worker times are summed), sweeps, and attempted/accepted exchanges.
|
|
30
|
+
|
|
31
|
+
```powershell
|
|
32
|
+
pmk dope -i LiI-777.vasp -se Li -sn 392 -we vac -on 10 -o vacancies -ref vac vac -seed 42 --n-jobs 1
|
|
33
|
+
pmk dope -i LiI-777.vasp -se Li -sn 392 -we vac -on 10 -o vacancies-n4 -ref vac vac -seed 42 --n-jobs 4
|
|
34
|
+
pmk dope -i LiI-777.vasp -se Li -sn 392 -we vac -on 10 -o vacancies-n8 -ref vac vac -seed 42 --n-jobs 8
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Values above 1 require automatic optimization; ordinary generation and legacy
|
|
38
|
+
removal reject them. One process creates no workers. The float64 distance matrix
|
|
39
|
+
is shared read-only; workers return candidates and the parent writes and validates
|
|
40
|
+
outputs. Optional threadpoolctl limits numerical threads within each worker.
|
|
41
|
+
`--certify-optimum` and `--certify-time-limit` retain their existing meaning.
|
|
42
|
+
|
|
10
43
|
## 1.7.6 release notes
|
|
11
44
|
|
|
12
45
|
- `pmk dope -ref ELEMENT ELEMENT` now optimizes minimum periodic separation
|
|
@@ -95,7 +128,7 @@ installed.
|
|
|
95
128
|
On a machine with Internet access, run:
|
|
96
129
|
|
|
97
130
|
```bash
|
|
98
|
-
python -m pip download pymdkit==1.7.
|
|
131
|
+
python -m pip download pymdkit==1.7.8 -d pymdkit-offline
|
|
99
132
|
```
|
|
100
133
|
|
|
101
134
|
This downloads `pymdkit` and the dependencies resolved by pip into the
|
|
@@ -103,14 +136,14 @@ This downloads `pymdkit` and the dependencies resolved by pip into the
|
|
|
103
136
|
system. Then, inside the target pymdkit Python or conda environment, run:
|
|
104
137
|
|
|
105
138
|
```bash
|
|
106
|
-
python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.
|
|
139
|
+
python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.8
|
|
107
140
|
```
|
|
108
141
|
|
|
109
142
|
For optional GPU use, prepare the bundle on a networked machine compatible with
|
|
110
143
|
the target HPC platform and Python environment:
|
|
111
144
|
|
|
112
145
|
```bash
|
|
113
|
-
python -m pip download "pymdkit[gpu-cuda12]==1.7.
|
|
146
|
+
python -m pip download "pymdkit[gpu-cuda12]==1.7.8" -d pymdkit-offline
|
|
114
147
|
```
|
|
115
148
|
|
|
116
149
|
Transfer the whole `pymdkit-offline` directory, then install from it on the
|
|
@@ -118,7 +151,7 @@ target system:
|
|
|
118
151
|
|
|
119
152
|
```bash
|
|
120
153
|
python -m pip install --no-index --find-links=pymdkit-offline \
|
|
121
|
-
"pymdkit[gpu-cuda12]==1.7.
|
|
154
|
+
"pymdkit[gpu-cuda12]==1.7.8"
|
|
122
155
|
```
|
|
123
156
|
|
|
124
157
|
This GPU bundle includes the optional `cupy-cuda12x` package. Its wheels must also
|
|
@@ -228,8 +261,8 @@ pmk supercell -i model.vasp -o model-sc.vasp -matrix 1x1x2
|
|
|
228
261
|
pmk supercell -if structures -of capped -max-abc 40
|
|
229
262
|
pmk supercell -if structures -of close -close-abc 50
|
|
230
263
|
|
|
231
|
-
pmk gpumd-job -if Li3YCl6-all -supercell-close-abc 50 -nep nep.txt -in run.in -temp 300 320 340 360 -group Li Y Cl
|
|
232
|
-
pmk gpumd-job -it train.xyz -supercell-matrix 2x2x2 -nep nep.txt -group Li Y Cl
|
|
264
|
+
pmk gpumd-job -if Li3YCl6-all -supercell-close-abc 50 -nep nep.txt -in run.in -temp 300 320 340 360 -group Li Y Cl -pos-only no
|
|
265
|
+
pmk gpumd-job -it train.xyz -supercell-matrix 2x2x2 -nep nep.txt -group Li Y Cl -pos-only no
|
|
233
266
|
pmk submit -gpumd
|
|
234
267
|
pmk submit -gpumd -subscript custom_gpumd.pbs -queue pbs -max-job-num 30
|
|
235
268
|
|
|
@@ -390,9 +423,32 @@ once globally and the selection is then partitioned by Config_type.
|
|
|
390
423
|
and `-in` default to `nep.txt` and `run.in` in the invocation directory. Each
|
|
391
424
|
job receives `model.xyz` as extxyz, the potential as `nep.txt`, and the input as
|
|
392
425
|
`run.in`; the `potential` line is synchronized to `nep.txt`. With `-temp`, PMK
|
|
393
|
-
creates `<structure>/<T
|
|
394
|
-
`-
|
|
395
|
-
|
|
426
|
+
creates `<structure>/<T>/` and replaces every `target_t` token with T.
|
|
427
|
+
`-pos-only yes` is the default: each model has exactly
|
|
428
|
+
`Properties=species:S:1:pos:R:3` and four fields per atom (species, x, y, z).
|
|
429
|
+
Cell, PBC, coordinates and atom order are retained; momenta, forces, group labels
|
|
430
|
+
and all other per-atom properties are omitted. Use `-pos-only no` to retain the
|
|
431
|
+
previous full-property writer, including labels assigned with `-group`.
|
|
432
|
+
|
|
433
|
+
```bash
|
|
434
|
+
pmk gpumd-job -if opted-vasp -nep nep.txt -in run.in -temp 300 400 500 600
|
|
435
|
+
pmk gpumd-job -if opted-vasp -nep nep.txt -in run.in -temp 300 400 500 600 -pos-only no
|
|
436
|
+
```
|
|
437
|
+
|
|
438
|
+
Explicit `npt_scr` pressure tokens, including zero and scientific notation, are
|
|
439
|
+
preserved. Cubic cells retain scalar pressure syntax and its elastic modulus and
|
|
440
|
+
coupling parameters. Non-cubic orthorhombic cells expand scalar pressure and modulus
|
|
441
|
+
into three matching components. Non-orthogonal cells use six components: scalar
|
|
442
|
+
pressure expands to three normal pressures and zero shear pressures, with the
|
|
443
|
+
specified modulus repeated. Existing complete directional controls are preserved;
|
|
444
|
+
when expanding three components to six, missing shear pressures are zero and
|
|
445
|
+
missing shear moduli use the established value 100. Cubic geometry requires angles
|
|
446
|
+
within 1e-4 degrees of 90 and a maximum length difference no greater than
|
|
447
|
+
`1e-6 A + 1e-5 * max(a,b,c)`. This is a cell-metric check, not a space-group analysis.
|
|
448
|
+
Only wholly absent pressure controls use the established defaults (`1e-04`, modulus
|
|
449
|
+
100, coupling 1000); incomplete control lists report an error. Template files,
|
|
450
|
+
comments, and unrelated commands remain intact apart from the existing temperature
|
|
451
|
+
and potential-filename substitutions. In `-if` mode, an existing final job
|
|
396
452
|
folder (including an empty one) is left untouched while missing siblings are
|
|
397
453
|
still generated. With `-temp`, every structure/temperature folder is checked
|
|
398
454
|
independently.
|
|
@@ -543,7 +599,26 @@ E-hull mode preserves Materials Project/local-reference handling, cache files,
|
|
|
543
599
|
deterministic ordering, and writes `ehull.txt`. A supplied `-mp-api-key` is
|
|
544
600
|
redacted in `vasp-out.log`. NEP-training mode preserves converged VASP
|
|
545
601
|
structures and extxyz energy/force/stress metadata; its default output is
|
|
546
|
-
`train.xyz
|
|
602
|
+
`train.xyz`. When available, Born effective charge (BEC) tensors are automatically
|
|
603
|
+
included as the per-atom extxyz property `bec:R:9`, after forces. BEC extraction
|
|
604
|
+
independently follows `vaspout.h5 > vasprun.xml > OUTCAR`, so its source may differ
|
|
605
|
+
from the structure/energy source. PMK uses py4vasp's `charge_tensors` and the
|
|
606
|
+
existing quantity-reader fallback; pymatgen versions without Vasprun BEC support
|
|
607
|
+
continue to OUTCAR. OUTCAR extraction checks complete blocks and uses the final
|
|
608
|
+
complete block if several occur.
|
|
609
|
+
|
|
610
|
+
Each `(n_atoms, 3, 3)` tensor collection is validated for atom count, shape and
|
|
611
|
+
finite values, then flattened in printed OUTCAR row order (`xx xy xz yx yy yz zx
|
|
612
|
+
zy zz`), without transposition, atom reordering or unit conversion (units of
|
|
613
|
+
elementary charge, `|e|`). Available py4vasp structure metadata is checked against
|
|
614
|
+
the final structure. Output files in one calculation directory must describe the
|
|
615
|
+
same atomic ordering. Missing or invalid BEC leaves the configuration intact,
|
|
616
|
+
with a diagnostic and no placeholder values. Mixed datasets retain independent
|
|
617
|
+
per-frame property declarations, and the summary counts frames with/without BEC.
|
|
618
|
+
`-position-only` skips BEC extraction and omits BEC together with other calculation
|
|
619
|
+
results. No additional CLI option is needed.
|
|
620
|
+
|
|
621
|
+
Final-structure
|
|
547
622
|
mode defaults to `CONTCAR`, requires an output folder, and optionally applies
|
|
548
623
|
the strict `-max-ehull` filter using `ehull.txt` by default. All modes use
|
|
549
624
|
`vasp-out.log`, separate from scientific artifacts. The standalone `ehull` and
|
|
@@ -612,7 +687,7 @@ Its default is 120 seconds for the entire certification stage; it does not chang
|
|
|
612
687
|
the heuristic budget. Certification requires the automatic `-sn/-on/-ref` mode.
|
|
613
688
|
Small enumerated spaces reuse their proof without invoking a solver. Otherwise
|
|
614
689
|
SciPy's `optimize.milp` (SciPy >= 1.9, bundled HiGHS) tests sparse conflict graphs:
|
|
615
|
-
binary x_i selects a site, sum(x_i)
|
|
690
|
+
binary x_i selects a site, maximize sum(x_i), and x_i+x_j<=1 when d_ij<t. Candidate sites
|
|
616
691
|
too close to fixed dopants are disabled; conflicting fixed pairs make t infeasible.
|
|
617
692
|
Binary search over discrete periodic distance levels finds the largest feasible
|
|
618
693
|
threshold. A validated configuration plus proof that the next level is infeasible
|
|
@@ -623,7 +698,21 @@ Conflicts use strict d<t; returned configurations must satisfy d>=t with no dist
|
|
|
623
698
|
relaxation. Binary variables are checked within 1e-6 of 0 or 1. This conservative
|
|
624
699
|
policy may require extra solves for nearly identical distances. Proofs refer to
|
|
625
700
|
the computed geometry subject to HiGHS numerical tolerances, not exact arithmetic.
|
|
626
|
-
The
|
|
701
|
+
The validated heuristic score excludes already feasible levels. The packing upper
|
|
702
|
+
bound prunes larger levels only when the shortest self-image distance exceeds the
|
|
703
|
+
bound (with conservative numerical slack); thin cells retain the unpruned search.
|
|
704
|
+
Isolated vertices are forced into a maximum independent set. Closed-neighborhood
|
|
705
|
+
domination removes a vertex only when it can be replaced without reducing the
|
|
706
|
+
maximum cardinality. Deterministic clique inequalities strengthen sparse models;
|
|
707
|
+
a verified partition into fewer than K cliques, accounting for reductions, proves
|
|
708
|
+
infeasibility. LP dual multipliers are corrected for constraint residuals before
|
|
709
|
+
using their upper bound. Otherwise SciPy MILP maximizes independent-set cardinality.
|
|
710
|
+
Validated incumbents of at least K yield exactly K witness sites; a conservative
|
|
711
|
+
dual bound below K proves infeasibility even at a time limit. An insufficient bound
|
|
712
|
+
at timeout is never a proof. Preprocessing, LP and MILP share one monotonic budget.
|
|
713
|
+
Connected component counts are reported; no crystallographic symmetry is assumed.
|
|
714
|
+
Large graphs can still exhaust the budget. No optional solver is auto-installed,
|
|
715
|
+
and `--n-jobs` controls heuristic restarts, not MILP threads or MIP starts.
|
|
627
716
|
|
|
628
717
|
`optimality-certificate.json` records input, species, site indices, seed, solver
|
|
629
718
|
and SciPy version, distance policy, per-threshold outcomes, runtime, bounds and
|
|
@@ -876,6 +965,19 @@ atoms without stable IDs cannot be identified and must not be supplied.
|
|
|
876
965
|
|
|
877
966
|
For fixed triclinic cells, consistent `unwrapped_position` is preferred; otherwise
|
|
878
967
|
ASE's general lattice minimum-image algorithm accumulates successive displacements.
|
|
968
|
+
For example, `dump_xyz 1000 dump.xyz` followed by `pmk msd -group 0 -ne`
|
|
969
|
+
needs no additional coordinate option. Properties are identified by declaration,
|
|
970
|
+
including files with extra group or other fields. All atoms are reconstructed
|
|
971
|
+
before whole-system COM correction and group selection. Reconstruction state
|
|
972
|
+
persists across the 256-frame storage chunks; partial PBC is respected. Cells
|
|
973
|
+
must remain constant within rtol=1e-10 and atol=1e-8 Angstrom.
|
|
974
|
+
The maximum reconstructed step is recorded; a step exceeding 40% of the smallest
|
|
975
|
+
periodic face spacing emits a heuristic sampling warning. It cannot detect all
|
|
976
|
+
missed crossings, including motion by an entire cell between samples.
|
|
977
|
+
Provenance records `unwrapped_position` or `reconstructed_from_wrapped_pos`, the
|
|
978
|
+
`ase-mic-v1` reconstruction version, cell, and PBC. Fingerprint checks remain.
|
|
979
|
+
Legacy explicit-unwrapped results remain reusable; legacy wrapped results lacking
|
|
980
|
+
coordinate provenance must be moved aside and recomputed with schema validation.
|
|
879
981
|
Wrapped output must be frequent enough to resolve each displacement uniquely;
|
|
880
982
|
multiple unseen boundary crossings cannot be recovered from saved frames.
|
|
881
983
|
**MSD analysis supports fixed-cell NVT production.** NPT and changing-cell
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pymdkit"
|
|
7
|
-
version = "1.7.
|
|
7
|
+
version = "1.7.8"
|
|
8
8
|
description = "A Python command-line toolkit for high-throughput atomistic workflows in AI-driven materials design."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
@@ -17,7 +17,11 @@ except ImportError: # direct command script
|
|
|
17
17
|
from _dope_optimize import scores
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
def certify_sites(matrix, eligible_count, count, initial, time_limit=120, *, enumerated=False
|
|
20
|
+
def certify_sites(matrix, eligible_count, count, initial, time_limit=120, *, enumerated=False,
|
|
21
|
+
packing_upper=None, graph_preprocessing=False):
|
|
22
|
+
if graph_preprocessing and not enumerated:
|
|
23
|
+
from ._dope_exact import certify_graph
|
|
24
|
+
return certify_graph(matrix, eligible_count, count, initial, time_limit, packing_upper)
|
|
21
25
|
if not np.isfinite(time_limit) or time_limit <= 0:
|
|
22
26
|
raise ValueError("certification time limit must be finite and positive")
|
|
23
27
|
started = time.monotonic()
|