k128 commented on issue #14664: tools/staticbuild/build.sh uses AVX2 instruction set URL: https://github.com/apache/incubator-mxnet/issues/14664#issuecomment-577978683 It took me a long time to get the output since for some reason, sending the output to a text file was causing cc1plus processes to spawn until the system crashed from lack of memory. Eventually I figured out what was causing the issue (still no idea why) and used script instead. Here's where I'm at: Code I ran: sudo apt install -y build-essential git libopenblas-dev liblapack-dev libopencv-dev graphviz git clone --recursive https://github.com/apache/incubator-mxnet.git cd ~/incubator-mxnet && mkdir build && cd build cmake -DUSE_CUDA=OFF -DUSE_MKL_IF_AVAILABLE=ON -DUSE_MKLDNN=ON -DUSE_OPENMP=ON -DUSE_OPENCV=ON ..>cmakeincmx.txt script makeincmx.txt make -j 4 exit git clone --recursive https://github.com/apache/incubator-mxnet.git ~/mxnet cd ~/mxnet && rm -rf build && mkdir -p build && cd build cmake -GNinja \ -DUSE_CUDA=OFF \ -DUSE_MKL_IF_AVAILABLE=ON \ -DCMAKE_BUILD_TYPE=Release \ ..>cmakemxnet.txt ninja -j4>ninjamxnet.txt cd ~/mxnet/python pip3 install --user . Output (additional files attached) [cmakeincmx.txt](https://github.com/apache/incubator-mxnet/files/4106721/cmakeincmx.txt) [makeincmx.txt](https://github.com/apache/incubator-mxnet/files/4106722/makeincmx.txt) [cmakemxnet.txt](https://github.com/apache/incubator-mxnet/files/4106724/cmakemxnet.txt) [ninjamxnet.txt](https://github.com/apache/incubator-mxnet/files/4106725/ninjamxnet.txt) : Processing /home/k64/mxnet/python Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-k46flbau-build/setup.py", line 47, in <module> LIB_PATH = libinfo['find_lib_path']() File "/tmp/pip-k46flbau-build/mxnet/libinfo.py", line 73, in find_lib_path raise RuntimeError('Cannot find the MXNet library.\n' + RuntimeError: Cannot find the MXNet library. List of candidates: /usr/local/cuda-6.5/lib64/libmxnet.so libmxnet.so /tmp/pip-k46flbau-build/mxnet/libmxnet.so /tmp/pip-k46flbau-build/mxnet/../../lib/libmxnet.so /tmp/pip-k46flbau-build/mxnet/../../build/libmxnet.so ../../../libmxnet.so ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-k46flbau-build/
---------------------------------------------------------------- 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
