pymdkit 1.7.8__tar.gz → 1.7.9__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.8 → pymdkit-1.7.9}/CHANGELOG.md +13 -0
- {pymdkit-1.7.8/src/pymdkit.egg-info → pymdkit-1.7.9}/PKG-INFO +252 -46
- {pymdkit-1.7.8 → pymdkit-1.7.9}/README.md +250 -45
- {pymdkit-1.7.8 → pymdkit-1.7.9}/pyproject.toml +2 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/__init__.py +1 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_cifio.py +4 -3
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_extxyz.py +3 -1
- pymdkit-1.7.9/src/pymdkit/commands/_fileio.py +268 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_gpumd_final_structure.py +12 -5
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_gpumd_msd.py +60 -16
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_gpumd_thermo.py +18 -4
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_ionhop.py +53 -28
- pymdkit-1.7.9/src/pymdkit/commands/_msd_arrhenius.py +84 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_auto.py +10 -2
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_coordinates.py +7 -3
- pymdkit-1.7.9/src/pymdkit/commands/_msd_elements.py +64 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_fit.py +85 -35
- pymdkit-1.7.9/src/pymdkit/commands/_msd_plot.py +65 -0
- pymdkit-1.7.9/src/pymdkit/commands/_msd_provenance.py +57 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_reuse.py +389 -268
- pymdkit-1.7.9/src/pymdkit/commands/_msd_summary.py +207 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_precision.py +6 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_pred_msd_reference.py +4 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_reduction.py +17 -9
- pymdkit-1.7.9/src/pymdkit/commands/_submit.py +165 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_submit_vasp.py +30 -13
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_symmetry.py +8 -16
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_vasp_ehull.py +2 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_vasp_final_structure.py +7 -2
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_vasp_nep.py +22 -17
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_vaspset.py +47 -17
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/chemsys_entry.py +12 -3
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/compute_rmsd.py +5 -6
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/convert.py +39 -21
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/dope.py +20 -16
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/ewald.py +37 -9
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/gpumd_job.py +152 -18
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/msd.py +272 -121
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/nep_rmse.py +11 -7
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/perturb.py +9 -2
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/rd.py +6 -2
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/realloc_occ.py +13 -14
- pymdkit-1.7.9/src/pymdkit/commands/submit.py +171 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/supercell.py +14 -5
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/trjconv.py +15 -6
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/vasp_job.py +9 -41
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/vasp_out.py +2 -3
- pymdkit-1.7.9/src/pymdkit/commands/zip_traj.py +289 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/pymdkit_main.py +77 -35
- {pymdkit-1.7.8 → pymdkit-1.7.9/src/pymdkit.egg-info}/PKG-INFO +252 -46
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit.egg-info/SOURCES.txt +8 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit.egg-info/requires.txt +1 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_config_logging.py +22 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_dope_optimize.py +6 -3
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_gpumd_job_fixes.py +3 -3
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_gpumd_out.py +20 -1
- pymdkit-1.7.9/tests/test_incremental_batch.py +247 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_ionhop.py +15 -2
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_fit.py +4 -3
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_large.py +63 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_phase3.py +3 -3
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_reuse.py +54 -10
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_pred_msd_time.py +8 -0
- pymdkit-1.7.9/tests/test_release179.py +286 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_submit.py +78 -1
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_v165.py +23 -2
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_v170_job_infrastructure.py +350 -350
- pymdkit-1.7.9/tests/test_zip_traj.py +401 -0
- pymdkit-1.7.8/src/pymdkit/commands/_fileio.py +0 -113
- pymdkit-1.7.8/src/pymdkit/commands/_msd_provenance.py +0 -27
- pymdkit-1.7.8/src/pymdkit/commands/_submit.py +0 -91
- pymdkit-1.7.8/src/pymdkit/commands/submit.py +0 -115
- {pymdkit-1.7.8 → pymdkit-1.7.9}/LICENSE +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/MANIFEST.in +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/setup.cfg +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/_config.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/_logging.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/__init__.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_dope_certify.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_dope_exact.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_dope_graph.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_dope_optimize.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_geometry.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_gpumd.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_gpumd_run.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_gpumd_status.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_lattice.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_conductivity.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_io.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_range.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_thermo.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_msd_uncertainty.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_oxidation.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_parallel.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_pred_msd_plan.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_supercell.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/_vasp_output.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/config.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/gpumd_out.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/ionhop.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit/commands/pred_msd_time.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit.egg-info/dependency_links.txt +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit.egg-info/entry_points.txt +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/src/pymdkit.egg-info/top_level.txt +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/data/88-Li2YCl3-63-d1.cif +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_convert.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_dope_certify.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_dope_graph.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_dope_performance.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_ehull.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_lattice_symmetry.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_auto.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_range.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_uncertainty.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_msd_wrapped.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_parallel.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_progress.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_realloc_occ.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_rmsd_gpu.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_rmsd_max.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_rmsd_two_folder.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_v170_vasp_consolidation.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_v172_vasp_writing.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_vasp_nep_bec.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_vasp_out.py +0 -0
- {pymdkit-1.7.8 → pymdkit-1.7.9}/tests/test_vaspset.py +0 -0
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.7.9
|
|
4
|
+
|
|
5
|
+
- Preserve existing independent batch results and append command logs away from input and output paths.
|
|
6
|
+
- Merge MSD summaries by directory and element with rollback across the public tables, provenance index and Arrhenius files. Fit diffusion and NE conductivity from compatible accumulated production-temperature observations.
|
|
7
|
+
- Prevent duplicate GPUMD submissions, preserve conflicting submission scripts, and retain VASP restart outputs and scheduler ID history.
|
|
8
|
+
- Merge new ionhop, Ewald and GPUMD SDC summary rows while preserving earlier batch records.
|
|
9
|
+
- Add element-resolved MSD, species-specific Nernst–Einstein conductivity, and headless plots.
|
|
10
|
+
- Use independent dyadic power-law fitting domains for WLS and GLS and report exclusion sensitivity.
|
|
11
|
+
- Retain positions, groups and velocities by default in GPUMD jobs and add staged pre-production handoff.
|
|
12
|
+
- Audit MSD whole-system mass-weighted COM across wrapped, unwrapped, segmented and element-resolved paths. Record the algorithm in provenance and reject explicitly incompatible reuse.
|
|
13
|
+
- Add `pmk zip-traj` for recursive or single-file Zstandard compression and restoration with byte-count, SHA-256 and frame-checksum verification.
|
|
14
|
+
- Fix negative atom counts that can stall the raw XYZ frame reader and reject nonfinite time inputs in `trjconv`. Protect explicitly named trajectory files from command-log collisions.
|
|
15
|
+
|
|
3
16
|
## 1.7.8
|
|
4
17
|
|
|
5
18
|
- Validate wrapped-only GPUMD schemas, preserve streaming MIC reconstruction and COM semantics, and record coordinate provenance and sampling diagnostics.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pymdkit
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.9
|
|
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
|
|
@@ -24,6 +24,7 @@ Requires-Dist: dpdata
|
|
|
24
24
|
Requires-Dist: matplotlib
|
|
25
25
|
Requires-Dist: umap-learn
|
|
26
26
|
Requires-Dist: tqdm
|
|
27
|
+
Requires-Dist: zstandard>=0.23
|
|
27
28
|
Provides-Extra: gpu-cuda12
|
|
28
29
|
Requires-Dist: cupy-cuda12x; extra == "gpu-cuda12"
|
|
29
30
|
Dynamic: license-file
|
|
@@ -37,7 +38,39 @@ materials design. Install `pymdkit` once and call its tools from anywhere as
|
|
|
37
38
|
Commands expose explicit, documented CLI interfaces designed for reproducible shell,
|
|
38
39
|
HPC, and AI-agent workflows, and each underlying script is still runnable on its own.
|
|
39
40
|
|
|
40
|
-
## 1.7.
|
|
41
|
+
## 1.7.9 release notes
|
|
42
|
+
|
|
43
|
+
Element-resolved MSD, species-specific NE conductivity, headless plots and
|
|
44
|
+
independent binary WLS/GLS plateau fitting are available. GPUMD jobs add PGV
|
|
45
|
+
filtering and transactional pre-production handoff. See the
|
|
46
|
+
[development report](reports/1.7.9/PYMDKIT_1.7.9_DEVELOPMENT_REPORT.md).
|
|
47
|
+
|
|
48
|
+
MSD provenance now identifies the whole-system mass-weighted COM correction.
|
|
49
|
+
`pmk zip-traj` provides verified lossless trajectory compression and
|
|
50
|
+
decompression. The project audit also fixed negative XYZ atom counts and
|
|
51
|
+
nonfinite `trjconv` time inputs. See the
|
|
52
|
+
[1.7.9 audit and compression report](reports/1.7.9/PYMDKIT_1.7.9_PROJECT_AUDIT_ZIP_TRAJ_REPORT.md).
|
|
53
|
+
|
|
54
|
+
### Batch processing and result preservation
|
|
55
|
+
|
|
56
|
+
Batch writers preserve existing independent structures, trajectories, plots and
|
|
57
|
+
calculation results by default. A job with existing files is reported explicitly.
|
|
58
|
+
`pmk msd` reuses results when their provenance verifies the inputs, outputs and
|
|
59
|
+
analysis settings. Handle incompatible or incomplete results manually before
|
|
60
|
+
retrying the affected job. Command logs append to their previous contents and
|
|
61
|
+
use a separate name when an operand occupies the default log path.
|
|
62
|
+
|
|
63
|
+
MSD merges previously published rows with newly calculated or verified rows.
|
|
64
|
+
Relative directory paths and, where applicable, element names identify records.
|
|
65
|
+
The tables sort by numeric production temperature, path and element. Failed or
|
|
66
|
+
incompatible jobs leave the previous summaries and fits in place. MSD stores
|
|
67
|
+
full-precision, provenance-backed observations in `.pmk_msd_index.json` alongside
|
|
68
|
+
the public tables. Keep this file with the summaries to use accumulated
|
|
69
|
+
observations whose calculation directories are outside future scans.
|
|
70
|
+
See the [1.7.9 incremental batch report](reports/1.7.9/PYMDKIT_1.7.9_INCREMENTAL_BATCH_ARRHENIUS_REPORT.md)
|
|
71
|
+
for command coverage and validation.
|
|
72
|
+
|
|
73
|
+
### Previous 1.7.8 improvements
|
|
41
74
|
|
|
42
75
|
Wrapped-only GPUMD trajectories now receive strict schema validation, a sampling
|
|
43
76
|
warning, and versioned coordinate provenance. Explicit unwrapped trajectories
|
|
@@ -100,7 +133,7 @@ outputs. Optional threadpoolctl limits numerical threads within each worker.
|
|
|
100
133
|
## 1.7.3 release notes
|
|
101
134
|
|
|
102
135
|
- `pmk msd` analyzes GPUMD trajectories from fixed-cell NVT production. OLS is
|
|
103
|
-
the default
|
|
136
|
+
the default with a free intercept; WLS/GLS now fit a binary diffusivity plateau. Forced-origin
|
|
104
137
|
fitting has been removed from production. Changing-cell MSD is outside scope.
|
|
105
138
|
- `pmk pred-msd-time` uses validated free-intercept OLS references for
|
|
106
139
|
higher-temperature Li transport and production-time planning. The duration
|
|
@@ -122,7 +155,7 @@ pip install pymdkit
|
|
|
122
155
|
This installs the `pmk` command into the active Python or conda environment,
|
|
123
156
|
together with its direct dependencies, including ASE, pymatgen, py4vasp-core,
|
|
124
157
|
h5py,
|
|
125
|
-
dpdata, matplotlib, UMAP, and
|
|
158
|
+
dpdata, matplotlib, UMAP, tqdm, and zstandard. Some packages also install transitive
|
|
126
159
|
dependencies.
|
|
127
160
|
|
|
128
161
|
### Optional CUDA 12 GPU support
|
|
@@ -158,7 +191,7 @@ installed.
|
|
|
158
191
|
On a machine with Internet access, run:
|
|
159
192
|
|
|
160
193
|
```bash
|
|
161
|
-
python -m pip download pymdkit==1.7.
|
|
194
|
+
python -m pip download pymdkit==1.7.9 -d pymdkit-offline
|
|
162
195
|
```
|
|
163
196
|
|
|
164
197
|
This downloads `pymdkit` and the dependencies resolved by pip into the
|
|
@@ -166,14 +199,14 @@ This downloads `pymdkit` and the dependencies resolved by pip into the
|
|
|
166
199
|
system. Then, inside the target pymdkit Python or conda environment, run:
|
|
167
200
|
|
|
168
201
|
```bash
|
|
169
|
-
python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.
|
|
202
|
+
python -m pip install --no-index --find-links=pymdkit-offline pymdkit==1.7.9
|
|
170
203
|
```
|
|
171
204
|
|
|
172
205
|
For optional GPU use, prepare the bundle on a networked machine compatible with
|
|
173
206
|
the target HPC platform and Python environment:
|
|
174
207
|
|
|
175
208
|
```bash
|
|
176
|
-
python -m pip download "pymdkit[gpu-cuda12]==1.7.
|
|
209
|
+
python -m pip download "pymdkit[gpu-cuda12]==1.7.9" -d pymdkit-offline
|
|
177
210
|
```
|
|
178
211
|
|
|
179
212
|
Transfer the whole `pymdkit-offline` directory, then install from it on the
|
|
@@ -181,7 +214,7 @@ target system:
|
|
|
181
214
|
|
|
182
215
|
```bash
|
|
183
216
|
python -m pip install --no-index --find-links=pymdkit-offline \
|
|
184
|
-
"pymdkit[gpu-cuda12]==1.7.
|
|
217
|
+
"pymdkit[gpu-cuda12]==1.7.9"
|
|
185
218
|
```
|
|
186
219
|
|
|
187
220
|
This GPU bundle includes the optional `cupy-cuda12x` package. Its wheels must also
|
|
@@ -243,8 +276,9 @@ file. Values registered by a command as sensitive are shown as `<redacted>` in
|
|
|
243
276
|
the logged command line. The log stays in the invocation directory even when a
|
|
244
277
|
command changes the working directory or `-of` selects an output folder.
|
|
245
278
|
|
|
246
|
-
Command help (`pmk <command> -h` or `-help`)
|
|
247
|
-
|
|
279
|
+
Command help (`pmk <command> -h` or `-help`) and argument parsing errors exit
|
|
280
|
+
before loading configuration or writing an execution log. Argument parsing
|
|
281
|
+
errors are printed to stderr. Scientific result files such as `rmsd.txt`,
|
|
248
282
|
`ehull.txt`, `d2o.txt`, and quantity reports remain separate command-owned
|
|
249
283
|
artifacts; their contents are never merged into the execution log.
|
|
250
284
|
|
|
@@ -265,6 +299,7 @@ preserve occupancy, oxidation, symmetry, and Wyckoff metadata.
|
|
|
265
299
|
| `pred-msd-time` | Predict Li conductivity, diffusion and NVT production durations from GPUMD MSD |
|
|
266
300
|
| `gpumd-out` | Export GPUMD thermo/MSD results or gather final structures |
|
|
267
301
|
| `ionhop` | Count completed Li site hops and report nearest-neighbor hop frequencies from GPUMD trajectories |
|
|
302
|
+
| `msd` | Calculate atom-resolved mean squared displacement, self-diffusion, and optional Nernst–Einstein conductivity |
|
|
268
303
|
| `mp-chemsys` | Download stable Materials Project structures for a chemical system |
|
|
269
304
|
| `nep-rmse` | Compute NEP energy/force/stress RMSE and select candidates |
|
|
270
305
|
| `perturb` | Generate perturbed structures with dpdata |
|
|
@@ -276,6 +311,7 @@ preserve occupancy, oxidation, symmetry, and Wyckoff metadata.
|
|
|
276
311
|
| `trjconv` | Extract or stride trajectory frames by frame number or physical time |
|
|
277
312
|
| `vasp-job` | Create or inspect VASP jobs |
|
|
278
313
|
| `vasp-out` | Extract VASP quantities, compute E_hull, build NEP data, or gather final structures |
|
|
314
|
+
| `zip-traj` | Compress or restore trajectory bytes with a verified Zstandard frame |
|
|
279
315
|
|
|
280
316
|
## Examples
|
|
281
317
|
|
|
@@ -291,8 +327,8 @@ pmk supercell -i model.vasp -o model-sc.vasp -matrix 1x1x2
|
|
|
291
327
|
pmk supercell -if structures -of capped -max-abc 40
|
|
292
328
|
pmk supercell -if structures -of close -close-abc 50
|
|
293
329
|
|
|
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 -
|
|
295
|
-
pmk gpumd-job -it train.xyz -supercell-matrix 2x2x2 -nep nep.txt -group Li Y Cl -
|
|
330
|
+
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 -pgv-only no
|
|
331
|
+
pmk gpumd-job -it train.xyz -supercell-matrix 2x2x2 -nep nep.txt -group Li Y Cl -pgv-only no
|
|
296
332
|
pmk submit -gpumd
|
|
297
333
|
pmk submit -gpumd -subscript custom_gpumd.pbs -queue pbs -max-job-num 30
|
|
298
334
|
|
|
@@ -454,15 +490,31 @@ and `-in` default to `nep.txt` and `run.in` in the invocation directory. Each
|
|
|
454
490
|
job receives `model.xyz` as extxyz, the potential as `nep.txt`, and the input as
|
|
455
491
|
`run.in`; the `potential` line is synchronized to `nep.txt`. With `-temp`, PMK
|
|
456
492
|
creates `<structure>/<T>/` and replaces every `target_t` token with T.
|
|
457
|
-
`-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
493
|
+
`-pgv-only yes` is the default: retain species, positions, group (if present)
|
|
494
|
+
and velocity. ASE momenta become GPUMD `vel` in Angstrom/fs. Custom `vel`,
|
|
495
|
+
`velocity`, `velocities` arrays are interpreted as Angstrom/fs in that priority
|
|
496
|
+
order. Cell, PBC and atom order survive; unrelated properties and header metadata
|
|
497
|
+
are omitted. `-pgv-only no` uses the full-property writer. Deprecated
|
|
498
|
+
`-pos-only yes` still means positions only and emits a warning.
|
|
499
|
+
|
|
500
|
+
```bash
|
|
501
|
+
pmk gpumd-job -pre-prod ../1-pre-prod -in run.in
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
This mode discovers immediate numeric temperature directories (optional K suffix),
|
|
505
|
+
validates every source and destination, and copies each single-frame `dump.xyz`
|
|
506
|
+
byte-for-byte to `model.xyz` alongside `nep.txt`. Explicitly export a single desired
|
|
507
|
+
structure first if a dump has multiple frames. Active `target_t` tokens become
|
|
508
|
+
the directory temperature; comments remain intact and potential paths become
|
|
509
|
+
`nep.txt`. Missing files, duplicate temperatures, existing destinations or no
|
|
510
|
+
active placeholder fail before writing. Write failures roll back created jobs.
|
|
511
|
+
No additional structure or potential input is required. This mode conflicts with
|
|
512
|
+
structure inputs, supercell options, `-group`, `-temp`, `-msd-time`, `-status`;
|
|
513
|
+
PGV filtering does not apply to direct copies.
|
|
462
514
|
|
|
463
515
|
```bash
|
|
464
516
|
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 -
|
|
517
|
+
pmk gpumd-job -if opted-vasp -nep nep.txt -in run.in -temp 300 400 500 600 -pgv-only no
|
|
466
518
|
```
|
|
467
519
|
|
|
468
520
|
Explicit `npt_scr` pressure tokens, including zero and scientific notation, are
|
|
@@ -507,9 +559,15 @@ are saved in `.pmk-job-id`. User-facing job names are relative to the invocation
|
|
|
507
559
|
directory, and execution details are recorded in `submit.log`.
|
|
508
560
|
|
|
509
561
|
`submit -gpumd` recursively submits only folders containing `model.xyz`,
|
|
510
|
-
`run.in`, and `nep.txt`. It
|
|
511
|
-
|
|
512
|
-
|
|
562
|
+
`run.in`, and `nep.txt`. It skips directories with a valid saved scheduler ID
|
|
563
|
+
or existing GPUMD outputs. Existing submission scripts are reused when their
|
|
564
|
+
bytes match. A script conflict is reported for its directory and other jobs can
|
|
565
|
+
continue. VASP checks saved IDs against the scheduler and retains its
|
|
566
|
+
convergence-aware restart rules. A restart archives the previous job ID,
|
|
567
|
+
recognized outputs and, for relaxation, the input POSCAR and restart files
|
|
568
|
+
before updating the in-place restart inputs. `vasp-job -status` still reads
|
|
569
|
+
the current `.pmk-job-id`. An interrupted submission with uncertain scheduler
|
|
570
|
+
acceptance leaves `.pmk-submit-lock` for manual reconciliation.
|
|
513
571
|
|
|
514
572
|
### GPUMD outputs
|
|
515
573
|
|
|
@@ -526,9 +584,8 @@ pmk gpumd-out -save-fs [-entry-path DIR] [-fs-name FILENAME] (-of DIR | -output-
|
|
|
526
584
|
`pressure.txt`, `lattice-parameters.txt`, `volume.txt`, `lattice-angles.txt`,
|
|
527
585
|
and the six-panel `thermo.png`. Abnormal-fluctuation diagnostics remain in
|
|
528
586
|
console warnings and `gpumd-out.log`; the plot has no abnormal-region shading
|
|
529
|
-
or legend. Thermo mode
|
|
530
|
-
|
|
531
|
-
plot. MSD mode defaults
|
|
587
|
+
or legend. Thermo mode preserves earlier `abnormal-time.txt` files and skips
|
|
588
|
+
jobs whose thermo export paths already exist. MSD mode defaults
|
|
532
589
|
to mobile ion `Li` with charge `1`, writes
|
|
533
590
|
`sigma-sdc-summary.txt` at the entry root, and preserves each job's
|
|
534
591
|
`msd/group_*_msd.txt`, `group_*_sdc.txt`, and `group_*_results.txt`.
|
|
@@ -954,6 +1011,65 @@ Every command module still works directly, which is handy for debugging:
|
|
|
954
1011
|
```bash
|
|
955
1012
|
python src/pymdkit/commands/supercell.py -i in.cif -close-abc 20 -o sc.vasp
|
|
956
1013
|
```
|
|
1014
|
+
## Trajectory compression and decompression
|
|
1015
|
+
|
|
1016
|
+
`pmk zip-traj` archives GPUMD extended XYZ and other files as a standard
|
|
1017
|
+
Zstandard frame. It preserves every byte, including decimal precision,
|
|
1018
|
+
`Lattice`, `Properties`, `unwrapped_position`, groups, IDs, timestamps,
|
|
1019
|
+
custom fields, and line endings. It uses the Python `zstandard` package.
|
|
1020
|
+
|
|
1021
|
+
```powershell
|
|
1022
|
+
pmk zip-traj -it dump.xyz
|
|
1023
|
+
pmk zip-traj -it ./dump.xyz
|
|
1024
|
+
pmk zip-traj -it "350/dump.xyz" -level 3 -threads 4
|
|
1025
|
+
pmk zip-traj -it "350/dump.xyz.zst" -d
|
|
1026
|
+
pmk zip-traj -it "350/dump.xyz.zst" -d -o restored.xyz
|
|
1027
|
+
```
|
|
1028
|
+
|
|
1029
|
+
| Option | Meaning |
|
|
1030
|
+
|---|---|
|
|
1031
|
+
| `-it`, `-input-trajectory` | Bare filename for a recursive search, or an explicit path for one file. Defaults to `dump.xyz`. |
|
|
1032
|
+
| `-d`, `-decompress` | Restore a checksummed Zstandard frame. The default output removes the `.zst` suffix. |
|
|
1033
|
+
| `-o`, `-output` | Output path with an explicit input path. |
|
|
1034
|
+
| `-level` | Compression level from 1 through 22, default 3. |
|
|
1035
|
+
| `-threads` | Number of compression workers. The default 0 compresses synchronously. |
|
|
1036
|
+
|
|
1037
|
+
A bare filename such as `dump.xyz` searches the current directory and its
|
|
1038
|
+
subdirectories, even when the current directory contains a match. The search
|
|
1039
|
+
matches the exact, case-sensitive filename and processes matches in path
|
|
1040
|
+
order. It skips directory links and Windows junctions, linked file aliases
|
|
1041
|
+
and duplicate file identities, and directories such as `.git`, virtual
|
|
1042
|
+
environments, caches, `build` and `dist`. An explicit path such as `./dump.xyz`,
|
|
1043
|
+
`.\dump.xyz` or an absolute path selects one file.
|
|
1044
|
+
|
|
1045
|
+
Compression creates `<input>.zst` beside each input by default. An existing
|
|
1046
|
+
output is preserved and reported as `SKIPPED_EXISTING` with the message
|
|
1047
|
+
`not verified by this run`. The summary counts `Verified`, `Skipped existing`
|
|
1048
|
+
and `Failed` separately. File failures, including publication races, produce
|
|
1049
|
+
a nonzero exit status while independent inputs continue. A run with only
|
|
1050
|
+
verified and skipped-existing files exits with status 0 if the scan completed
|
|
1051
|
+
without errors. Ctrl+C stops the batch and removes the current staged output.
|
|
1052
|
+
The command records details in `zip-traj.log` or uses a numbered log when
|
|
1053
|
+
that path is shared by an input or output.
|
|
1054
|
+
|
|
1055
|
+
Compression streams raw bytes and computes the byte count and SHA-256. Before
|
|
1056
|
+
publishing the output, it streams the staged archive through decompression,
|
|
1057
|
+
checks the frame checksum, and compares both the count and SHA-256. Successful
|
|
1058
|
+
compression reports `VERIFIED`. Decompression checks the frame checksum and
|
|
1059
|
+
reports the restored SHA-256 for comparison with the compression log. It
|
|
1060
|
+
accepts one complete standard frame with a content checksum and rejects
|
|
1061
|
+
truncation, corruption and trailing data. Both operations stage output beside
|
|
1062
|
+
its destination, publish atomically when checks pass, and preserve the input.
|
|
1063
|
+
Linux filesystems must support hard links in the output directory. Use a
|
|
1064
|
+
completed trajectory and allow disk space for the staged output.
|
|
1065
|
+
|
|
1066
|
+
On Windows, the 300 K, 40 ns Li₄YI₇ trajectory compressed from 18.71 GB to
|
|
1067
|
+
8.50 GB at level 3 (54.59% saved). Compression and output synchronization took
|
|
1068
|
+
111.08 s. Streamed decompression and verification took 34.12 s. Peak process
|
|
1069
|
+
working set was 43.02 MiB. An independent stream confirmed the same byte count
|
|
1070
|
+
and SHA-256. These measurements apply to this file and machine. See the
|
|
1071
|
+
[benchmark and reproducibility details](reports/1.7.9/PYMDKIT_1.7.9_PROJECT_AUDIT_ZIP_TRAJ_REPORT.md).
|
|
1072
|
+
|
|
957
1073
|
## Atomic trajectory MSD
|
|
958
1074
|
|
|
959
1075
|
```bash
|
|
@@ -971,7 +1087,8 @@ subdirectories are searched deterministically, excluding generated `msd`, hidden
|
|
|
971
1087
|
environment and build directories. Each calculation needs `model.xyz`, `run.in`
|
|
972
1088
|
and the native full-system trajectory named by `dump_xyz`, or `dump.xyz` from
|
|
973
1089
|
legacy `dump_exyz interval velocity_flag force_flag`. Group selection uses the
|
|
974
|
-
first grouping method in `model.xyz`.
|
|
1090
|
+
first grouping method in `model.xyz`. `-group` is optional; omission selects all atoms.
|
|
1091
|
+
Missing group labels are an error only when a group is requested.
|
|
975
1092
|
|
|
976
1093
|
Both `dump_xyz interval filename properties...` and GPUMD 4.2's
|
|
977
1094
|
`dump_xyz grouping_method group_id interval filename properties...` are supported.
|
|
@@ -988,7 +1105,12 @@ This is the mean of individual atomic squared displacements, **not group-COM
|
|
|
988
1105
|
MSD**. Every frame is streamed through a native GPUMD numeric parser (other
|
|
989
1106
|
extxyz schemas retain the ASE fallback), then selected coordinates are stored
|
|
990
1107
|
in a temporary float64 memmap. All system atoms contribute to mass-weighted COM
|
|
991
|
-
displacement removal using ASE tabulated atomic masses.
|
|
1108
|
+
displacement removal using ASE tabulated atomic masses. For every frame, the
|
|
1109
|
+
correction is the sum of each atom's mass times its unwrapped displacement
|
|
1110
|
+
from the first analyzed frame, divided by the total system mass. The correction
|
|
1111
|
+
is applied once, before selecting the group or element. A trajectory segment
|
|
1112
|
+
uses its own first frame, and multi-element analysis shares the corrected
|
|
1113
|
+
coordinates. Species order, atom count,
|
|
992
1114
|
PBC flags, and group/ID columns (when present) are checked against the model.
|
|
993
1115
|
Native GPUMD full-system row ordering is required: externally sorted same-element
|
|
994
1116
|
atoms without stable IDs cannot be identified and must not be supplied.
|
|
@@ -1064,13 +1186,60 @@ pmk msd -group 0 -ne --fit-window auto
|
|
|
1064
1186
|
pmk msd -group 0 -ne -fit-range 500 1200
|
|
1065
1187
|
```
|
|
1066
1188
|
|
|
1067
|
-
Optional `-fit-method wls` and `-fit-method gls`
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1189
|
+
Optional `-fit-method wls` and `-fit-method gls` use consecutive non-overlapping
|
|
1190
|
+
blocks at dyadic lags `tau_i=2**i*dt`. Errors use ddof=1 across particle-averaged
|
|
1191
|
+
block diffusivities MSD/(2*d*tau). Both fit
|
|
1192
|
+
`D_inf*(1-b*(tau/tau_ref)**(-c))`. Automatic selection uses the existing Moustafa
|
|
1193
|
+
criterion with at least four tail points, independently of the OLS window.
|
|
1194
|
+
Manual `-fit-range` maps to valid binary levels and needs at least four points.
|
|
1195
|
+
No overlapping blocks are invented. `--binary-discard-longest 3` is a configurable
|
|
1196
|
+
application default; neighboring settings are recorded as sensitivity, not a CI.
|
|
1197
|
+
Constant/no-tail data or an unidentifiable power law can legitimately fail.
|
|
1198
|
+
|
|
1199
|
+
WLS ignores off-diagonal covariance; GLS uses `R_ij=2**(-abs(i-j)/2)` with original
|
|
1200
|
+
binary indices. Cholesky whitening and condition checks use standardized
|
|
1201
|
+
correlation, without jitter, regularization or estimator fallback. Diagnostics
|
|
1202
|
+
include levels, blocks, errors, interval, residuals, reduced chi-square and
|
|
1203
|
+
tail/plateau counts. Weighted total D fits the pooled 3D curve; separately fitted
|
|
1204
|
+
axes on the same domain may be unavailable (NaN) and need not average to total D.
|
|
1205
|
+
|
|
1206
|
+
The [2024 binary covariance](https://doi.org/10.1063/5.0188081) assumes Wiener-like
|
|
1207
|
+
dynamics and the stated sampling scheme, and is not validated here for interacting
|
|
1208
|
+
ionic solids. It is separate from [Bullerjahn's 2020 all-origin/static-noise
|
|
1209
|
+
model](https://doi.org/10.1063/5.0008312). No unconditional chi-square or KS hard
|
|
1210
|
+
threshold is introduced. [MDTransport](https://doi.org/10.1021/acs.jcim.6c00558)
|
|
1211
|
+
provides additional species/beta context, without copying empirical thresholds.
|
|
1212
|
+
OLS retains its free intercept, positive-intercept model-consistency diagnostic,
|
|
1213
|
+
three-segment slopes and window sensitivity. Raw beta alone is not physical proof
|
|
1214
|
+
of anomalous diffusion. `--uncertainty covariance` remains OLS-only; binary errors
|
|
1215
|
+
are conditional local-Jacobian approximations, not validation of the regime.
|
|
1216
|
+
|
|
1217
|
+
```bash
|
|
1218
|
+
pmk msd -element Li -ne Li
|
|
1219
|
+
pmk msd -element all -ne Li
|
|
1220
|
+
pmk msd -group 0 -element all -ne Li
|
|
1221
|
+
pmk msd -element Li -ne Li -fit-method gls --binary-discard-longest 3
|
|
1222
|
+
```
|
|
1223
|
+
|
|
1224
|
+
`-element all` (default) analyzes each chemical element independently; symbols
|
|
1225
|
+
are case-normalized. Invalid/absent elements and `-element Li -ne Na` fail.
|
|
1226
|
+
Whole-system ASE-mass COM correction happens once before species selection.
|
|
1227
|
+
Single-element results keep the flat `msd/` layout. Multiple elements use
|
|
1228
|
+
`msd/elements/<Element>/`, each with raw MSD, diagnostics and its own fit interval.
|
|
1229
|
+
Rejected non-NE species retain raw data with unavailable D without blocking valid
|
|
1230
|
+
NE output. Only the requested species contributes its D and count to conductivity.
|
|
1231
|
+
Root `sigma.txt` and `sigma-total.txt` describe that species. Element summaries
|
|
1232
|
+
are `self-diff-by-element.txt`, `self-diff-by-element-total.txt`, and
|
|
1233
|
+
`msd-quality-by-element-total.txt`. Single-species numeric columns are unchanged.
|
|
1234
|
+
Aggregate publication and Arrhenius output share one rollback transaction.
|
|
1235
|
+
Completed compatible runs can be reused, including rejected non-NE diagnostics.
|
|
1236
|
+
Changed inputs/settings require moving existing results aside before recalculation.
|
|
1237
|
+
|
|
1238
|
+
Every saved `msd.txt` is read back for a 300 dpi `msd.tif` using Matplotlib Agg. Positive
|
|
1239
|
+
time/MSD values appear on log-log axes with x/y/z/total curves and the actual
|
|
1240
|
+
method's fitting interval, element, method, D, beta and quality. Rejected candidates
|
|
1241
|
+
are labeled. Plot failures emit a separate warning and retain raw MSD. Figures
|
|
1242
|
+
are closed after saving.
|
|
1074
1243
|
|
|
1075
1244
|
`-trajectory-range START END` selects a separate saved-trajectory subset in ns,
|
|
1076
1245
|
using the half-open interval `[START, END)` relative to the first original
|
|
@@ -1129,10 +1298,14 @@ request. Temporary coordinate storage is removed when the calculation ends.
|
|
|
1129
1298
|
|
|
1130
1299
|
When the result directory is absent, `pmk msd` calculates it. When a compatible
|
|
1131
1300
|
result already exists, the command reuses its full-precision coefficients and
|
|
1132
|
-
quality without reading trajectory coordinates
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1301
|
+
quality without reading trajectory coordinates. It checks version-1 provenance,
|
|
1302
|
+
input and output sizes and modification times, grouping method 0, atom counts,
|
|
1303
|
+
run cadence, fit settings, selected window, and diagnostic and coefficient
|
|
1304
|
+
totals. New single and multi-element results record `whole-system mass-weighted COM`
|
|
1305
|
+
with algorithm version `1`. Explicitly different methods or versions invalidate
|
|
1306
|
+
reuse. Earlier results using the same COM retain the existing legacy checks.
|
|
1307
|
+
A missing `msd.tif` is regenerated from validated `msd.txt` and its
|
|
1308
|
+
plot fingerprint is recorded in provenance. With `-ne` it also checks the
|
|
1136
1309
|
charge and thermodynamic inputs and recomputes the stored conductivity from
|
|
1137
1310
|
full-precision D, temperature, volume, and ion count. Primary 1.7.4 results
|
|
1138
1311
|
can be reused when diagnostics establish compatibility, including the effective
|
|
@@ -1212,8 +1385,8 @@ original inputs/results before and after, regenerates missing diagnostics,
|
|
|
1212
1385
|
reads the original trajectory and removes temporary coordinates. Normal tests
|
|
1213
1386
|
do not require this external dataset.
|
|
1214
1387
|
|
|
1215
|
-
After every directory is calculated or validated for reuse,
|
|
1216
|
-
with `-ne`, `sigma-total.txt` summarize directory, temperature (K), and the
|
|
1388
|
+
After every directory is calculated or validated for reuse, single-element
|
|
1389
|
+
`self-diff-total.txt` and, with `-ne`, `sigma-total.txt` summarize directory, temperature (K), and the
|
|
1217
1390
|
isotropic total D (cm²/s, `%.2e`) or conductivity (mS/cm, `%.2f`). Rows use
|
|
1218
1391
|
relative paths and sort by numeric temperature, then path. Summaries use internal
|
|
1219
1392
|
unrounded totals. NE uses measured mean production temperature; without NE a
|
|
@@ -1221,19 +1394,50 @@ single stationary production NVT target is required (ramps, multiple targets and
|
|
|
1221
1394
|
missing NVT targets produce an explicit error). Calculation or validation
|
|
1222
1395
|
failures return nonzero and preserve previous summaries. Unresolved templates
|
|
1223
1396
|
are skipped. A successful run without `-ne` can reuse diffusion from a
|
|
1224
|
-
compatible previous NE result and
|
|
1397
|
+
compatible previous NE result and retains any existing conductivity summary and fit.
|
|
1225
1398
|
Range runs reuse only the matching segment result and publish totals under
|
|
1226
1399
|
`root/msd/segments/START-ENDns/`, separately from full-trajectory root summaries.
|
|
1227
1400
|
The companion `msd-quality-total.txt` retains each directory's PASS/WARNING
|
|
1228
1401
|
status. In NE mode, a directory whose valid coefficients were retained despite
|
|
1229
1402
|
fit-quality rejection appears as WARNING and contributes to both numeric
|
|
1230
|
-
summaries.
|
|
1231
|
-
|
|
1403
|
+
summaries. A single-element rejection without `-ne` prevents publication of new
|
|
1404
|
+
aggregates. Multi-element aggregates identify rejected non-NE elements individually.
|
|
1405
|
+
|
|
1406
|
+
### Multi-temperature Arrhenius analysis
|
|
1407
|
+
|
|
1408
|
+
MSD writes `arrhenius-diff.txt` in the analysis root. With `-ne` it also writes
|
|
1409
|
+
`arrhenius-sigma.txt` for the selected mobile element. Multi-element diffusion
|
|
1410
|
+
fits are written under `arrhenius/<Element>/arrhenius-diff.txt`. Trajectory-range
|
|
1411
|
+
fits are stored alongside the corresponding range summaries.
|
|
1412
|
+
|
|
1413
|
+
The free-intercept OLS model uses `x = 1000/T` and `y = b + m*x`. It fits
|
|
1414
|
+
`ln(D)` for diffusion and `ln(sigma*T)` for conductivity. The prefactors are
|
|
1415
|
+
`D0 = exp(b)` in cm²/s and `A_sigma = exp(b)` in mS·K/cm, respectively. Each fit
|
|
1416
|
+
uses `Ea = -1000*m*k_B` in eV with `k_B = 8.617333262145e-5 eV/K`.
|
|
1417
|
+
`R² = 1 - sum((y - y_fit)^2) / sum((y - mean(y))^2)` is reported as `N/A`
|
|
1418
|
+
for a constant response.
|
|
1419
|
+
|
|
1420
|
+
Each eligible directory contributes one independent observation, including
|
|
1421
|
+
`500/`, `500-2/` and `500-3/` at the same temperature. Output rows sort by
|
|
1422
|
+
increasing `1000/T` and then by directory. The fit requires three distinct
|
|
1423
|
+
finite positive production temperatures with finite positive coefficients.
|
|
1424
|
+
The file lists included and excluded observations, the number of WARNING
|
|
1425
|
+
observations, the temperature range, total observations `N`, and distinct
|
|
1426
|
+
temperatures `N_T`. Insufficient data produces `N/A` parameters and
|
|
1427
|
+
`FIT_STATUS=INSUFFICIENT_DATA` while preserving any earlier valid fit.
|
|
1428
|
+
Material and analysis compatibility uses fingerprints of the starting model
|
|
1429
|
+
and available `nep.txt` along with group, element, charge and fitting settings.
|
|
1430
|
+
Historical rows without verified compatibility stay in the public summaries
|
|
1431
|
+
and are reported as excluded from the fit. The exact starting-model fingerprint
|
|
1432
|
+
can exclude simulations initialized with separately generated models.
|
|
1433
|
+
In a multi-element run, `sigma-total.txt` adds an `Element` column after the
|
|
1434
|
+
existing numeric columns so the conductivity species is explicit.
|
|
1232
1435
|
See [the automatic-fit report](devtools/MSD_AUTO_FIT_REPORT.md) for validation,
|
|
1233
1436
|
and [the intercept/stability update](devtools/MSD_AUTO_FIT_PHASE4A1_REPORT.md)
|
|
1234
1437
|
for the current policy, 500 K MSD comparison and limitations.
|
|
1235
1438
|
|
|
1236
|
-
`-ne` requires
|
|
1439
|
+
`-ne ELEMENT` requires that element in the selection and `thermo.out`.
|
|
1440
|
+
Bare `-ne` infers the element only for a single-element selection. The default
|
|
1237
1441
|
`-charge 1.0` is an explicit +1 formal-charge assumption, not inferred oxidation
|
|
1238
1442
|
state; negative charges are accepted and the sign cancels. The log records charge,
|
|
1239
1443
|
measured and target temperature, volume and fit diagnostics. Thermodynamic rows
|
|
@@ -1271,9 +1475,11 @@ directories, rejects duplicate integer temperatures, and processes complete
|
|
|
1271
1475
|
directories in numeric order. Use a plain prefix such as `LiYI7` to write
|
|
1272
1476
|
`LiYI7_300K_sites.csv`, `LiYI7_300K_jumps.csv`, and
|
|
1273
1477
|
`LiYI7_300K_summary.json` inside `300/`. After every trajectory succeeds it
|
|
1274
|
-
atomically
|
|
1275
|
-
and one temperature and frequency per row. Existing
|
|
1276
|
-
|
|
1478
|
+
atomically merges root `hop_freq.txt`, with header `Temp(K) Hop_freq(s-1)`
|
|
1479
|
+
and one temperature and frequency per row. Existing per-temperature files are
|
|
1480
|
+
skipped by default while new temperatures are processed. The existing
|
|
1481
|
+
`-overwrite` option explicitly replaces per-temperature outputs. A failed
|
|
1482
|
+
batch retains the prior table and any independently published results.
|
|
1277
1483
|
|
|
1278
1484
|
| Option | Default | Meaning |
|
|
1279
1485
|
|---|---|---|
|