apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.78k stars 6.79k forks source link

Cannot find mxnet-cpp/op.h (duplicate) #13948

Closed Arxemond777 closed 5 years ago

Arxemond777 commented 5 years ago

This issue is reopen https://github.com/apache/incubator-mxnet/issues/9187 In this issue recommends use this tutorial https://mxnet.incubator.apache.org/versions/master/tutorials/c++/basics.html Copy libmxnet.so to my /path/to/mxnet. I did it. Also in this guide there is a such link "The generation should be done when building the C++ package."(https://mxnet.incubator.apache.org/versions/master/get_started/build_from_source.html#build-the-c++-package) this page has been deleted

Description

I performed following commands cd cpp-package/example/ && make -j4 USE_CPP_PACKAGE=1 and it performed success.

After it I performed following commands cd cpp-package/inference && make -j4 USE_CPP_PACKAGE=1 and I got following errors

y.glushenkov@ml-dev-env:~/Downloads/incubator-mxnet/cpp-package/example/inference$ make -j4 USE_CPP_PACKAGE=1
g++ -std=c++0x  -I../../../3rdparty/tvm/nnvm/include -I../../../3rdparty/dmlc-core/include -I ../../include -I ../../../include -Wall -O3 -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas   -o inception_inference inception_inference.cpp -L../../../lib -lmxnet `pkg-config --libs opencv`
In file included from ../../include/mxnet-cpp/MxNetCpp.h:35:0,
                 from inception_inference.cpp:36:
../../include/mxnet-cpp/optimizer.hpp:37:26: fatal error: mxnet-cpp/op.h: No such file or directory
compilation terminated.
Makefile:37: recipe for target 'inception_inference' failed
make: *** [inception_inference] Error 1

Also I have an error while performing ninja -v (I described it below), I think it related with the question above

Environment info (Required)

What to do:
1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
2. Run the script using `python diagnose.py` and paste its output here.
y.glushenkov@ml-dev-env:~/Downloads/incubator-mxnet$ python diagnose.py
----------Python Info----------
Version      : 3.7.0
Compiler     : GCC 7.2.0
Build        : ('default', 'Jun 28 2018 13:15:42')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 18.1
Directory    : /home/y.glushenkov/anaconda3/lib/python3.7/site-packages/pip
----------MXNet Info-----------
Version      : 1.3.1
Directory    : /home/y.glushenkov/anaconda3/lib/python3.7/site-packages/mxnet
Commit Hash   : 19c501680183237d52a862e6ae1dc4ddc296305b
----------System Info----------
Platform     : Linux-4.4.0-139-generic-x86_64-with-debian-stretch-sid
system       : Linux
node         : ml-dev-env
release      : 4.4.0-139-generic
version      : #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018
----------Hardware Info----------
machine      : x86_64
processor    : x86_64
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                24
On-line CPU(s) list:   0-23
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             24
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 94
Model name:            Intel Core Processor (Skylake, IBRS)
Stepping:              3
CPU MHz:               2099.983
BogoMIPS:              4230.21
L1d cache:             32K
L1i cache:             32K
L2 cache:              4096K
L3 cache:              16384K
NUMA node0 CPU(s):     0-23
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ibrs ibpb stibp kaiser fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0265 sec, LOAD: 0.7909 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0016 sec, LOAD: 1.1606 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0012 sec, LOAD: 0.8393 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0007 sec, LOAD: 0.3140 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0007 sec, LOAD: 0.8238 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0007 sec, LOAD: 0.1696 sec.

Package used (Python/R/Scala/Julia): C++

MXNet commit hash: (Paste the output of git rev-parse HEAD here.)

y.glushenkov@ml-dev-env:~/Downloads/incubator-mxnet$ git rev-parse HEAD
e8a2b8b9fdafaccbf65397cec142fffcae2289b7

Build config: (Paste the content of config.mk, or the build command.)

y.glushenkov@ml-dev-env:~/Downloads/incubator-mxnet$ cat config.mk
USE_OPENCV = 1
USE_BLAS = openblas
USE_CUDA = 1
USE_CUDA_PATH = /usr/local/cuda
USE_CUDNN = 1
y.glushenkov@m

Error Message:

On the step ninja -v I got following error unsupported gpu architecture 61

The full error log

y.glushenkov@ml-dev-env:~/Downloads/incubator-mxnet$ ninja -v
[1/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_dropout.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_dropout.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_dropout.cu.o.cmake
[2/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_layer_norm.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_layer_norm.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_layer_norm.cu.o.cmake
[3/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_lrn.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_lrn.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_lrn.cu.o.cmake
[4/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_pooling.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_pooling.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_pooling.cu.o.cmake
[5/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/./cuda_compile_1_generated_ndarray_function.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/./cuda_compile_1_generated_ndarray_function.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/cuda_compile_1_generated_ndarray_function.cu.o.cmake
[6/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_random_generator.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_random_generator.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/cuda_compile_1_generated_random_generator.cu.o.cmake
[7/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_bilinear_sampler.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_bilinear_sampler.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/cuda_compile_1_generated_bilinear_sampler.cu.o.cmake
[8/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_batch_norm_v1.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_batch_norm_v1.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/cuda_compile_1_generated_batch_norm_v1.cu.o.cmake
[9/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_gradient_compression.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_gradient_compression.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/cuda_compile_1_generated_gradient_compression.cu.o.cmake
[10/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_utils.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_utils.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/cuda_compile_1_generated_utils.cu.o.cmake
[11/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_kvstore_utils.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_kvstore_utils.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/cuda_compile_1_generated_kvstore_utils.cu.o.cmake
[12/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_dgl_graph.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_dgl_graph.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_dgl_graph.cu.o.cmake
[13/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_psroi_pooling.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_psroi_pooling.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_deformable_psroi_pooling.cu.o.cmake
[14/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_index_copy.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_index_copy.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_index_copy.cu.o.cmake
[15/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_fft.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_fft.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_fft.cu.o.cmake
[16/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_ifft.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_ifft.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_ifft.cu.o.cmake
[17/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multi_proposal.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multi_proposal.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multi_proposal.cu.o.cmake
[18/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_detection.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_detection.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multibox_detection.cu.o.cmake
[19/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adaptive_avg_pooling.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adaptive_avg_pooling.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_adaptive_avg_pooling.cu.o.cmake
[20/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adamw.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adamw.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_adamw.cu.o.cmake
[21/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_count_sketch.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_count_sketch.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_count_sketch.cu.o.cmake
[22/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_convolution.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_convolution.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_deformable_convolution.cu.o.cmake
[23/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bilinear_resize.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bilinear_resize.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_bilinear_resize.cu.o.cmake
[24/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bounding_box.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bounding_box.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_bounding_box.cu.o.cmake
[25/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_target.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_target.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multibox_target.cu.o.cmake
[26/525] cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_prior.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_prior.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multibox_prior.cu.o.cmake
FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_psroi_pooling.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_psroi_pooling.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_deformable_psroi_pooling.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_deformable_psroi_pooling.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_psroi_pooling.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_kvstore_utils.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_kvstore_utils.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/cuda_compile_1_generated_kvstore_utils.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_kvstore_utils.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_kvstore_utils.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_fft.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_fft.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_fft.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_fft.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_fft.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_layer_norm.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_layer_norm.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_layer_norm.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_layer_norm.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_layer_norm.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_index_copy.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_index_copy.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_index_copy.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_index_copy.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_index_copy.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_count_sketch.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_count_sketch.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_count_sketch.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_count_sketch.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_count_sketch.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_prior.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_prior.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multibox_prior.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_multibox_prior.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_prior.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_lrn.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_lrn.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_lrn.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_lrn.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_lrn.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_ifft.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_ifft.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_ifft.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_ifft.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_ifft.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multi_proposal.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multi_proposal.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multi_proposal.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_multi_proposal.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multi_proposal.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_detection.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_detection.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multibox_detection.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_multibox_detection.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_detection.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adaptive_avg_pooling.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adaptive_avg_pooling.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_adaptive_avg_pooling.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_adaptive_avg_pooling.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adaptive_avg_pooling.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_convolution.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_convolution.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_deformable_convolution.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_deformable_convolution.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_deformable_convolution.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bounding_box.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bounding_box.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_bounding_box.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_bounding_box.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bounding_box.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_pooling.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_pooling.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_pooling.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_pooling.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_pooling.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_dropout.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_dropout.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/cuda_compile_1_generated_dropout.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_dropout.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/nn/./cuda_compile_1_generated_dropout.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bilinear_resize.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bilinear_resize.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_bilinear_resize.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_bilinear_resize.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_bilinear_resize.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_batch_norm_v1.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_batch_norm_v1.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/cuda_compile_1_generated_batch_norm_v1.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_batch_norm_v1.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_batch_norm_v1.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/./cuda_compile_1_generated_ndarray_function.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/./cuda_compile_1_generated_ndarray_function.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/cuda_compile_1_generated_ndarray_function.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_ndarray_function.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/ndarray/./cuda_compile_1_generated_ndarray_function.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_bilinear_sampler.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_bilinear_sampler.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/cuda_compile_1_generated_bilinear_sampler.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_bilinear_sampler.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/./cuda_compile_1_generated_bilinear_sampler.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_utils.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_utils.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/cuda_compile_1_generated_utils.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_utils.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_utils.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_target.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_target.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_multibox_target.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_multibox_target.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_multibox_target.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adamw.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adamw.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_adamw.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_adamw.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_adamw.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_gradient_compression.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_gradient_compression.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/cuda_compile_1_generated_gradient_compression.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_gradient_compression.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/kvstore/./cuda_compile_1_generated_gradient_compression.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_dgl_graph.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_dgl_graph.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/cuda_compile_1_generated_dgl_graph.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_dgl_graph.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/operator/contrib/./cuda_compile_1_generated_dgl_graph.cu.o

FAILED: cd /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common && /opt/cmake/bin/cmake -E make_directory /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/. && /opt/cmake/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING= -D generated_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_random_generator.cu.o -D generated_cubin_file:STRING=/home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_random_generator.cu.o.cubin.txt -P /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/cuda_compile_1_generated_random_generator.cu.o.cmake
nvcc fatal   : Unsupported gpu architecture 'compute_61'
CMake Error at cuda_compile_1_generated_random_generator.cu.o.cmake:219 (message):
  Error generating
  /home/y.glushenkov/Downloads/incubator-mxnet/CMakeFiles/cuda_compile_1.dir/src/common/./cuda_compile_1_generated_random_generator.cu.o

ninja: build stopped: subcommand failed.

Steps to reproduce

cd ~

wget https://raw.githubusercontent.com/apache/incubator-mxnet/master/ci/docker/install/ubuntu_core.sh
wget https://raw.githubusercontent.com/apache/incubator-mxnet/master/ci/docker/install/ubuntu_python.sh
sudo sh ./ubuntu_core.sh
sudo sh ./ubuntu_python.sh

pip install mxnet-cu92
pip install mxnet-cu92mkl

cd docs/install
./install_mxnet_ubuntu_python.sh

sudo apt-get update
sudo apt-get install -y build-essential git

sudo apt-get install -y libopenblas-dev

sudo apt-get install -y libopencv-dev

git clone --recursive https://github.com/apache/incubator-mxnet.git
cd incubator-mxnet
echo "USE_OPENCV = 1" >> ./config.mk
echo "USE_BLAS = openblas" >> ./config.mk
echo "USE_CUDA = 1" >> ./config.mk
echo "USE_CUDA_PATH = /usr/local/cuda" >> ./config.mk
echo "USE_CUDNN = 1" >> ./config.mk
make -j $(nproc)

export LD_LIBRARY_PATH=$PWD/lib

cmake -DUSE_CUDA=1 -DUSE_CUDA_PATH=/usr/local/cuda-9.2 -DUSE_CUDNN=1 -DUSE_MKLDNN=1 -DUSE_CPP_PACKAGE=1 -GNinja .
ninja -v
Arxemond777 commented 5 years ago

I performed cmake -DUSE_CUDA=1 -DUSE_CUDA_PATH=/usr/local/cuda-9.2 -DCUDA_VERSION=9.2 -DUSE_CUDNN=1 -DUSE_MKLDNN=1 -DUSE_CPP_PACKAGE=1 -GNinja . with the CUDA_VERSION=9.2 key, but I still have error with running ninja -v

ThomasDelteil commented 5 years ago

@Arxemond777 the USE_CPP_PACKAGE=1 is necessary only when building MXNet itself, this will generate your missing op.h

as for the missing architecture, I am not sure the architecture 61 is listed in the Makefile. I don't know why you are getting this error.

@lebeg what do you think of this? Is it CMAKE related?

piyushghai commented 5 years ago

@mxnet-label-bot Add [C++, Build]

lebeg commented 5 years ago

@Arxemond777 with the steps you provided it seems that you are building first with make and then with cmake. You could try to stick to either of the options:

  1. Try to add a line before the make command:
echo "USE_CPP_PACKAGE = 1" >> ./config.mk

This should generate you the mxnet/op.h file.

  1. Or you the cmake command from the beginning and skip the make part.
Arxemond777 commented 5 years ago

@Arxemond777 with the steps you provided it seems that you are building first with make and then with cmake. You could try to stick to either of the options:

  1. Try to add a line before the make command:
echo "USE_CPP_PACKAGE = 1" >> ./config.mk

This should generate you the mxnet/op.h file.

  1. Or you the cmake command from the beginning and skip the make part.

Thanks. 1st item works for me. At first I just add echo "USE_CPP_PACKAGE = 1" >> ./config.mk and tried make all in ~/Downloads/incubator-mxnet/cpp-package/example/inference and I had a such error

y.glushenkov@ml-dev-env:~/Downloads/incubator-mxnet/cpp-package/example/inference$ make -j 15 g++ -std=c++0x -I../../../3rdparty/tvm/nnvm/include -I../../../3rdparty/dmlc-core/include -I ../../include -I ../../../include -Wall -O3 -msse3 -funroll-loops -Wno-unused-parameter -Wno-unknown-pragmas -I ./ -o inception_inference inception_inference.cpp -L../../../lib -lmxnet pkg-config --libs opencv /usr/bin/ld: warning: libmklmlintel.so, needed by ../../../lib/libmxnet.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libmkldnn.so.0, needed by ../../../lib/libmxnet.so, not found (try using -rpath or -rpath-link) ../../../lib/libmxnet.so: undefined reference to `lsame' ../../../lib/libmxnet.so: undefined reference to vslDeleteStream' ../../../lib/libmxnet.so: undefined reference tomkldnn_primitive_desc_querypd' ../../../lib/libmxnet.so: undefined reference to `sdot' ../../../lib/libmxnet.so: undefined reference to cblas_dtrsm' ../../../lib/libmxnet.so: undefined reference tomkldnn_lrn_backward_desc_init' ../../../lib/libmxnet.so: undefined reference to mkldnn_dilated_convolution_forward_desc_init' ../../../lib/libmxnet.so: undefined reference tomkldnn_batch_normalization_backward_desc_init' ../../../lib/libmxnet.so: undefined reference to cblas_dgemm' ../../../lib/libmxnet.so: undefined reference tomkldnn_eltwise_backward_descinit' ../../../lib/libmxnet.so: undefined reference to `dger' ../../../lib/libmxnet.so: undefined reference to sgesdd_' ../../../lib/libmxnet.so: undefined reference tosgeqrf_' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_desc_query_memory_d' ../../../lib/libmxnet.so: undefined reference tomkldnn_pooling_backward_desc_init' ../../../lib/libmxnet.so: undefined reference to cblas_cgemm' ../../../lib/libmxnet.so: undefined reference tovslSkipAheadStream' ../../../lib/libmxnet.so: undefined reference to dsymv_' ../../../lib/libmxnet.so: undefined reference todpotri' ../../../lib/libmxnet.so: undefined reference to `scopy' ../../../lib/libmxnet.so: undefined reference to sger_' ../../../lib/libmxnet.so: undefined reference tomkldnn_primitive_get_primitivedesc' ../../../lib/libmxnet.so: undefined reference to `xerbla' ../../../lib/libmxnet.so: undefined reference to mkldnn_reorder_primitive_desc_create_v2' ../../../lib/libmxnet.so: undefined reference tossyr2k' ../../../lib/libmxnet.so: undefined reference to `dgesv' ../../../lib/libmxnet.so: undefined reference to mkldnn_inner_product_forward_desc_init' ../../../lib/libmxnet.so: undefined reference tomkldnn_batch_normalization_forward_desc_init' ../../../lib/libmxnet.so: undefined reference to cblas_dsyrk' ../../../lib/libmxnet.so: undefined reference tomkldnn_sum_primitive_desc_create' ../../../lib/libmxnet.so: undefined reference to mkldnn_inner_product_backward_weights_desc_init' ../../../lib/libmxnet.so: undefined reference tomkldnn_lrn_forward_descinit' ../../../lib/libmxnet.so: undefined reference to `ssymv' ../../../lib/libmxnet.so: undefined reference to mkldnn_engine_destroy' ../../../lib/libmxnet.so: undefined reference tomkldnn_memory_primitive_desccreate' ../../../lib/libmxnet.so: undefined reference to `dcopy' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_attr_create' ../../../lib/libmxnet.so: undefined reference tomkldnn_inner_product_backward_data_desc_init' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_attr_destroy' ../../../lib/libmxnet.so: undefined reference tocblas_ssyrk' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_desc_destroy' ../../../lib/libmxnet.so: undefined reference tostrmm' ../../../lib/libmxnet.so: undefined reference to `sgemm' ../../../lib/libmxnet.so: undefined reference to strsm_' ../../../lib/libmxnet.so: undefined reference tomkldnn_memory_descinit' ../../../lib/libmxnet.so: undefined reference to `dsyr2k' ../../../lib/libmxnet.so: undefined reference to mkldnn_dilated_convolution_backward_data_desc_init' ../../../lib/libmxnet.so: undefined reference tomkldnn_pooling_forward_descinit' ../../../lib/libmxnet.so: undefined reference to `dsyr2' ../../../lib/libmxnet.so: undefined reference to mkldnn_convolution_backward_weights_desc_init' ../../../lib/libmxnet.so: undefined reference tovslNewStream' ../../../lib/libmxnet.so: undefined reference to dpotrf_' ../../../lib/libmxnet.so: undefined reference tomkldnn_primitive_desc_query' ../../../lib/libmxnet.so: undefined reference to mkldnn_dilated_convolution_backward_weights_desc_init' ../../../lib/libmxnet.so: undefined reference todswap_' ../../../lib/libmxnet.so: undefined reference to mkldnn_stream_submit' ../../../lib/libmxnet.so: undefined reference tomkldnn_memory_primitive_desc_get_size' ../../../lib/libmxnet.so: undefined reference to cblas_strsm' ../../../lib/libmxnet.so: undefined reference tocblasdtrmm' ../../../lib/libmxnet.so: undefined reference to `daxpy' ../../../lib/libmxnet.so: undefined reference to dgeqrf_' ../../../lib/libmxnet.so: undefined reference tocblas_strmm' ../../../lib/libmxnet.so: undefined reference to mkldnn_eltwise_forward_desc_init' ../../../lib/libmxnet.so: undefined reference toidamax' ../../../lib/libmxnet.so: undefined reference to `sposv' ../../../lib/libmxnet.so: undefined reference to cblas_sger' ../../../lib/libmxnet.so: undefined reference tomkldnn_primitive_destroy' ../../../lib/libmxnet.so: undefined reference to viRngBernoulli' ../../../lib/libmxnet.so: undefined reference tomkldnn_convolution_backward_data_desc_init' ../../../lib/libmxnet.so: undefined reference to mkldnn_reorder_primitive_desc_create' ../../../lib/libmxnet.so: undefined reference tomkldnn_memory_set_datahandle' ../../../lib/libmxnet.so: undefined reference to `isamax' ../../../lib/libmxnet.so: undefined reference to mkldnn_engine_create' ../../../lib/libmxnet.so: undefined reference todtrmv_' ../../../lib/libmxnet.so: undefined reference to cblas_ddot' ../../../lib/libmxnet.so: undefined reference tomkldnn_view_primitive_desc_create' ../../../lib/libmxnet.so: undefined reference to mkldnn_convolution_forward_desc_init' ../../../lib/libmxnet.so: undefined reference tosrot_' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_attr_set_output_scales' ../../../lib/libmxnet.so: undefined reference todgemv_' ../../../lib/libmxnet.so: undefined reference to cblas_zgemm' ../../../lib/libmxnet.so: undefined reference tomkldnn_primitive_attr_set_int_output_round_mode' ../../../lib/libmxnet.so: undefined reference to mkldnn_softmax_forward_desc_init' ../../../lib/libmxnet.so: undefined reference todscal' ../../../lib/libmxnet.so: undefined reference to `dnrm2' ../../../lib/libmxnet.so: undefined reference to dgemm_' ../../../lib/libmxnet.so: undefined reference tocblas_sgemm' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_desc_create' ../../../lib/libmxnet.so: undefined reference tosgesv_' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_create' ../../../lib/libmxnet.so: undefined reference tomkldnn_primitiveat' ../../../lib/libmxnet.so: undefined reference to `dtrsm' ../../../lib/libmxnet.so: undefined reference to mkldnn_concat_primitive_desc_create' ../../../lib/libmxnet.so: undefined reference todgetrf' ../../../lib/libmxnet.so: undefined reference to `sgetrf' ../../../lib/libmxnet.so: undefined reference to dtrmm_' ../../../lib/libmxnet.so: undefined reference tomkldnn_streamdestroy' ../../../lib/libmxnet.so: undefined reference to `spotrf' ../../../lib/libmxnet.so: undefined reference to mkldnn_primitive_get_output' ../../../lib/libmxnet.so: undefined reference tomkldnn_primitive_descclone' ../../../lib/libmxnet.so: undefined reference to `dgesdd' ../../../lib/libmxnet.so: undefined reference to strmv_' ../../../lib/libmxnet.so: undefined reference tosaxpy' ../../../lib/libmxnet.so: undefined reference to `spotri' ../../../lib/libmxnet.so: undefined reference to sgemv_' ../../../lib/libmxnet.so: undefined reference tomkldnn_stream_create' ../../../lib/libmxnet.so: undefined reference to mkldnn_stream_wait' ../../../lib/libmxnet.so: undefined reference toddot' ../../../lib/libmxnet.so: undefined reference to `snrm2' ../../../lib/libmxnet.so: undefined reference to dposv_' ../../../lib/libmxnet.so: undefined reference tossyr2_' ../../../lib/libmxnet.so: undefined reference to mkldnn_memory_get_data_handle' ../../../lib/libmxnet.so: undefined reference tocblasdger' ../../../lib/libmxnet.so: undefined reference to `drot' ../../../lib/libmxnet.so: undefined reference to mkldnn_memory_primitive_desc_equal' ../../../lib/libmxnet.so: undefined reference tosscal' ../../../lib/libmxnet.so: undefined reference to `sswap' ../../../lib/libmxnet.so: undefined reference to `cblas_sdot' collect2: error: ld returned 1 exit status Makefile:37: recipe for target 'inception_inference' failed make: *** [inception_inference] Error 1

but after it I run ninja -v in ~/Downloads/incubator-mxnet/ and did again make -j 15 in ~/Downloads/incubator-mxnet/cpp-package/example and example from ~/Downloads/incubator-mxnet/cpp-package/example/inference started work after it.