I am currently setting up VASP with support for the DFT-D4 and have encountered some discrepancies in the setup instructions that I hope to clarify with your expertise.
On the VASP Wiki, specifically in the section dedicated to optional DFT-D4 configuration, the instructions provided are as follows:
Code: Select all
CPP_OPTIONS += -DDFTD4
DFTD4_ROOT ?= /path/to/your/dft4/installation
LLIBS += -L$(DFTD4_ROOT)/build -ldftd4
INCS += -I$(DFTD4_ROOT)/libdftd4.a.p
Code: Select all
CPP_OPTIONS += -DDFTD4
LLIBS += $(shell pkg-config --libs dftd4)
INCS += $(shell pkg-config --cflags dftd4)
Code: Select all
CPP_OPTIONS += -DDFTD4
DFTD4_ROOT ?= /path/to/your/dft4/installation
LLIBS += -L$(DFTD4_ROOT)/build -ldftd4
INCS += -I$(DFTD4_ROOT)/build/libdftd4.a.p
Your expert guidance on this matter would be immensely appreciated. Thank you very much for your time and assistance. I eagerly await your informed perspectives.
Best regards,
Zhao