Skip to content

Commit b36cf59

Browse files
author
Han Wang
committed
Merge remote-tracking branch 'upstream/master'
2 parents 0b922f2 + cc816d5 commit b36cf59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dpgen/auto_test/Lammps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self,
1717
self.inter_type = inter_parameter['type']
1818
self.type_map = inter_parameter['type_map']
1919
self.in_lammps = inter_parameter.get('in_lammps', 'auto')
20-
if self.type_map == 'meam':
20+
if self.inter_type == 'meam':
2121
self.model = list(map(os.path.abspath, inter_parameter['model']))
2222
else:
2323
self.model = os.path.abspath(inter_parameter['model'])

dpgen/generator/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2030,7 +2030,7 @@ def post_fp_vasp (iter_index,
20302030
dlog.info("failed frame: %6d in %6d %6.2f %% " % (icount, tcount, rfail * 100.))
20312031

20322032
if rfail>ratio_failed:
2033-
raise RuntimeError("find too many unsuccessfully terminated jobs")
2033+
raise RuntimeError("find too many unsuccessfully terminated jobs. Too many FP tasks are not converged. Please check your input parameters (e.g. INCAR) or configuration (e.g. POSCAR) in directories \'iter.*.*/02.fp/task.*.*/.\'")
20342034

20352035

20362036
def post_fp_pwscf (iter_index,

0 commit comments

Comments
 (0)