-
Notifications
You must be signed in to change notification settings - Fork 22
Description
First, I would like to thank you for this github repo! Thanks to python API its use should be easier.
This is why I would like to install the program through anaconda (as you recommend). If possible, I would like to ask you to provide some installation steps for:
- installation based on python & c++ (through anaconda) ==> are there any requirements? python 3.7? anaconda 3? or some others?
- installation based on only c++ (without support of python api, through cmake) => in case I could not make it work
In the following, I explain what I tried since yesterday:
According to the readme file, the program is supposed to run with one simple line command: GUROBI_ROOT_DIR=/path/to/gurobi conda install -c cpape nifty-with-gurobi. However, it did not work out, since it does not found the package nifty-with-gurobi in the current channel of anaconda. My second attempt was to build nifty by using this command conda build conda-recipe. However, I had many issues during build process. The last one was this one:
In file included from /home/nejat/anaconda3/conda-bld/nifty_1582733307969/work/include/nifty/graph/rag/detail_rag/compute_grid_rag.hxx:22:0,
from /home/nejat/anaconda3/conda-bld/nifty_1582733307969/work/include/nifty/graph/rag/grid_rag.hxx:19,
from /home/nejat/anaconda3/conda-bld/nifty_1582733307969/work/include/nifty/graph/rag/grid_rag_features.hxx:3,
from /home/nejat/anaconda3/conda-bld/nifty_1582733307969/work/src/python/lib/graph/rag/graph_accumulator.cxx:6:
/home/nejat/anaconda3/conda-bld/nifty_1582733307969/work/include/nifty/z5/z5.hxx:4:10: fatal error: z5/dataset_factory.hxx: No such file or directory
#include "z5/dataset_factory.hxx"
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
src/python/lib/graph/rag/CMakeFiles/_rag.dir/build.make:110: recipe for target 'src/python/lib/graph/rag/CMakeFiles/_rag.dir/grid_rag_stacked.cxx.o' failed
make[2]: *** [src/python/lib/graph/rag/CMakeFiles/_rag.dir/grid_rag_stacked.cxx.o] Error 1
src/python/lib/graph/rag/CMakeFiles/_rag.dir/build.make:134: recipe for target 'src/python/lib/graph/rag/CMakeFiles/_rag.dir/graph_accumulator.cxx.o' failed
make[2]: *** [src/python/lib/graph/rag/CMakeFiles/_rag.dir/graph_accumulator.cxx.o] Error 1
CMakeFiles/Makefile2:1372: recipe for target 'src/python/lib/graph/rag/CMakeFiles/_rag.dir/all' failed
make[1]: *** [src/python/lib/graph/rag/CMakeFiles/_rag.dir/all] Error 2
[ 10%] Linking CXX shared module _nifty
Copying target opt to temporary module directory
[ 10%] Built target _opt
Copying target nifty to temporary module directory
[ 10%] Built target _nifty
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "/home/nejat/anaconda3/bin/conda-build", line 11, in
sys.exit(main())
File "/home/nejat/anaconda3/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 438, in main
execute(sys.argv[1:])
Thanks in advance!
Nejat