DATA_DIR (was: Release of CP2K version 4.1)

Michael Banck mba... at
Wed Oct 5 18:13:40 UTC 2016


On Wed, Oct 05, 2016 at 10:28:43AM -0700, Matthias Krack wrote:
> we are pleased to announce the release of the CP2K version 4.1
> (October 5, 2016) <>.

Any reason it's 4.1 and not 4.0?

Anyway, I noticed the build now defines __DATA_DIR on the compile line,
hardcoded to `pwd`/data.

So if you define it yourself in the archfile, this gets overriden.  This
appears to be a problem for packagers, as the data files are the main
thing CP2K needs to know where they are once it's installed as an .rpm
or .deb.

I'll just patch that out for now.


More information about the CP2K-user mailing list