VASP 6.3.2 compilation without MD and ML supports

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.

Moderators: Global Moderator, Moderator

Locked
Message
Author
ralf_tonner1
Newbie
Newbie
Posts: 17
Joined: Mon Dec 21, 2020 2:19 pm

VASP 6.3.2 compilation without MD and ML supports

#1 Post by ralf_tonner1 » Sat Nov 05, 2022 3:03 pm

Dear Admin,
I would like 2 points to bring to your attention.
Compile vasp-6.3.2 without molecular dynamics routines: Compilation without -Dtbdyn tag in makefile.include raises an error: 'MDALGO_GL is not defined in src/main.F'. If I get it right from the source code then MDALGO is defined when tbdyn is defined (line 923 src/main.F, vasp 6.3.2). But the parameter is passed in XML_WRITER call (line 1717 src/main.F, vasp 6.3.2). So, I modified the src/main.F a little:

Code: Select all

src/main.F  (line 285, vasp 6.3.2)
#ifdef tbdyn
       TYPE (gadget_io)   g_io
       INTEGER :: SEED(3),SEED_INIT(3)
       INTEGER :: DTVALUES(8)
       INTEGER :: IDUMLONG
       INTEGER :: CLOCK       
       INTEGER, PARAMETER :: SEED1_MAX=900000000, K_SEED=3
       INTEGER, PARAMETER :: SEED2_MAX=1000000
#else
       INTEGER :: MDALGO_GL=0           ! This else block is added
#endif
Compile vasp-6.3.2 without machine learning routines: If anyone wants to compile vasp without ML supports. [If I get it right by default ML is switched on (at least in vasp 6.3.2).] This is mentioned here wiki/index.php/Known_issues. But as it is a little hidden my suggestion would be to put the statement somewhere easily findable part of the wiki.

Fun fact: If you want to ask why should one compile without MD and ML, I don't have really good arguments. :)

Thanks

jonathan_lahnsteiner2
Global Moderator
Global Moderator
Posts: 149
Joined: Fri Jul 01, 2022 2:17 pm

Re: VASP 6.3.2 compilation without MD and ML supports

#2 Post by jonathan_lahnsteiner2 » Mon Nov 07, 2022 3:09 pm

Dear ralf_tonner1,

We are aware of this problem. It will be fixed in the next release.

All the best

Jonathan

Locked