Giter Site home page Giter Site logo

Recipe for using DBCSR/develop in CP2K about dbcsr HOT 4 CLOSED

hfp avatar hfp commented on August 20, 2024 1
Recipe for using DBCSR/develop in CP2K

from dbcsr.

Comments (4)

pseewald avatar pseewald commented on August 20, 2024 1

I'm just about to create a pull request for CP2K that replaces CP2K-internal DBCSR with standalone DBCSR based on Alfio's fork. Then we have a CP2K branch that works with standalone DBCSR and the pull request can be updated following our ongoing discussions (git-submodules etc).

from dbcsr.

alazzaro avatar alazzaro commented on August 20, 2024

@dev-zero is working on that.
This is the receipt (not sure if it still works), which are based on my CP2K-svn repo:

https://github.com/alazzaro/cp2k/tree/master/cp2k

-) remove the directories src/dbcsr and src/dbcsr_tensor
-) remove the directories tools/build_libsmm and tools/dbcsr_test
-) Update of the corresponding PACKAGEs file: src/arnoldi/PACKAGE, src/dbcsrx/PACKAGE, src/emd/PACKAGE, src/motion/PACKAGE, src/PACKAGE, src/start/PACKAGE
-) Update of src/f77_interface.F to have DBCSR timers add loggers hooks in CP2K
-) Update of the Makefile
-) Include the exts directory (makefile, dbcsr as submodule/copy)

The CP2K calls the DBCSR make (see exts/Makefile.inc). As a configuration for the DBCSR compilation it uses the same CP2K arch file (they are compatible). The obj and libraries will be copied under the corresponding CP2K directories. Note that any change in DBCSR library will force a full compilation of CP2K. I don't think this is a problem because no so many people are developing DBCSR.

from dbcsr.

hfp avatar hfp commented on August 20, 2024

Thank you, Alfio for sharing the steps!

from dbcsr.

hfp avatar hfp commented on August 20, 2024

cp2k/cp2k#52

from dbcsr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.