marius-team / marius

Large scale graph learning on a single machine.
https://marius-project.org
Apache License 2.0
160 stars 45 forks source link

Error with building with CMake #137

Open alex-haozheng opened 1 year ago

alex-haozheng commented 1 year ago

Describe the bug Hello! I am trying to build marius using CMake however when I try to build marius_train / marius_eval, I get an error message about some undefined references to some Python libraries. (i.e. PyInstanceMethod_Type, PyObject_SetAttrString, PyCapsule_Type, just to list a couple)

To Reproduce Steps to reproduce the behavior:

  1. load cuda and cmake and appropriate torch
  2. start a virtual environment
  3. cd into the marius/build
  4. run cmake ..
  5. run make
  6. see error
rogerwaleffe commented 1 year ago

Thanks for posting your question and sorry for the delayed response! It looks like those errors are do to linking issues, but it's hard to say for sure what is the cause.

We have updated the dependency versions and installation over the last couple months. Can you try to build again with the latest main branch? We have also included new recommended install instructions using docker here which may be helpful: https://github.com/marius-team/marius/tree/main/examples/docker