Giter Club home page Giter Club logo

libgmxcpp's People

Contributors

wesbarnett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libgmxcpp's Issues

compilation error

[ 4%] Building CXX object src/CMakeFiles/gmxcpp.dir/Topology.cpp.o
/home/abanerjee/md/regromacsinputfile/libgmxcpp-master/src/Topology.cpp: In member function ‘void Topology::read(std::__cxx11::string)’:
/home/abanerjee/md/regromacsinputfile/libgmxcpp-master/src/Topology.cpp:58:62: error: cannot convert ‘gmx_mtop_t*’ to ‘float ()[3]’ for argument ‘7’ to ‘int read_tpx(const char, t_inputrec*, float ()[3], int, float ()[3], float ()[3], float ()[3], gmx_mtop_t)’
read_tpx(tprfile.c_str(),NULL,NULL,&natoms,NULL,NULL,mtop);
^
src/CMakeFiles/gmxcpp.dir/build.make:254: recipe for target 'src/CMakeFiles/gmxcpp.dir/Topology.cpp.o' failed
make[2]: *** [src/CMakeFiles/gmxcpp.dir/Topology.cpp.o] Error 1
CMakeFiles/Makefile2:103: recipe for target 'src/CMakeFiles/gmxcpp.dir/all' failed
make[1]: *** [src/CMakeFiles/gmxcpp.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

compiling topology

Hello, I'm getting an error compiling the library. I have gromacs 2018.1
...
[ 40%] Building CXX object src/CMakeFiles/gmxcpp.dir/Topology.cpp.o
/home/marcelo/Documents/libgmxcpp-5.0.2/src/Topology.cpp: In member function ‘void Topology::read(std::__cxx11::string)’:
/home/marcelo/Documents/libgmxcpp-5.0.2/src/Topology.cpp:58:51: error: too few arguments to function ‘t_topology gmx_mtop_t_to_t_topology(gmx_mtop_t*, bool)’
t_topology top = gmx_mtop_t_to_t_topology(mtop);
^
In file included from /home/marcelo/Documents/libgmxcpp-5.0.2/include/gmxcpp/Topology.h:38:0,
from /home/marcelo/Documents/libgmxcpp-5.0.2/src/Topology.cpp:31:
/usr/local/gromacs/include/gromacs/topology/mtop_util.h:221:1: note: declared here
gmx_mtop_t_to_t_topology(gmx_mtop_t *mtop, bool freeMTop);
^~~~~~~~~~~~~~~~~~~~~~~~
src/CMakeFiles/gmxcpp.dir/build.make:254: recipe for target 'src/CMakeFiles/gmxcpp.dir/Topology.cpp.o' failed
make[2]: *** [src/CMakeFiles/gmxcpp.dir/Topology.cpp.o] Error 1
CMakeFiles/Makefile2:103: recipe for target 'src/CMakeFiles/gmxcpp.dir/all' failed
make[1]: *** [src/CMakeFiles/gmxcpp.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

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.