DeepGraphLearning / graphvite

GraphVite: A General and High-performance Graph Embedding System
https://graphvite.io
Apache License 2.0
1.23k stars 154 forks source link

from source installation stops at "Performing configure step for 'faiss'" #83

Open KalinNonchev opened 3 years ago

KalinNonchev commented 3 years ago

Hello,

I am trying to install the package using clone and conda. These steps were successful:

git clone https://github.com/DeepGraphLearning/graphvite
cd graphvite
conda install -y --file conda/requirements.txt
mkdir build

However, I am failing on the 5th step.

cd build && cmake .. && make && cd -
-- Found glog    (include: /.../graphviteenv/include, library: /..../graphviteenv/lib/libglog.so)
-- Found gflags  (include: /.../graphviteenv/include, library: /.../graphviteenv/lib/libgflags.so)
-- Found pybind11: /..../graphviteenv/include (found version "2.6.2" )
-- Autodetected CUDA architecture(s):  6.1 5.2 3.5
-- Configuring done
CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "graphvite".
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0104 is not set: CMAKE_CUDA_ARCHITECTURES now detected for NVCC,
  empty CUDA_ARCHITECTURES not allowed.  Run "cmake --help-policy CMP0104"
  for policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  CUDA_ARCHITECTURES is empty for target "graphvite".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /.../graphvite/build
[ 11%] Performing configure step for 'faiss'
/bin/sh: /.../graphvite/external/faiss/configure: No such file or directory
make[2]: *** [faiss/src/faiss-stamp/faiss-configure] Error 127
make[1]: *** [CMakeFiles/faiss.dir/all] Error 2
make: *** [all] Error 2

What could be the problem? Let me know if you need more information.

Thank you in advance!

Best,

P.S. I saw this commit https://github.com/DeepGraphLearning/graphvite/commit/e067c59146f676e3eee3eee6106dce7ccc7cf9e4, but unfortunately the problem is not solved.

YunyyYY commented 3 years ago

I met exactly the same issue

jshelly commented 3 years ago

I am also having the same problem. Has anyone made any progress with this?

KalinNonchev commented 3 years ago

I installed the package successfully with conda, but not like it is mentioned in the installation guide

conda create -n myenv python=3.7 
conda activate myenv
conda install -c milagraph graphvite

Note: it worked only for python 3.7, not for 3.6

jshelly commented 3 years ago

Thanks, Kalin. That did not work for me either. I used your suggestion and encountered some conflicts which were not specified, so I could not try to address them. I'd rather build it from source, so I'm hoping the developer responds with some ideas.

Best, Shelly

Shelly Johnson Research Applications Specialist XSEDE Campus Champion Advanced Research Computing (formerly ARC-TS) University of Michigan

On Mon, Mar 8, 2021 at 4:43 PM Kalin Nonchev notifications@github.com wrote:

I installed the package successfully with conda, but not like it is mentioned in the installation guide

conda create -n myenv python=3.7 conda activate myenv conda install -c milagraph graphvite

Note: it worked only for python 3.7, not for 3.6

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DeepGraphLearning/graphvite/issues/83#issuecomment-793101193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3PJRTS52PZYXUZZVLXXA3TCVAG7ANCNFSM4YCMNBCQ .

HJW3536 commented 3 years ago

I'm stuck here:conda install -y --file conda/requirements.txt Error message:

Collecting package metadata (current_repodata.json): failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/conda-forge/linux-64/current_repodata.json Elapsed: -

An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way. 'https://conda.anaconda.org/conda-forge/linux-64'

And I've already added mirrors: channels: