Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] compiling: acl.h not found on CentOS 7.2 #964

Open
weiyshay opened this issue Dec 5, 2022 · 1 comment
Open

[BUG] compiling: acl.h not found on CentOS 7.2 #964

weiyshay opened this issue Dec 5, 2022 · 1 comment

Comments

@weiyshay
Copy link
Collaborator

weiyshay commented Dec 5, 2022

Describe the bug
Can not compile HALO on Graphcore SDK

To Reproduce

[112/2894] Building CXX object ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o
FAILED: ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o
CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /opt/rh/devtoolset-7/root/usr/bin/c++ -Dodla_ascend_EXPORTS -Iinclude -I../include -I/root/Ascend/ascend-toolkit/latest/opp/op_proto/built-in/inc -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include/graph -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include/ge -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include -I/root/Ascend/ascend-toolkit/latest/fwkacllib/include/parser -I../ODLA/platforms/ascend/inc -I../ODLA/include -D_GLIBCXX_USE_CXX11_ABI=0 -g -fPIC -std=c++1z -MD -MT ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o -MF ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o.d -o ODLA/platforms/ascend/CMakeFiles/odla_ascend.dir/src/odla_ops.cc.o -c ../ODLA/platforms/ascend/src/odla_ops.cc
In file included from ../ODLA/platforms/ascend/src/odla_ops.cc:1:0:
../ODLA/platforms/ascend/inc/odla_ascend_acl.h:14:10: fatal error: acl/acl.h: No such file or directory
#include "acl/acl.h"

Command lines to reproduce the bug.
cmake -G Ninja .. -DHALO_USE_TIDY_CHECK=OFF -DHALO_GEN_DOCS=OFF -DPOPLAR_ROOT=$POPLAR_ROOT -DPOPLAR_VERSION=$POPLAR_VERSION -DPOPART_ROOT=$POPART_ROOT -DODLA_BUILD_POPART_USE_CXX11ABI=ON -DODLA_BUILD_POPART_CUSTOM_OPS=ON -DHALO_BUILD_RTLIB=OFF -DODLA_BUILD_TRT=OFF -DODLA_BUILD_XNNPACK=OFF -DODLA_BUILD_EIGEN=OFF -DODLA_BUILD_DNNL=OFF -DCMAKE_BUILD_TYPE=Debug -DODLA_BUILD_VODLA=off && time ninja

Expected behavior
Compile finished without any error.

@weimingzha0
Copy link
Collaborator

Hi,

Looks like you're not using the latest docker image.
The latest is
registry-intl.us-west-1.aliyuncs.com/computation/halo:0.8.1-devel-x86_64-ubuntu18.04 (for ubuntu)
or
registry-intl.us-west-1.aliyuncs.com/computation/halo:0.8.1-devel-cuda11.4.2-cudnn8-centos7 (for centos)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants