Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

It gets blocked when executing python binding during installation from source #10560

Closed
lionel92 opened this issue Apr 16, 2018 · 2 comments
Closed

Comments

@lionel92
Copy link

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.

For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io

Description

Build mxnet from source successfully. However, it always gets blocked when executing python binding.

Environment info (Required)

Centos Red Hat 4.8.5-16
GCC 4.8.5

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.

```----------Python Info----------
('Version      :', '2.7.5')
('Compiler     :', 'GCC 4.8.5 20150623 (Red Hat 4.8.5-16)')
('Build        :', ('default', 'Aug  4 2017 00:39:18'))
('Arch         :', ('64bit', 'ELF'))
------------Pip Info-----------
('Version      :', '10.0.0')
('Directory    :', '/home/linliu/test_env/lib/python2.7/site-packages/pip')
----------MXNet Info-----------
No MXNet installed.
----------System Info----------
('Platform     :', 'Linux-3.10.0-693.el7.x86_64-x86_64-with-centos-7.4.1708-Core')
('system       :', 'Linux')
('node         :', 'mlt-bdw035')
('release      :', '3.10.0-693.el7.x86_64')
('version      :', '#1 SMP Tue Aug 22 21:09:27 UTC 2017')
----------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):                44
On-line CPU(s) list:   0-43
Thread(s) per core:    1
Core(s) per socket:    22
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 79
Model name:            Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
Stepping:              1
CPU MHz:               1204.500
CPU max MHz:           3600.0000
CPU min MHz:           1200.0000
BogoMIPS:              4389.75
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              56320K
NUMA node0 CPU(s):     0-43
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 aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 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 epb cat_l3 cdp_l3 intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a rdseed adx smap xsaveopt cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0115 sec, LOAD: 1.3969 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0272 sec, LOAD: 0.5419 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0861 sec, LOAD: 1.2367 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0077 sec, LOAD: 0.8532 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.1732 sec, LOAD: 0.6349 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0083 sec, LOAD: 1.3902 sec.

Package used (Python/R/Scala/Julia):
(I'm using ...)
Python
## Build info (Required if built from source)

Compiler (gcc/clang/mingw/visual studio): gcc

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

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

## Error Message:
(Paste the complete error message, including stack trace.)
There is no error message. It just gets blocked and cannot continue when executing $ pip install -e .
Like :
(test_env)[linliu@mlt-bdw035 python]$ pip install -e .
Obtaining file:///home/linliu/incubator-mxnet/python

## Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)

## Steps to reproduce
(Paste the commands you ran that produced the error.)

1. make -j20 USE_OPENCV=1 USE_MKLDNN=1 USE_BLAS=mkl
##Successfully build libmxnet.so
2. cd python 
3.pip install -e .

## What have you tried to solve it?

1.
2.
@chinakook
Copy link
Contributor

Set 'USE_OPERATOR_TUNING = 0', It sometimes block executing in Ubuntu and always block executing in Windows.

@lionel92
Copy link
Author

@chinakook You really helps a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants