hubutui opened a new issue #15324: im2rec is not installed
URL: https://github.com/apache/incubator-mxnet/issues/15324
 
 
   ## Description
   `im2rec` binary is not installed in the final step `ninja install` when 
using cmake+ninja.
   ## Environment info (Required)
   
   ```
   ----------Python Info----------
   Version      : 3.7.3
   Compiler     : GCC 8.2.1 20181127
   Build        : ('default', 'Mar 26 2019 21:43:19')
   Arch         : ('64bit', 'ELF')
   ------------Pip Info-----------
   Version      : 19.0.3
   Directory    : /usr/lib/python3.7/site-packages/pip
   ----------MXNet Info-----------
   Version      : 1.5.0
   Directory    : /usr/lib/python3.7/site-packages/mxnet
   Hashtag not found. Not installed from pre-built package.
   ----------System Info----------
   Platform     : Linux-5.1.11-arch1-1-ARCH-x86_64-with-arch
   system       : Linux
   node         : lab-linux-06
   release      : 5.1.11-arch1-1-ARCH
   version      : #1 SMP PREEMPT Mon Jun 17 18:56:30 UTC 2019
   ----------Hardware Info----------
   machine      : x86_64
   processor    : 
   Architecture:        x86_64
   CPU op-mode(s):      32-bit, 64-bit
   Byte Order:          Little Endian
   Address sizes:       46 bits physical, 48 bits virtual
   CPU(s):              48
   On-line CPU(s) list: 0-47
   Thread(s) per core:  2
   Core(s) per socket:  12
   Socket(s):           2
   NUMA node(s):        2
   Vendor ID:           GenuineIntel
   CPU family:          6
   Model:               79
   Model name:          Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz
   Stepping:            1
   CPU MHz:             1199.366
   CPU max MHz:         2900.0000
   CPU min MHz:         1200.0000
   BogoMIPS:            4391.42
   Virtualization:      VT-x
   L1d cache:           32K
   L1i cache:           32K
   L2 cache:            256K
   L3 cache:            30720K
   NUMA node0 CPU(s):   0-11,24-35
   NUMA node1 CPU(s):   12-23,36-47
   Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx 
pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology 
nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est 
tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt 
tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch 
cpuid_fault epb cat_l3 cdp_l3 invpcid_single pti intel_ppin ssbd ibrs ibpb 
stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle 
avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap intel_pt xsaveopt 
cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts 
md_clear flush_l1d
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0044 
sec, LOAD: 1.8240 sec.
   Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 10.0136 sec, 
LOAD: 9.4281 sec.
   Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 10.0136 sec, LOAD: 
2.9053 sec.
   Timing for FashionMNIST: 
https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz,
 DNS: 10.0129 sec, LOAD: 11.5818 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0032 sec, LOAD: 
11.6175 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 10.0135 sec, 
LOAD: 5.9925 sec.
   ```
   
   Package used (Python/R/Scala/Julia):
   python
   
   ## Build info (Required if built from source)
   
   Compiler (gcc/clang/mingw/visual studio): clang
   
   MXNet commit hash:
   4d96671
   
   Build config:
   ```
     mkdir build
     cd build
     cmake \
       -DBUILD_CPP_EXAMPLES=OFF \
       -DUSE_CPP_PACKAGE=ON \
       -DBUILD_TESTING=ON \
       -DCMAKE_BUILD_TYPE:String=Release \
       -DCMAKE_C_COMPILER=clang \
       -DCMAKE_CXX_COMPILER=clang++ \
       -DCMAKE_EXE_LINKER_FLAGS="$(pkg-config --libs cblas)" \
       -DCMAKE_INSTALL_LIBDIR:PATH=lib \
       -DCMAKE_INSTALL_PREFIX:PATH=/usr \
       -DCMAKE_SHARED_LINKER_FLAGS="$(pkg-config --libs cblas)" \
       -DUSE_BLAS=open \
       -DUSE_CUDA:BOOL=OFF \
       -DUSE_CUDNN:BOOL=OFF \
       -DUSE_GPERFTOOLS:BOOL=OFF \
       -DUSE_JEMALLOC:BOOL=OFF \
       -DUSE_MKLDNN:BOOL=OFF \
       -DUSE_NCCL:BOOL=OFF \
       -DUSE_OPENCV:BOOL=ON \
       -GNinja \
       ..
     ninja -v -l$(nproc)
     ninja install
   ```
   ## Error Message:
   `im2rec` is compiled and presents in `build` but not install to system in 
the final `ninja install` step.
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to