Skip to content
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
@sxjscience

Description

@sxjscience

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugCMakeCMake related bugs/issues/improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions