Giter Site home page Giter Site logo

Comments (5)

seiya-kumada avatar seiya-kumada commented on August 29, 2024 2

Sorry!
I forgot to commit 'procedures.txt' that I wrote when I implemented the code.
I committed it.
Thanks for your interests.
Regards,
S. Kumada

from patchy-san.

 avatar commented on August 29, 2024 1

Thanks for your replying. But I have encountered a problem when I run the last step "make" in the terminal, and the error is shown in the followings.

g++-4.9 -fPIC -I/usr/local/include -I/usr/local/nauty26r7/include -I./nauty_class/nauty_class -I/usr/include/python2.7 -DNDEBUG -DBOOST_PYTHON=1 -O3 -Wall -std=c++14 -Wno-unused-local-typedefs -o obj/./nauty_class/nauty_class/NautyGraph.o -c nauty_class/nauty_class/NautyGraph.cpp
make: g++-4.9: No such file or directory
make: *** [obj/./nauty_class/nauty_class/NautyGraph.o] Error 1

I have no idea what can be done to solve this problem. and also I cannot find "procedures.txt" in the directory "patchy-san".

Thanks for your kind help!

from patchy-san.

seiya-kumada avatar seiya-kumada commented on August 29, 2024

from patchy-san.

shaofengzeng avatar shaofengzeng commented on August 29, 2024

I also meet this problem. Hope for your solution
and another problem is "fatal error: nauty.h: No such file or directory"

from patchy-san.

shaofengzeng avatar shaofengzeng commented on August 29, 2024

This project should be run on ubuntu os (like ubuntu 16.04).
And you need to pay attention to three things.

  1. setup graph_tool(https://graph-tool.skewed.de/). if you using anaconda, try the following command:
    conda install -c ostrokach-forge -c pkgw-forge -c conda-forge graph-tool
  2. setup nauty26r7. This can be download from https://github.com/sebasguts/NautyTracesInterface.
    What we need is only the files of directory "nauty26r7" . Then modify the file "makefile" as follows:
    CC=gcc -shared -fPIC
    save it, and open a terminal change to the directory of nauty26r7, followed with the following
    command:
    make
    After the compilation, make two directory in anuty26r7---"include", "lib". Copy all the file *.h to the
    directory "include", the copy all the compiled files, *.o *.a or any other executable files to the
    directory "lib". finally move the directory nauty26r7 to the director /usr/local/.
    Finally, add the libs to the searching directory just as follows:
    cd /etc/ld.so.conf.d/
    sudo gedit nauty26r7.conf
    write the path /usr/local/nauty26r7/lib into file nauty26r7.conf and save it. After that, using the
    command:
    sudo ldconfig
    to update the cache.
  3. setup cpplinq. download file from https://github.com/mrange/cpplinq
    and cd to the directory of Test, followed with the command:
    sh compile_with_g++.sh
    after the compilation, copy the files cpplinq.g++ and cpplinq.hpp(/cpplinq-master/CppLinq/) to
    directory /patchy-san-master/nauty_sample/nauty_class/_nauty_class/

from patchy-san.

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.