sxjscience opened a new issue #17628: Missing dnnl_config.h
URL: https://github.com/apache/incubator-mxnet/issues/17628
 
 
   ## 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.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to