Skip to content

Commit

Permalink
Merge pull request #550 from materialsproject/fix-mp-wfs
Browse files Browse the repository at this point in the history
Fix wrong INCAR values in MP workflows
  • Loading branch information
utf authored Oct 3, 2023
2 parents 468fb57 + 172ad67 commit 56bae2c
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/atomate2/vasp/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def copy_vasp_outputs(

# check at least one type of POTCAR file is included
if len([f for f in optional_files if "POTCAR" in f.name]) == 0:
raise FileNotFoundError("Could not find POTCAR file to copy.")
raise FileNotFoundError(f"Could not find a POTCAR file in {src_dir!r} to copy")

copy_files(
src_dir,
Expand Down
1 change: 1 addition & 0 deletions src/atomate2/vasp/jobs/mp.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ class MPPreRelaxMaker(BaseVaspMaker):
"GGA": "PS",
"LWAVE": True,
"LCHARG": True,
"METAGGA": None,
},
)
)
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ LREAL = Auto
LVTOT = True
LWAVE = True
MAGMOM = 2*0.0
METAGGA = R2scan
NELM = 200
NSW = 99
PREC = Accurate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ ALGO = Fast
EDIFF = 1e-05
ENAUG = 1360.0
ENCUT = 680.0
GGA = Ps
ISMEAR = -5
ISPIN = 2
KSPACING = 0.29539340980039036
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ EDIFF = 1e-05
EDIFFG = -0.05
ENAUG = 1360.0
ENCUT = 680.0
GGA = Ps
IBRION = 2
ISIF = 3
ISMEAR = 0
ISMEAR = -5
ISPIN = 2
KSPACING = 0.28253269576667883
LAECHG = True
Expand Down
Binary file modified tests/test_data/vasp/Si_old_double_relax/outputs/POTCAR.gz
Binary file not shown.

0 comments on commit 56bae2c

Please sign in to comment.