Skip to content

Conversation

@Andrew-S-Rosen
Copy link
Contributor

Closes #1692. Marked as draft until the next ASE release.

Closes facebookresearch#1692. Marked as draft until the next ASE release.
@meta-cla meta-cla bot added the cla signed label Dec 23, 2025
@Andrew-S-Rosen
Copy link
Contributor Author

@zulissi Can you confirm what version pseudopotentials are used for OC? I didn't see it in the original OC paper.

@Andrew-S-Rosen Andrew-S-Rosen marked this pull request as draft December 23, 2025 00:31
@mshuaibii
Copy link
Contributor

Thanks Andrew!

54 for OC

@Andrew-S-Rosen
Copy link
Contributor Author

Thanks, @mshuaibii! Then this should be the only changes needed in the PR. You may want to bump the minimum ASE version when the next release comes out so users are guaranteed to be getting the right version of the pseudopotentials in their runs.

@mshuaibii
Copy link
Contributor

Sounds good.

Do the upstream changes also allow you to just specify a directory here instead of "54"? I assume there's some assumption being made what the directory name should be. Sorry haven't had a chance to go through it yet!

@Andrew-S-Rosen
Copy link
Contributor Author

Andrew-S-Rosen commented Dec 23, 2025

Do the upstream changes also allow you to just specify a directory here instead of "54"? I assume there's some assumption being made what the directory name should be. Sorry haven't had a chance to go through it yet!

They actually always allowed you to do that with the pp flag. The way the pp_version flag works is that if you put all the VASP-provided pseudopotential folders in one parent directory (defined by the VASP_PP_PATH environment variable as usual), the Vasp calculator will automatically select the one based on your chosen xc (PBE or LDA) and pp_version. For instance, xc="PBE" and pp_version="54" select potpaw_PBE.54. None of that annoying symlinking stuff to potpaw or potpaw_PBE that ASE has historically required, although it does not break backwards compatibility if pp_version is not set.

@Andrew-S-Rosen Andrew-S-Rosen marked this pull request as ready for review December 28, 2025 20:05
@Andrew-S-Rosen
Copy link
Contributor Author

Alright, the newest version of ASE is released and should work with these changes.

@zulissimeta zulissimeta added enhancement New feature or request minor Minor version release labels Jan 6, 2026
@zulissimeta zulissimeta self-requested a review January 7, 2026 18:48
@zulissimeta zulissimeta enabled auto-merge January 7, 2026 18:49
@zulissimeta zulissimeta added this pull request to the merge queue Jan 7, 2026
Merged via the queue into facebookresearch:main with commit fd6a616 Jan 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed enhancement New feature or request minor Minor version release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enforce pp_version in VASP input sets

3 participants