PyTorch-On-Angel
PyTorch-On-Angel copied to clipboard
CMake error: add_subdirectory given source "pytorch_scatter-2.0.5" which is not an existing directory
hey, guys, I got a error at make stage
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found torch: /opt/libtorch/lib/libtorch.so
-- FOUND TORCH VERSION : 1.5.0
-- Found JNI: /usr/local/openjdk-8/jre/lib/amd64/libjawt.so
CMake Error at CMakeLists.txt:38 (add_subdirectory):
add_subdirectory given source "pytorch_scatter-2.0.5" which is not an
existing directory.
-- Configuring incomplete, errors occurred! See also "/app/out/CMakeFiles/CMakeOutput.log". See also "/app/out/CMakeFiles/CMakeError.log". make: *** No targets specified and no makefile found. Stop. The command '/bin/sh -c ./build.sh && cp ./out/*.so "$TORCH_HOME"/lib && cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 "$TORCH_HOME"/lib && ln -s "$TORCH_HOME"/lib torch-lib && zip -qr /torch.zip torch-lib' returned a non-zero code: 2
@rachelsunrh add_subdirectory(pytorch_scatter-2.0.5) 这句报错,导致编译失败