Welcome to the GPUMDkit
tutorials! This guide will help you get started with using GPUMDkit
, a shell interface designed to streamline your GPUMD
workflows.
GPUMDkit
offers two main modes of operation:
- Interactive Mode: Run
gpumdkit.sh
and follow the menu prompts for a guided experience. - Command-Line Mode: Directly pass arguments to
gpumdkit.sh
for quick and streamlined command execution.
-
Open your terminal.
-
Execute the
gpumdkit.sh
script:./gpumdkit.sh
-
Follow the on-screen prompts to interactively select and run the desired script.
____ ____ _ _ __ __ ____ _ _ _ / ___| _ \| | | | \/ | _ \| | _(_) |_ | | _| |_) | | | | |\/| | | | | |/ / | __| | |_| | __/| |_| | | | | |_| | <| | |_ \____|_| \___/|_| |_|____/|_|\_\_|\__| GPUMDkit Version 0.0.1 (dev) (2025-01-28) Developer: Zihan YAN (yanzihan@westlake.edu.cn) ----------------------- GPUMD ----------------------- 1) Format Conversion 2) Sample Structures 2) Workflow (dev) 4) Calculators 3) Developing ... 6) Developing ... 4) Quit! ------------>> Input the function number:
This mode is useful for new users or for tasks that require step-by-step guidance.
For users familiar with the GPUMDkit
, the command-line mode allows for faster execution by directly passing arguments to gpumdkit.sh
. Here are some examples:
gpumdkit.sh -h
the help information:
+==================================================================================================+
| GPUMDkit 1.0.0 (dev) (2025-01-28) Usage |
| --- by Zihan YAN |
+======================================== Conversions =============================================+
| -outcar2exyz Convert OUTCAR to extxyz | -pos2exyz Convert POSCAR to extxyz |
| -castep2exyz Convert castep to extxyz | -pos2lmp Convert POSCAR to LAMMPS |
| -cp2k2exyz Convert cp2k output to extxyz | -lmp2exyz Convert LAMMPS-dump to extxyz |
| -addgroup Add group label | -addweight Add weight to the struct in extxyz |
| Developing... | Developing... |
+========================================= Analysis ===============================================+
| -range Print range of energy etc. | -max_rmse Get max RMSE from XYZ |
| -min_dist Get min_dist between atoms | -min_dist_pbc Get min_dist considering PBC |
| -filter_box Filter struct by box limits | -filter_value Filter struct by value (efs) |
| -filter_dist Filter struct by min_dist | Developing... |
+========================================= Misc ==============+================================+
| -plt Plot scripts | -get_frame Extract the specified frame |
| -calc Calculators | -clear_xyz Clear extra info in XYZ file |
| -clean Clear files for work_dir | Developing... |
+==================================================================================================+
| For detailed usage and examples, use: gpumdkit.sh -<option> -h |
+==================================================================================================+
To convert a VASP
OUTCARs
to an extended XYZ format (extxyz
) file, use the following command:
gpumdkit.sh -outcar2exyz <dir_of_OUTCARs>
gpumdkit.sh -outcar2exyz .
To visualize thermo
evolution from thermo.out
:
gpumdkit.sh -plt thermo
For more detailed tutorials on specific functionalities, refer to the following documents:
- Format Conversion: Detailed guide on
1) Format Conversion
. - Sample Structures: Detailed guide on
2) Sample Structures
. - Workflow (dev): Detailed guide on
3) Workflow (dev)
. - Calculators: Detailed guide on
4) Calculators
. - Activate Learning: Detailed guide on
Tutorial for workflow_activate_learning_dev.sh
.
Thank you for using GPUMDkit
! If you have any questions or need further assistance, feel free to open an issue on our GitHub repository or contact Zihan YAN (yanzihan@westlake.edu.cn).