Skip to content

Python interface for Grappolo, designed to work with NetworkX graphs

Notifications You must be signed in to change notification settings

neffrw/pyGrappolo

Repository files navigation

pyGrappolo

Steps

  1. Clone the repository with git clone https://github.com/neffrw/pyGrappolo.git --recurse-submodules
    1. Run pip install ./pyGrappolo
    2. If you are running MacOS, ensure you are using a compiler with OpenMP support with CC=<compiler> CXX=<compiler> pip install ./pyGrappolo
    3. If you change the root folder from pyGrappolo to another name, change ./pyGrappolo to that folder name instead.
  2. In your python program, run import grappolo
    1. grappolo.grappolo(args_dict) (see test.py example)

Troubleshooting

  • If your build is failing on MacOS due to an ld: unsupported tapi file type '!tapi-tbd' in yaml file error within conda, your conda-supplied ld may be outdated compared to the system ld. You may follow one of two solutions: (retrieved from Seth Johnson's answer)
    1. Please either run outside of the conda environment, or
    2. Append the system's ld to the PATH environment variable after activating your conda environment with export PATH=${PATH}:<path/to/system/ld>.
      1. Hint: the system's ld location can be found by executing which ld outside of the conda environment.

About

Python interface for Grappolo, designed to work with NetworkX graphs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published