graphvite icon indicating copy to clipboard operation
graphvite copied to clipboard

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

Open KalinNonchev opened this issue 3 years ago • 5 comments

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.

KalinNonchev avatar Feb 23 '21 12:02 KalinNonchev

I met exactly the same issue

YunyyYY avatar Feb 25 '21 10:02 YunyyYY

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

jshelly avatar Mar 08 '21 21:03 jshelly

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

KalinNonchev avatar Mar 08 '21 21:03 KalinNonchev

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 [email protected] 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 .

jshelly avatar Mar 08 '21 22:03 jshelly

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:

  • conda-forge
  • http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  • http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  • http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  • defaults

HJW3536 avatar Mar 26 '21 08:03 HJW3536