-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README.md is out of date #70
Comments
Hi @arthurp. When the README will be updated. I am having some installation difficulties. I get the following error during cmake. I also got the version error before but I was able to fix it. Could not find a package configuration file provided by "benchmark" with
Add the installation prefix of "benchmark" to CMAKE_PREFIX_PATH or set |
@narendrachaudhary51 What build environment are you using? Conan or Conda? |
I got the error during cmake. The following command. I get this error when I follow python.md and reach to similar cmake command. katana/scripts/katana_version/version.py", line 188, in get_config_version |
Are you building in a |
Yes. IT's a bug. I should have just checked before messaging. I'll push a PR soon to fix this. Would you be willing to test and review it? |
I did "git clone https://github.com/KatanaGraph/katana.git" to download the project and after that followed the instructions. I will be happy to test and review the new changes. |
…ion file at all. Initiall mentioned here: KatanaGraph#70 (comment)
That's weird. If you cloned that way this shouldn't have been an issue. You can look at the PR I created at #174 and see if it fixes things for you. You are external, so I cannot have you formally review it, but I would love you to test it. I will run some tests to see if I reproduce what you saw. Was your build directory inside or outside the source directory? |
SRC_DIR=/katana/ |
That just cloned the master branch on my repo. You will want to clone the branch associated with the PR. To clone a PR see: https://stackoverflow.com/questions/14947789/github-clone-from-pull-request |
I was able to run the following step from python.md file. I cloned the new PR code. However, I got the version error during the following command. Error - anaconda3/lib/python3.8/site-packages/conda/models/version.py", line 164, in init |
Hmm. I didn't think that would be an issue. For normal builds. I'll look into it. For the time being, do you actually need to build the conda packages? You can just to a normal build within conda and then use |
I want to convert an adjacency matrix based graph into .gr format and then apply louvain and leiden clustering algorithms on it. I can use the C++ binaries to run the louvain and leiden algorithms but I want to use those functions inside my python program. Will I be able to apply these algorithms in python if I use these packages (https://anaconda.org/katanagraph) ? Also, if you can send me a link to a tutorial than that would be great too. |
There is no tutorial yet for this, sadly. Let me work on getting the Python API reference posted for easy reading. What you can already do is install those packages and us pydoc or Currently, graph conversion is not supported from inside Python. You will need to use Louvain clustering is not yet wrapped for use from Python. But it should be available soon: #177. I'm not aware of any Leiden clustering support. You might need to implement that yourself. That is possible from Python using the currently available conda packages. |
…ion file at all. Initiall mentioned here: #70 (comment)
I tried installing these (https://anaconda.org/katanagraph) but got the following error. I try to install in an empty enviroment. UnsatisfiableError:** I also cannot run python_env.sh.tmp as I get premission denied error. I don't have python_env.sh in the build folder. I also get the version error when I try to run "make -j" in the build directory (after cmake -S $SRC_DIR -B $BUILD_DIR -DCMAKE_BUILD_TYPE=Release -DKATANA_LANG_BINDINGS=python -DBUILD_SHARED_LIBS=ON). Do you know a way to do the following? What process do you guys follow? It seems leiden clustering was present in the previous version (git clone https://github.com/IntelligentSoftwareSystems/Galois). Did you remove it in the current version? |
Can you create a separate issue for this and provide more details about the environment and a complete error message? I cannot really debug it with what you include here since I have not seen this error myself.
When I say "implement from Python" I mean using the special features of KatanaGraph which enable writing Python kernels which are compiled and run within the Katana scheduler. It should be nearly as fast as C. I am working on a tutorial on this, so hopefully I can link you to that soon. In the mean time you can look at this example: https://github.com/KatanaGraph/katana/blob/master/python/katana/lonestar/analytics/jaccard.py
I wasn't aware of that. It appears we did have an experimental implementation and that it was removed. I don't know why. Sadly, I don't have the time at the moment to figure out. Please file an issue requesting the algorithm and linking to the existing version in galois (or even better in the the git history of katana). We'll look into it as we have time. |
README.md
needs to be updated for Katana world.The text was updated successfully, but these errors were encountered: