This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Missing dnnl_config.h when installing horovod #17628
Closed
Description
Description
I tried to compile MXNet using the cmake command:
cmake -GNinja -C ../config.cmake ..
cmake --build .
and then install horovod
HOROVOD_WITHOUT_TENSORFLOW=1 HOROVOD_GPU_ALLREDUCE=NCCL HOROVOD_GPU_BROADCAST=NCCL pip3 install -e . --no-cache-dir --user
The error message is
/home/ubuntu/mxnet/python/mxnet/../../include/mkldnn/dnnl.hpp:23:10: fatal error: dnnl_config.h: No such file or directory
I find that we have these lines in mkldnn.mk
https://github.com/apache/incubator-mxnet/blob/c2aff58c448bbe5755de0c8d35a1cc7d3fd9aa51/mkldnn.mk#L52-L53
The problem might be that we haven't copied the files to mxnet/include/mkldnn
so the build system used in horovod is broken.