Giter Club home page Giter Club logo

Comments (2)

mrjoness avatar mrjoness commented on July 18, 2024

Any updates on this? I am trying to cmake with gromacs 2021 but I'm not not able to specify a suitable -DGMX_PATH that contains both include and lib. Any thoughts or recommendations would be appreciated.

from do_x3dna.

boristim66 avatar boristim66 commented on July 18, 2024

Dear @mrjoness,
to build executable, I just was does following:
Folder with sourse "do_x3dna" I placed in the main Gromacs source tree:
...\gromacs-2019.4\src\gromacs\do_x3dna-master

Contents of ...\gromacs-2019.4\src\gromacs\do_x3dna-master\CMakeLists.txt is fully new:
add_executable(do_x3dna src/GMX2016/do_x3dna.cpp src/ExtractData.h src/ExtractData.c)
target_link_libraries(do_x3dna libgromacs ${GMX_EXE_LINKER_FLAGS} ${GMX_STDLIB_LIBRARIES})
And add a row to ...\gromacs-2019.4\src\gromacs\CMakeLists.txt (for example, after all "add_subdirectory" in this file) :
add_subdirectory(do_x3dna-master)
That's all, module do_x3dna now is builded with main gromacs source tree, enjoy.

I did not try to insert do_x3dna into version 2021, I hope the API has not changed much

PS. Interface to XPM matrix was changed. I neeed any time to rewrite it
PPS. Now it is compiled and tested with version 2021.3
diff2021.txt
.

from do_x3dna.

Related Issues (5)

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.