stathisar opened a new issue #20844: URL: https://github.com/apache/incubator-mxnet/issues/20844
While I installed successfully mxnet with r-package to my laptop device, I tried the same and similar ways to install it to my desktop and failed. Initially I cloned the repository: git clone --recursive https://github.com/apache/incubator-mxnet mxnet -b v1.9.x sudo apt-get update sudo apt-get install -y build-essential git ninja-build ccache libopenblas-dev libopencv-dev cmake sudo apt-get install -y nvidia-cuda-dev nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-cuda-toolkit-gcc # Nvidia CUDA even my graphics card eventually does not support the latest cuda versions. sudo apt-get install -y libmkl-full-dev # MKL cd mxnet cmake -DUSE_CUDA=0 -DUSE_CPP_PACKAGE=1 . make -j$(nproc) USE_CPP_PACKAGE=1 USE_CUDA=0 The above make triggers an error at 94% of ./cpp-package/scripts/OpWrapperGenerator.py The error mentions: "invalid pointer free()" When trying to install solely the r-package, by using CPP_PACKAGE=0 the compilation completes successfully. Then I type: sudo make install and: make -f R-package/Makefile rpkg after copying libmxnet.so within the R-package folder. However I am receiving similar error regarding pointers: installing to /usr/local/lib/R/site-library/00LOCK-R-package/00new/mxnet/libs ** R ** demo ** inst ** byte-compile and prepare package for lazy loading Note: ... may be used in an incorrect context ** help No man pages found in package ‘mxnet’ *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location free(): invalid pointer Aborted (core dumped) ERROR: loading failed * removing ‘/usr/local/lib/R/site-library/mxnet’ make: *** [Makefile:15: rpkg] Error 1 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
