Comments (14)
from euler.
gcc版本有特定要求吗,我换了7.3.1
也有报错
from euler.
from euler.
是的,都是用7.3.1
编译的。现在的报错:
/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_2de9f.dir/link.txt --verbose=1
/opt/rh/devtoolset-7/root/usr/bin/c++ -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_2de9f.dir/CheckFunctionExists.cxx.o -o cmTC_2de9f -lpthreads
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: 找不到 -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_2de9f] 错误 1
gmake[1]: 离开目录“/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp”
gmake: *** [cmTC_2de9f/fast] 错误 2
CMakeOutput.log的开头:
The system is: Linux - 3.10.0-693.21.1.el7.x86_64 - x86_64
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /opt/rh/devtoolset-7/root/usr/bin/c++
Build flags:
from euler.
from euler.
阿里云的云主机。
from euler.
还有其他的报错:
[2shou@iZwz95etseedme89x9zuunZ build]$ grep -i "error" /home/2shou/tmp/euler/build/CMakeFiles/CMakeError.log
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
/home/2shou/tmp/euler/build/CMakeFiles/CheckTypeSize/HAVE___UINT16.c:23:31: error: expected ‘)’ before ‘__int16’
/home/2shou/tmp/euler/build/CMakeFiles/CheckTypeSize/HAVE___UINT16.c:23:31: error: expected ‘)’ before ‘__int16’
/home/2shou/tmp/euler/build/CMakeFiles/CheckTypeSize/HAVE___UINT16.c:23:31: error: expected ‘)’ before ‘__int16’
/home/2shou/tmp/euler/build/CMakeFiles/CheckTypeSize/HAVE___UINT16.c:23:31: error: expected ‘)’ before ‘__int16’
/home/2shou/tmp/euler/build/CMakeFiles/CheckTypeSize/HAVE___UINT16.c:23:31: error: expected ‘)’ before ‘__int16’
collect2: error: ld returned 1 exit status
c++: error: unrecognized command line option '-Wunnamed-type-template-args'
gmake[1]: *** [CMakeFiles/cmTC_ac700.dir/src.cxx.o] Error 1
gmake: *** [cmTC_ac700/fast] Error 2
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp/src.c:3:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp/src.c:2:27: error: declaration for parameter ‘a’ but no such parameter
/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp/src.c:3:16: error: expected ‘{’ at end of input
/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp/src.cxx:3:1: error: ‘vector’ does not name a type
/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp/src.cxx:2:11: error: expected constructor, destructor, or type conversion before ‘(’ token
from euler.
from euler.
[2shou@iZwz95etseedme89x9zuunZ build]$ cmake3 ..
-- The CXX compiler identification is GNU 7.3.1
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/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 C++ include pthread.h
-- Looking for C++ include 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
-- The C compiler identification is GNU 7.3.1
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
from euler.
from euler.
报错是一样的,因为刚才就是清掉再cmake,日志我再截完整点:
Run Build Command:"/usr/bin/gmake" "cmTC_7a1a4/fast"
/usr/bin/gmake -f CMakeFiles/cmTC_7a1a4.dir/build.make CMakeFiles/cmTC_7a1a4.dir/build
gmake[1]: 进入目录“/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp”
Building CXX object CMakeFiles/cmTC_7a1a4.dir/CheckFunctionExists.cxx.o
/opt/rh/devtoolset-7/root/usr/bin/c++ -DCHECK_FUNCTION_EXISTS=pthread_create -fPIE -o CMakeFiles/cmTC_7a1a4.dir/CheckFunctionExists.cxx.o -c /home/2shou/tmp/euler/build/CMakeFiles/CheckLibraryExists/CheckFunctionExists.cxx
Linking CXX executable cmTC_7a1a4
/usr/bin/cmake3 -E cmake_link_script CMakeFiles/cmTC_7a1a4.dir/link.txt --verbose=1
/opt/rh/devtoolset-7/root/usr/bin/c++ -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_7a1a4.dir/CheckFunctionExists.cxx.o -o cmTC_7a1a4 -lpthreads
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: 找不到 -lpthreads
collect2: error: ld returned 1 exit status
gmake[1]: *** [cmTC_7a1a4] 错误 1
gmake[1]: 离开目录“/home/2shou/tmp/euler/build/CMakeFiles/CMakeTmp”
gmake: *** [cmTC_7a1a4/fast] 错误 2
from euler.
from euler.
好的,现在的cmake就是从build_wheel.sh
的脚本中安装的:
curl http://mirrors.aliyun.com/repo/Centos-7.repo -o /etc/yum.repos.d/CentOS-Base.repo
curl http://mirrors.aliyun.com/repo/epel-7.repo -o /etc/yum.repos.d/epel.repo
echo "[global]
index-url = https://mirrors.aliyun.com/pypi/simple/" > /etc/pip.conf
yum install -y autoconf ant cmake3 gcc-c++ golang java-1.8.0-openjdk-headless perf python2-pip make
from euler.
能否告知你们当时测试环境的cmake版本?我现在用的是3.13.1
。
[2shou@iZwz95etseedme89x9zuunZ euler]$ cmake3 --version
cmake3 version 3.13.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
from euler.
Related Issues (20)
- ThreadLocalRandom() 随机数分布问题 - sample_neighbor_layerwise OP
- 找不到ppi_data.py
- samle_node样遇到 euler service cpu 100% 一直没有结果卡死问题
- pip install euler_gl python版本冲突导致失败 HOT 1
- pip install成功,site-packages下没有源码
- 关于节点权重
- install Grpc error
- 记 euler2 分布式例子run_ppi.sh 失败的原因
- 请问多ps 多euler的情况下有infer的例子可以借鉴吗
- euler目前支持导入预训练的embedding向量吗? HOT 1
- from euler.tools import json2dat相关
- euler2的graphsage怎么设置use_id=true
- 如何使用Euler做分布式的Embedding训练
- euler1 使用ppi数据集 无监督graphsage训练 loss突然特别特别大
- 子图采样的时候为什么将每一层的源节点拼接? HOT 1
- Euler1 邻居采样去重
- ValueError: inputs must be a list of at least oneTensor/IndexedSlices with the same dtype and shape
- sample_edge的输出shape是[count,3]吗?
- relation_cov code not understand
- 采样策略是入度还是出度
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from euler.