prep
Description
This command manages the DFT calculation using the built-in DFT code prep.x.
Synopsis
turbogenius prep [ACTION] [OPTIONS]
ACTION is one or any combination of -g (generate an input file), -r (run a program), or -post (perform postprocess). It is mandatory.
turbogenius prep --help
This command shows the list of available options.
Options
general option
This option affects all actions.
option |
default value |
description |
|---|---|---|
-log TEXT |
INFO |
Specify log level. The argument is DEBUG, INFO, or ERROR. |
generate (-g) options
These options affect the generation of the input file. The correspondence between the options and the input parameters are described in the note section.
option |
default value |
description |
|---|---|---|
-grid FLOAT… |
[0.1, 0.1, 0.1] |
Specify grid size |
-lbox FLOAT… |
[15.0, 15.0, 15.0] |
Specify lbox (only for molecules) |
-smear FLOAT |
0.0 |
Specify the smearing |
-f FLOAT |
0.0 |
Specify the h_field |
-m LIST |
[] |
Specify the magnetic_moment_list for each atom (u(up), d(dn), or n(no)) |
-max INTEGER |
3600 |
Specify maxtime (sec.) |
-xc TEXT |
xc |
Specify xc (lda or lsda) |
-kpts INTEGER… |
[0, 0, 0, 0, 0, 0] |
Specify Monkhorst-Pack grids and shifts, [nkx,nky,nkz,kx,ky,kz] |
Environment variables
TURBOPREP_RUN_COMMANDThis specifies the execution command used in the DFT calculation. The default is
prep-serial.x. If the MPI parallel version is to be used, set the variable, for example, tompiexec -n 16 prep-mpi.x, wherempiexecis the MPI launch command, and-n 16specifies the number of MPI processes (16 in this case).
Input and output files
This subcommand generates prep.input, each variable is described in turborvbtutorial_command_prep.x.
action |
input |
output |
rename |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
Notes
Corresponding input parameters
The correspondence between the options and the input parameters in prep.input is summarized as follows.
turbogenius option |
section |
paramter |
|---|---|---|
grid_size (-grid) lbox (-lbox) |
&molecul |
|
smearing (-smear) |
&dft |
|
h_field (-f) |
&dft |
|
magnetic_moment_list (-m) |
(magnetic moment section in prep.input) |
|
maxtime (-max) |
&simulation |
maxtime |
xc (-xc) |
&dft |
typedft (1 for lda, 4 for lsda) |
det_contraction |
&dft |
contracted_on |
memlarge |
&dft |
memlarge |
maxit |
&dft |
maxit |
epsdft |
&dft |
epsdft |
thr_lindep |
&dft |
epsover |
kpoints (-kpts) |
&kpoints |
|