Install pARTn for VASP 5.4.4
Note
For VASP versions higher than 5.4.4, please contact us.
VASP-5.4.4/pARTn Interface
Create (or copy) your
makefile.includeinside the VASP root path.Run the
configureof pARTn, giving the flag--with-vasp, and the pathVASP_PATH=to the root directory of VASP:cd /path/to/artn-plugin ./configure --with-vasp VASP_PATH=/path/to/vasp
At the end of
configure, you should get all further instructions pronted on the screen. They should be pretty much as follows:Compile the pARTn library
make libOptionally you might be instructed to patch the vasp code, which includes copying the needed interface file to vasp source, adding it to the list of objects, and appending library path to your
makefile.include:make patch-vaspThe inverse command is to unpatch vasp:
make unpatch-vaspThen you will likely need to recompile vasp:
cd /path/to/vasp make std
Now you are ready to launch!
What does the configure do?
The configure script performs several things for VASP:
attempts to extract the
FCLcompiler from themakefile.include, which is used to compile VASP;copies the interface file
/artn-plugin/ENGINES/VASP/ARTn_VASP.Finto the VASP source:/path/vasp/src/;inserts the objects into
/path/vasp/src/.objetcs;inserts a call to
ARTN_VASPinto the/path/vasp/src/main.F;and adds the library and include paths to the
makefile.include.
Note
Presently, the pARTn-VASP interface requires pARTn to be compiled with the same compiler as VASP (this will change soon enough).
Note
Intel compiler: If you compile with the option -check all you have to add the option -check nouninit to remove the SPAM of MemorySanitizer
Use in VASP
To use pARTn with VASP, the keyword ARTN_is_active = TRUE should be set in the INCAR file, and
also the parameters:
IBRION = -1
ISYM = 0
POTIM = 0
ARTN_is_active = TRUE