{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13524","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13524/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13524/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/13524/events","html_url":"https://github.com/apache/incubator-mxnet/issues/13524","id":387154527,"node_id":"MDU6SXNzdWUzODcxNTQ1Mjc=","number":13524,"title":"MXNET can't build from source on MKLDNN enabled","user":{"login":"juliusshufan","id":33112206,"node_id":"MDQ6VXNlcjMzMTEyMjA2","avatar_url":"https://avatars0.githubusercontent.com/u/33112206?v=4","gravatar_id":"","url":"https://api.github.com/users/juliusshufan","html_url":"https://github.com/juliusshufan","followers_url":"https://api.github.com/users/juliusshufan/followers","following_url":"https://api.github.com/users/juliusshufan/following{/other_user}","gists_url":"https://api.github.com/users/juliusshufan/gists{/gist_id}","starred_url":"https://api.github.com/users/juliusshufan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliusshufan/subscriptions","organizations_url":"https://api.github.com/users/juliusshufan/orgs","repos_url":"https://api.github.com/users/juliusshufan/repos","events_url":"https://api.github.com/users/juliusshufan/events{/privacy}","received_events_url":"https://api.github.com/users/juliusshufan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-04T07:31:15Z","updated_at":"2018-12-04T07:31:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.\r\n\r\nFor Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io \r\n\r\n## Description\r\nOn building MXNET from soure with the command:\r\nmake -j USE_MKLDNN=1 USE_OPENCV=1 USE_BLAS=mkl\r\nThis command works well before.\r\n\r\nThe compiling always failed with error as below:\r\n\r\nIn file included from src/operator/nn/mkldnn/mkldnn_base.cc(23):\r\nsrc/operator/nn/mkldnn/./mkldnn_base-inl.h(57): catastrophic error: cannot open source file \"mkldnn.hpp\"\r\n  #include \"mkldnn.hpp\"\r\n                       ^\r\nIn file included from src/operator/quantization/mkldnn/mkldnn_quantized_conv.cc(27):\r\nsrc/operator/quantization/mkldnn/../../nn/mkldnn/mkldnn_base-inl.h(57): catastrophic error: cannot open source file \"mkldnn.hpp\"\r\n  #include \"mkldnn.hpp\"\r\n\r\nSeems this is introduced by commit 65edc9500b10a3404945d6d79acbae54a2833890 (@azai91), as the compilation is okay on commit 89499896108ac37f87afbe03ddad658b466deba7 with same build command.\r\n\r\n## Environment info (Required)\r\nCentOS 7.5\r\nGCC 4.8.5\r\n```\r\nWhat to do:\r\n1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py\r\n2. Run the script using `python diagnose.py` and paste its output here.\r\n\r\n```\r\n\r\nPackage used (Python/R/Scala/Julia):\r\n(I'm using ...)\r\n\r\nFor Scala user, please provide:\r\n1. Java version: (`java -version`)\r\n2. Maven version: (`mvn -version`)\r\n3. Scala runtime if applicable: (`scala -version`)\r\n\r\nFor R user, please provide R `sessionInfo()`:\r\n\r\n## Build info (Required if built from source)\r\n\r\nCompiler (gcc/clang/mingw/visual studio): gcc 4.8.5\r\n\r\nMXNet commit hash:\r\nf2dcd7c7b8676b55d912997fc3f9c62c55915307\r\n(Paste the output of `git rev-parse HEAD` here.)\r\n\r\nBuild config:\r\nmake -j USE_MKLDNN=1 USE_OPENCV=1 USE_BLAS=mkl\r\n\r\n## Error Message:\r\nIn file included from src/operator/nn/mkldnn/mkldnn_base.cc(23):\r\nsrc/operator/nn/mkldnn/./mkldnn_base-inl.h(57): catastrophic error: cannot open source file \"mkldnn.hpp\"\r\n  #include \"mkldnn.hpp\"\r\n                       ^\r\nIn file included from src/operator/quantization/mkldnn/mkldnn_quantized_conv.cc(27):\r\nsrc/operator/quantization/mkldnn/../../nn/mkldnn/mkldnn_base-inl.h(57): catastrophic error: cannot open source file \"mkldnn.hpp\"\r\n  #include \"mkldnn.hpp\"\r\n## Minimum reproducible example\r\n(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)\r\n\r\n## Steps to reproduce\r\n(Paste the commands you ran that produced the error.)\r\n\r\n1. Clone the code \r\n2. make -j USE_MKLDNN=1 USE_OPENCV=1 USE_BLAS=mkl\r\n\r\n## What have you tried to solve it?\r\n\r\n1.\r\n2.\r\n"}}
{"actor":{"display_login":"juliusshufan"}}