@@ -76,30 +76,28 @@ class RunVaspCustodian(FiretaskBase):
76
76
vasp_cmd (str): the name of the full executable for running VASP. Supports env_chk.
77
77
78
78
Optional params:
79
- jobs (list[VaspJob]): VaspJobs to run.
80
- job_type (str): choose from "normal" (default), "double_relaxation_run" (two consecutive
79
+ job_type: (str) - choose from "normal" (default), "double_relaxation_run" (two consecutive
81
80
jobs), "full_opt_run" (multiple optimizations), and "neb"
82
81
handler_group: (str | list[ErrorHandler]) - group of handlers to use. See handler_groups dict in the code or
83
82
the groups and complete list of handlers in each group. Alternatively, you can
84
83
specify a list of ErrorHandler objects.
85
84
max_force_threshold: (float) - if >0, adds MaxForceErrorHandler. Not recommended for
86
85
nscf runs.
87
- scratch_dir (str): if specified, uses this directory as the root scratch dir.
86
+ scratch_dir: (str) - if specified, uses this directory as the root scratch dir.
88
87
Supports env_chk.
89
88
gzip_output: (bool) - gzip output (default=T)
90
89
max_errors: (int) - maximum # of errors to fix before giving up (default=5)
91
90
ediffg: (float) shortcut for setting EDIFFG in special custodian jobs
92
91
auto_npar: (bool) - use auto_npar (default=F). Recommended set to T
93
92
for single-node jobs only. Supports env_chk.
94
- gamma_vasp_cmd (str): cmd for Gamma-optimized VASP compilation.
93
+ gamma_vasp_cmd: (str) - cmd for Gamma-optimized VASP compilation.
95
94
Supports env_chk.
96
95
wall_time (int): Total wall time in seconds. Activates WalltimeHandler if set.
97
96
half_kpts_first_relax (bool): Use half the k-points for the first relaxation
98
97
"""
99
98
100
99
required_params = ["vasp_cmd" ]
101
100
optional_params = [
102
- "jobs" ,
103
101
"job_type" ,
104
102
"handler_group" ,
105
103
"max_force_threshold" ,
@@ -166,8 +164,7 @@ def run_task(self, fw_spec):
166
164
vasp_cmd = shlex .split (vasp_cmd )
167
165
168
166
# initialize variables
169
- jobs = self .get ("jobs" , [])
170
- job_type = self .get ("job_type" , "normal" if jobs == [] else None )
167
+ job_type = self .get ("job_type" , "normal" )
171
168
scratch_dir = env_chk (self .get ("scratch_dir" ), fw_spec )
172
169
gzip_output = self .get ("gzip_output" , True )
173
170
max_errors = self .get ("max_errors" , CUSTODIAN_MAX_ERRORS )
0 commit comments