access2rohit opened a new issue #19252: URL: https://github.com/apache/incubator-mxnet/issues/19252
## Description I am able to build MXNet with USE_CPP_PACKAGE=ON but unable to build examples in cpp-package/examples folder in v1.6.x branch: https://github.com/apache/incubator-mxnet/tree/v1.6.x/cpp-package/example ### Error Message ``` ubuntu@ip-172-31-0-156 ~/workspace/incubator-mxnet/cpp-package/example (v1.6.x) $ make debug File train-images-idx3-ubyte already downloaded. File train-labels-idx1-ubyte already downloaded. File t10k-images-idx3-ubyte already downloaded. File t10k-labels-idx1-ubyte already downloaded. File mnist_train.csv already downloaded. make: File: Command not found Makefile:25: recipe for target 'prebuild' failed make: *** [prebuild] Error 127 ``` ## To Reproduce MXNet GPU build with additional flag USE_CPP_PACKAGE=ON ### Steps to reproduce (Paste the commands you ran that produced the error.) 1. Build MXNet with GPU support 2. cd cpp-package/example 3. make all ## What have you tried to solve it? 1. Tried adding debug messages 2. added echo messages to debug ## Environment We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below: ``` curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python # paste outputs here ubuntu@ip-172-31-0-156 ~/workspace/incubator-mxnet/cpp-package/example (v1.6.x) $ curl --retry 10 -s https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py | python ----------Python Info---------- Version : 3.6.10 Compiler : GCC 7.3.0 Build : ('default', 'Jan 7 2020 21:14:29') Arch : ('64bit', '') ------------Pip Info----------- Version : 20.2.2 Directory : /home/ubuntu/anaconda3/lib/python3.6/site-packages/pip ----------MXNet Info----------- Version : 1.6.0 Directory : /home/ubuntu/workspace/incubator-mxnet/python/mxnet Commit hash file "/home/ubuntu/workspace/incubator-mxnet/python/mxnet/COMMIT_HASH" not found. Not installed from pre-built package or built from source. Library : ['/home/ubuntu/workspace/incubator-mxnet/python/mxnet/../../build/libmxnet.so'] Build features: ✔ CUDA ✔ CUDNN ✖ NCCL ✔ CUDA_RTC ✖ TENSORRT ✔ CPU_SSE ✔ CPU_SSE2 ✔ CPU_SSE3 ✔ CPU_SSE4_1 ✔ CPU_SSE4_2 ✖ CPU_SSE4A ✔ CPU_AVX ✖ CPU_AVX2 ✔ OPENMP ✖ SSE ✔ F16C ✖ JEMALLOC ✔ BLAS_OPEN ✖ BLAS_ATLAS ✖ BLAS_MKL ✖ BLAS_APPLE ✔ LAPACK ✔ MKLDNN ✔ OPENCV ✖ CAFFE ✖ PROFILER ✖ DIST_KVSTORE ✖ CXX14 ✔ INT64_TENSOR_SIZE ✔ SIGNAL_HANDLER ✔ DEBUG ✖ TVM_OP ----------System Info---------- Platform : Linux-5.4.0-1025-aws-x86_64-with-debian-buster-sid system : Linux node : ip-172-31-0-156 release : 5.4.0-1025-aws version : #25~18.04.1-Ubuntu SMP Fri Sep 11 12:03:04 UTC 2020 ----------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): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 2 Core(s) per socket: 16 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 79 Model name: Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz Stepping: 1 CPU MHz: 2703.703 CPU max MHz: 3000.0000 CPU min MHz: 1200.0000 BogoMIPS: 4600.01 Hypervisor vendor: Xen Virtualization type: full L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 46080K NUMA node0 CPU(s): 0-15,32-47 NUMA node1 CPU(s): 16-31,48-63 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq monitor est ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch cpuid_fault invpcid_single pti fsgsbase bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx xsaveopt ida ----------Network Test---------- Setting timeout: 10 Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0031 sec, LOAD: 0.4881 sec. Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.1066 sec, LOAD: 0.0416 sec. Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)>, DNS finished in 0.25240468978881836 sec. Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0088 sec, LOAD: 0.1420 sec. Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0034 sec, LOAD: 0.1066 sec. Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.02915787696838379 sec. ----------Environment---------- KMP_DUPLICATE_LIB_OK="True" KMP_INIT_AT_FORK="FALSE" ``` ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
