- Clone the repository with
git clone https://github.com/neffrw/pyGrappolo.git --recurse-submodules- Run
pip install ./pyGrappolo - If you are running MacOS, ensure you are using a compiler with OpenMP support with
CC=<compiler> CXX=<compiler> pip install ./pyGrappolo - If you change the root folder from pyGrappolo to another name, change
./pyGrappoloto that folder name instead.
- Run
- In your python program, run
import grappolograppolo.grappolo(args_dict)(see test.py example)
- If your build is failing on MacOS due to an
ld: unsupported tapi file type '!tapi-tbd' in yaml fileerror within conda, your conda-suppliedldmay be outdated compared to the systemld. You may follow one of two solutions: (retrieved from Seth Johnson's answer)- Please either run outside of the conda environment, or
- Append the system's
ldto the PATH environment variable after activating your conda environment withexport PATH=${PATH}:<path/to/system/ld>.- Hint: the system's
ldlocation can be found by executingwhich ldoutside of the conda environment.
- Hint: the system's