RUN_VASP(1)
π NAME π
okay so this is the man page for run_vasp, from the User Commands section of the manual (section 1, bestie, we're in the big leagues) β and it does exactly one iconic thing: manage vasp jobs. that's it. that's the whole vibe. β¨
β¨ DESCRIPTION β¨
here's the whole usage situation, copy-pasted with love:
usage: run_vasp [-h] [-c [COMMAND]] [--no_auto_npar] [-z] [-s [SCRATCH]]
[-ks [STATIC_KPOINT]] [-me [MAX_ERRORS]] [-hd HANDLERS [HANDLERS
...]] [-vd VALIDATORS [VALIDATORS ...]] jobs [jobs ...]
so run_vasp is a master script β main character energy fr β and its whole thing is performing various kinds of VASP runs. like, all the kinds. it's the group chat organizer of your DFT life. π
π positional arguments π
jobsβ the jobs you want to actually execute. heads up: right now only these sequences are supported:relax,quickrelax,static,rampU,full_relax,static_derived,nonscf_derived,optics_derived. so like, if you write"relax relax static"you get a double relaxation followed by a static run. cute, right? and by default the suffixes get sequential numbering, but you can override that by putting a number on the jobtype itself β for examplerelax5 relax6 relax7. slay. π¦
πΈ options πΈ
-h,--helpβ shows this help message and then dips. show this help message and exit. π«Ά-c [COMMAND],--command [COMMAND]β the VASP command. defaults topvasp. if you're out here usingmpirun, set this to something like'mpirun pvasp'. π₯--no_auto_nparβ set it to true to turn offauto_npar. lowkey useful for certain machines and calculations where you want absolute control. absolute. control. periodt. π-z,--gzipβ add this and the final output gets gzipped. do NOT gzip if you're going to perform an additional static run. i'm serious. don't do it. π-s [SCRATCH],--scratch [SCRATCH]β the scratch directory to run in. specify the root scratch directory, because the code will automatically create a temporary subdirectory to run the job in. it handles that part, you just point at the root. π§-ks [STATIC_KPOINT],--kpoint-static [STATIC_KPOINT]β the multiplier to use for theKPOINTSof a static run (if there is one). for example, setting this to2means that if your original run was done using a k-point grid of2x3x3, the static run will be done with a k-point grid of4x6x6. this defaults to1, i.e., static runs are performed with the same k-point grid as relaxation runs. math is mathing. π-me [MAX_ERRORS],--max-errors [MAX_ERRORS]β maximum number of errors to allow before quitting. π-hd HANDLERS [HANDLERS ...],--handlers HANDLERS [HANDLERS ...]β the ErrorHandlers to use, specified as string class names, with optional arguments specified as a url-like string. for example,VaspErrorHandler?output_filename=myfile.outspecifies aVaspErrorHandlerwithoutput_nameset tomyfile.out. multiple arguments are joined by a comma. e.g.,MyHandler?myfile=a,data=1. the arguments are deserialized using yaml. iykyk. π-vd VALIDATORS [VALIDATORS ...],--validators VALIDATORS [VALIDATORS ...]β the Validators to use, specified as string class names, with optional arguments specified as a url-like string. for example,VaspErrorHandler?output_filename=myfile.outspecifies aVaspErrorHandlerwithoutput_nameset tomyfile.out. multiple arguments are joined by a comma. e.g.,MyHandler?myfile=a,data=1. the arguments are deserialized using yaml. same energy, different list. β¨
Author: Shyue Ping Ong
not me ending this with the credits but honestly? iconic. this page is from custodian, dated January 2024 β so yeah, that's the source and the version and the date, all wrapped up in a lil bow πβ¨ bestie you're all caught up, go run some vasp jobs ππ¦
π¦ where this page comes from
- debian trixie: python3-custodian 2024.10.16-1 Β· BSD-3-Clause
- ubuntu questing: python3-custodian 2024.10.16-1
- ubuntu resolute: python3-custodian 2025.10.11-2 Β· BSD-3-Clause
- ubuntu stonking: python3-custodian 2025.12.14-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms