Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with VASP_VDW_KERNEL_DIR Setup Not Locating vdw_kernel.bindat File #959

Open
YuanbinLiu opened this issue Aug 20, 2024 · 8 comments
Open

Comments

@YuanbinLiu
Copy link

YuanbinLiu commented Aug 20, 2024

Hi,

I have been working on setting up Atomate2 for my VASP calculations, and I encountered an issue related to the VASP_VDW_KERNEL_DIR variable. I followed the instructions provided in the Atomate2 documentation (available here) to configure the VASP_VDW_KERNEL_DIR variable. The goal was to ensure that the vdw_kernel.bindat file could be correctly located during my VASP calculations.

Despite following the documentation, it appears that the vdw_kernel.bindat file is still not being found during the calculations. I have double-checked the path and confirmed that the file exists at the specified location.

Could you please provide some guidance on what might be going wrong? Specifically:

  1. Are there any common pitfalls or additional steps that I might have overlooked in setting up this variable?
  2. Is there a way to verify within Atomate2 that the VASP_VDW_KERNEL_DIR variable is correctly pointing to the intended directory?
@utf
Copy link
Member

utf commented Aug 20, 2024

Hi @YuanbinLiu, can I just check if you're using a relative or absolute path, and whether you're using ~/ or putting the full path.

@JaGeo
Copy link
Member

JaGeo commented Aug 20, 2024

@utf I had just looked for the constant in the code base and only found it showing up twice: https://github.com/search?q=repo%3Amaterialsproject%2Fatomate2+VDW_KERNEL_DIR&type=code

I am currently not sure how and where it should be used. I assume I am missing something here.

@JaGeo JaGeo closed this as completed Aug 20, 2024
@YuanbinLiu
Copy link
Author

YuanbinLiu commented Aug 20, 2024

Hi @YuanbinLiu, can I just check if you're using a relative or absolute path, and whether you're using ~/ or putting the full path.

Hi @utf, I am using the absolute/full path. I also tried different methods, such as setting the file path or directory, but none of them worked.

@JaGeo JaGeo reopened this Aug 20, 2024
@JaGeo
Copy link
Member

JaGeo commented Aug 20, 2024

Sorry for closing. This was a mistake from my side.

@utf
Copy link
Member

utf commented Aug 20, 2024

I agree @JaGeo. It looks like this option doesn't currently do anything. I think it would make sense to actually have this option in pymatgen and then automatically copy the kernel when writing the input set.

@YuanbinLiu Do you have access to VASP v6.4.3? If so, copying the kernel is not necessary as described on this page: https://www.vasp.at/wiki/index.php/Nonlocal_vdW-DF_functionals

@YuanbinLiu
Copy link
Author

@utf I have access. Implementing this feature in the future would enhance the program's flexibility.

@utf
Copy link
Member

utf commented Aug 20, 2024

@YuanbinLiu I agree - I'll look into this. It may take some time though, so it will be easiest and quickest if you use the updated version.

@YuanbinLiu
Copy link
Author

@YuanbinLiu I agree - I'll look into this. It may take some time though, so it will be easiest and quickest if you use the updated version.

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants