📋 Command Reference
This page lists the stable GPUMDkit command-line shortcuts. Interactive mode is available for workflows with many choices.
The source table is maintained in docs/command_reference.tsv.
gpumdkit.sh -h Output
+-------------------------------------------------------------------------------------------------------+
| GPUMDkit 1.5.6 (dev) (2026-06-17) Command Help |
+-------------------------------------------------------------------------------------------------------+
| MAIN FUNCTIONS |
+-------------------------------------------------------------------------------------------------------+
| -h Show this help table | -plt <type> Plot and visualization tools |
| -calc <type> Calculator tools | -time <gpumd|nep> Time-consuming analyzer |
| -update Update GPUMDkit | -clean Clean extra files in current dir |
+-------------------------------------------------------------------------------------------------------+
| FORMAT CONVERSION |
+-------------------------------------------------------------------------------------------------------+
| -out2xyz OUTCAR -> extxyz (shell) | -out2exyz OUTCAR -> extxyz (python) |
| -cp2k2xyz CP2K log -> xyz | -xdat2exyz XDATCAR -> extxyz |
| -cif2pos cif -> POSCAR | -cif2exyz cif -> extxyz |
| -pos2exyz POSCAR -> extxyz | -exyz2pos extxyz -> POSCAR |
| -pos2lmp POSCAR -> LAMMPS data | -lmp2exyz LAMMPS dump -> extxyz |
| -traj2exyz ASE traj -> extxyz | -replicate Replicate structure |
| -addgroup Add group labels | -addweight Add structure weight in extxyz |
| -clean_xyz Clean extra info in extxyz | -get_frame Extract specific frame |
| -frame_range Extract frames by range | |
+-------------------------------------------------------------------------------------------------------+
| ANALYSIS |
+-------------------------------------------------------------------------------------------------------+
| -range Energy/force/virial statistics | -analyze_comp Analyze composition |
| -chem_species Analyze chemical species | -cbc Charge balance check |
| -min_dist Min distance (no PBC) | -min_dist_pbc Min distance with PBC |
| -filter_dist Filter by min_dist (no PBC) | -filter_dist_pbc Filter by min_dist (PBC) |
| -pda Probability density analysis | -filter_box Filter by box-edge length |
| -pynep Deprecated PyNEP sampling | -nep_modifier Modify NEP model interactively |
+-------------------------------------------------------------------------------------------------------+
| Detailed usage: gpumdkit.sh -<option> -h Plot details: gpumdkit.sh -plt <type> -h |
+-------------------------------------------------------------------------------------------------------+
Main
| Command |
Syntax |
Description |
-h |
gpumdkit.sh -h |
Show general help |
-update |
gpumdkit.sh -update |
Update GPUMDkit |
-clean |
gpumdkit.sh -clean |
Clean extra files in the current directory |
| Command |
Syntax |
Description |
-out2xyz |
gpumdkit.sh -out2xyz <dir> |
OUTCAR to extxyz, shell version |
-out2exyz |
gpumdkit.sh -out2exyz <dir> |
OUTCAR to extxyz, Python version |
-cp2k2xyz |
gpumdkit.sh -cp2k2xyz |
CP2K output to xyz/extxyz |
-xdat2exyz |
gpumdkit.sh -xdat2exyz <XDATCAR> <output.xyz> |
XDATCAR to extxyz |
-cif2pos |
gpumdkit.sh -cif2pos <input.cif> <output.vasp> |
CIF to POSCAR/VASP |
-cif2exyz |
gpumdkit.sh -cif2exyz <input.cif> <output.xyz> |
CIF to extxyz |
-pos2exyz |
gpumdkit.sh -pos2exyz <POSCAR> <output.xyz> |
POSCAR to extxyz |
-exyz2pos |
gpumdkit.sh -exyz2pos <input.xyz> |
extxyz frames to POSCAR files |
-pos2lmp |
gpumdkit.sh -pos2lmp <POSCAR> <output.data> |
POSCAR to LAMMPS data |
-lmp2exyz |
gpumdkit.sh -lmp2exyz <dump> <element...> |
LAMMPS dump to extxyz |
-traj2exyz |
gpumdkit.sh -traj2exyz <input.traj> <output.xyz> |
ASE trajectory to extxyz |
-replicate |
gpumdkit.sh -replicate <input> <output> a b c |
Replicate by cell factors |
-replicate |
gpumdkit.sh -replicate <input> <output> <target_num> |
Replicate toward a target atom count |
-addgroup |
gpumdkit.sh -addgroup <POSCAR> <element...> |
Add GPUMD group labels |
-addweight |
gpumdkit.sh -addweight <input.xyz> <output.xyz> <weight> |
Add structure weights |
-get_frame |
gpumdkit.sh -get_frame <input.xyz> <frame_index> |
Extract one frame |
-clean_xyz |
gpumdkit.sh -clean_xyz <input.xyz> <output.xyz> |
Remove extra extxyz properties |
-frame_range |
gpumdkit.sh -frame_range <input.xyz> <start_frac> <end_frac> |
Extract frames by fractional range |
Calculators
| Command |
Syntax |
Description |
-calc ionic-cond |
gpumdkit.sh -calc ionic-cond <element> <charge> |
Ionic conductivity |
-calc nep |
gpumdkit.sh -calc nep <input.xyz> <output.xyz> <nep.txt> |
NEP property prediction |
-calc des |
gpumdkit.sh -calc des <input.xyz> <output.npy> <nep.txt> <element> |
NEP descriptors |
-calc doas |
gpumdkit.sh -calc doas <input.xyz> <nep.txt> <output.txt> |
Density of atomistic states |
-calc neb |
gpumdkit.sh -calc neb <initial.xyz> <final.xyz> <n_images> <nep.txt> |
NEB with a NEP model |
-calc minimize |
gpumdkit.sh -calc minimize <structure> <nep.txt> [fmax] [max_steps] |
Structure minimization |
-calc msd |
gpumdkit.sh -calc msd <trajectory.xyz> <element> <dt_fs> [max_corr_steps] |
MSD from trajectory |
-calc nlist |
gpumdkit.sh -calc nlist [args...] |
Neighbor lists |
-calc disp |
gpumdkit.sh -calc disp [args...] |
Displacements |
-calc avg-struct |
gpumdkit.sh -calc avg-struct [args...] |
Averaged structure |
-calc oct-tilt |
gpumdkit.sh -calc oct-tilt [args...] |
Octahedral tilt |
-calc pol-abo3 |
gpumdkit.sh -calc pol-abo3 [args...] |
ABO3 local polarization |
Analyzers
| Command |
Syntax |
Description |
-range |
gpumdkit.sh -range <input.xyz> <energy\|force\|virial> [hist] |
Property range analysis |
-analyze_comp |
gpumdkit.sh -analyze_comp <input.xyz> |
Composition analysis |
-chem_species |
gpumdkit.sh -chem_species <input.xyz> |
Chemical species list |
-cbc |
gpumdkit.sh -cbc <input.xyz> |
Charge-balance check |
-min_dist |
gpumdkit.sh -min_dist <input.xyz> |
Minimum distance without PBC |
-min_dist_pbc |
gpumdkit.sh -min_dist_pbc <input.xyz> |
Minimum distance with PBC |
-filter_dist |
gpumdkit.sh -filter_dist <input.xyz> <min_dist> |
Distance filtering |
-filter_dist_pbc |
gpumdkit.sh -filter_dist_pbc <input.xyz> <min_dist> |
PBC-aware distance filtering |
-filter_box |
gpumdkit.sh -filter_box <input.xyz> <edge_limit> |
Box-edge filtering |
-filter_value |
gpumdkit.sh -filter_value <input.xyz> <property> <threshold> |
Property threshold filtering |
-filter_range |
gpumdkit.sh -filter_range <input.xyz> <element1> <element2> <min_dist> <max_dist> |
Element-pair distance range filtering |
-pda |
gpumdkit.sh -pda <ref_struct> <trajectory.xyz> <species> <interval> |
Probability density analysis |
Visualization
Use:
gpumdkit.sh -plt <type> [options]
gpumdkit.sh -plt -h
Common types include train, prediction (alias: test), thermo, msd, sdc, rdf, emd, nemd, hnemd, pdos, and plane-grid.
Utilities
| Command |
Syntax |
Description |
-time |
gpumdkit.sh -time <gpumd\|nep> |
Monitor GPUMD or NEP progress |
-nep_modifier |
gpumdkit.sh -nep_modifier |
Modify NEP models interactively |
-pynep |
gpumdkit.sh -pynep |
Deprecated PyNEP FPS sampling |