Useful command-line utilities for research in HANS group.
First, make sure that cargo is installed.
git clone https://github.com/hans-group/cli-utils
cd cli-utils
./install.sh
If it fails, reinstall the latest rustup and try again.
gotojob: Go to SLURM job submission directoryanimate_vibmode_orca: Animate the normal mode of molecule to.xyzfile from orca frequency calculation.submit_orca: Submit ORCA job to SLURM in one linesubmit_vasp: Submit VASP job to SLURM in one linevasp_mdstat: Plot potential/kinetic/total energy and temperature profile of VASP MD run.check_ef_vasp: Check convergence of energy and force from VASP geometry optimization run.kpointsgen: GenerateKPOINTSfile for VASP calculation, either from explicit grid or from density of k-points.pos2pot: GeneratePOTCARfile fromPOSCARfile.ndstat: Prettier version ofpestatqst: Prettier version ofqstsymmetrize_poscar: Symmetrize POSCARvasp_set: Generate VASP inputs fromPOSCARfile andinput_params.toml. Example ofinput_params.tomlcan be found in wiki.
See wiki for detailed usage.
- Write a command as function definition.
- If it is short, append to
src/bash/cli_utils_bash.sh. Otherwise, write to separate file and addsource $source_dir/filenametocli_utils_bash.sh.
- In the directory
src/python, only executable scripts are allowed. Do not put the library code in it. - The library codes should be placed in
src/python/lib. - Check the errors with
flake8and format the code withblack.