{"action":"created","issue":{"url":"https://api.github.com/repos/01org/mkl-dnn/issues/53","repository_url":"https://api.github.com/repos/01org/mkl-dnn","labels_url":"https://api.github.com/repos/01org/mkl-dnn/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/01org/mkl-dnn/issues/53/comments","events_url":"https://api.github.com/repos/01org/mkl-dnn/issues/53/events","html_url":"https://github.com/01org/mkl-dnn/issues/53","id":224723306,"number":53,"title":"mkldnn compilation error: protected function not accessible ","user":{"login":"luohaibiao","id":16967751,"avatar_url":"https://avatars3.githubusercontent.com/u/16967751?v=3","gravatar_id":"","url":"https://api.github.com/users/luohaibiao","html_url":"https://github.com/luohaibiao","followers_url":"https://api.github.com/users/luohaibiao/followers","following_url":"https://api.github.com/users/luohaibiao/following{/other_user}","gists_url":"https://api.github.com/users/luohaibiao/gists{/gist_id}","starred_url":"https://api.github.com/users/luohaibiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luohaibiao/subscriptions","organizations_url":"https://api.github.com/users/luohaibiao/orgs","repos_url":"https://api.github.com/users/luohaibiao/repos","events_url":"https://api.github.com/users/luohaibiao/events{/privacy}","received_events_url":"https://api.github.com/users/luohaibiao/received_events","type":"User","site_admin":false},"labels":[{"id":373491622,"url":"https://api.github.com/repos/01org/mkl-dnn/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-04-27T09:21:57Z","updated_at":"2017-05-05T14:15:34Z","closed_at":null,"body":"During compilation of the latest Intel Caffe, mkldnn was downloaded and compiled with the following error:\r\n/HOME/caffe-master/external/mkldnn/src/include/mkldnn.hpp(103): error #453: protected function \"mkldnn::handle<T, traits>::handle(T, bool) [with T=mkldnn::c_api::mkldnn_primitive_t, traits=mkldnn::handle_traits<mkldnn::c_api::mkldnn_primitive_t>]\" (declared at line 61) is not accessible through a \"mkldnn::handle<mkldnn::c_api::mkldnn_primitive_t, mkldnn::handle_traits<mkldnn::c_api::mkldnn_primitive_t>>\" pointer or object\r\n      using handle::handle;\r\n      ^\r\nIn file included from /HOME/caffe-master/external/mkldnn/src/examples/simple_training_net.cpp(20):\r\n          detected during implicit generation of \"mkldnn::primitive::primitive(mkldnn::c_api::mkldnn_primitive_t, bool)\" at line 147\r\nIn file included from /HOME/ /caffe-master/external/mkldnn/src/examples/simple_training_net.cpp(20):\r\n\r\n\r\nIn Makefile.config of caffe-master, I have defined the CXX-COMPILER\r\nCUSTOM_CXX := /HOME/intel/composer_xe_2015.1.133/bin/intel64/icpc\r\n\r\nBefore caffe-master/make, I type “export cc=/HOME/intel/composer_xe_2015.1.133/bin/intel64/icc\"\r\n\r\nIt first downloaded and installed mklml_lnx_2017.0.2.20170110.tgz in caffe-master/external/mkl without any problem, then downloaded, installed  https://github.com/01org/mkl-dnn/releases/download/v0.7/mklml_lnx_2017.0.2.20170209.tgz. and stop at the above error\r\n\r\nNote that I’m installing Intel Caffe in a supercomputer. The environment packages were loaded by module. \r\n\r\nAny suggestions on how to fix this problem?\r\n"},"comment":{"url":"https://api.github.com/repos/01org/mkl-dnn/issues/comments/299476274","html_url":"https://github.com/01org/mkl-dnn/issues/53#issuecomment-299476274","issue_url":"https://api.github.com/repos/01org/mkl-dnn/issues/53","id":299476274,"user":{"login":"vpirogov","id":19210288,"avatar_url":"https://avatars2.githubusercontent.com/u/19210288?v=3","gravatar_id":"","url":"https://api.github.com/users/vpirogov","html_url":"https://github.com/vpirogov","followers_url":"https://api.github.com/users/vpirogov/followers","following_url":"https://api.github.com/users/vpirogov/following{/other_user}","gists_url":"https://api.github.com/users/vpirogov/gists{/gist_id}","starred_url":"https://api.github.com/users/vpirogov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpirogov/subscriptions","organizations_url":"https://api.github.com/users/vpirogov/orgs","repos_url":"https://api.github.com/users/vpirogov/repos","events_url":"https://api.github.com/users/vpirogov/events{/privacy}","received_events_url":"https://api.github.com/users/vpirogov/received_events","type":"User","site_admin":false},"created_at":"2017-05-05T14:15:34Z","updated_at":"2017-05-05T14:15:34Z","body":"You need to do both actually, CXX=icpc and CC=icc. Could you please also post full CMake output?"}}
{"actor":{"display_login":"vpirogov"}}