Skip to content

Commit 5352246

Browse files
authored
fix NSW value in INCAR; fix local_root check (#464)
* fix NSW value in INCAR; fix local_root check * update INCAR_methane.rlx; Co-authored-by: felix5572 <yfb222333@gmail.com>
1 parent 5c94314 commit 5352246

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dpgen/dispatcher/Dispatcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def make_submission(mdata_machine, mdata_resources, commands, work_path, run_tas
349349
machine = Machine.load_from_dict(mdata_machine)
350350
resources = Resources.load_from_dict(mdata_resources)
351351

352-
if resources['local_root'] != './':
352+
if mdata_machine['local_root'] != './':
353353
raise RuntimeError(f"local_root must be './' in dpgen's machine.json.")
354354

355355
command = "&&".join(commands)

examples/init/INCAR_methane.rlx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ NELMIN=4
1111
ISIF=2
1212
ISMEAR=0
1313
SIGMA=0.20000
14-
IBRION=-1
15-
NSW=10
14+
IBRION=2
15+
NSW=50
1616
LWAVE=F
1717
LCHARG=F
1818
PSTRESS=0

0 commit comments

Comments
 (0)