You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/02/08 19:02:44 UTC
[GitHub] chris-english commented on issue #13859: Newly updated Makefile
generate path errors
chris-english commented on issue #13859: Newly updated Makefile generate path errors
URL: https://github.com/apache/incubator-mxnet/issues/13859#issuecomment-461910025
Double R-Package/Rpackage still makes cp have trouble finding:
chris@jacie:~/.virtualenvs/mx_cv4/mxnet$ ls lib
libiomp5.so libmkldnn.so.0 libmklml_intel.so libmxnet.a libmxnet.so
chris@jacie:~/.virtualenvs/mx_cv4/mxnet$ workon mx_cv4
(mx_cv4) chris@jacie:~/.virtualenvs/mx_cv4/mxnet$ python
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mxnet
>>> mxnet.__version__
'1.5.0'
>>>
> sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.1 LTS Matrix products: default BLAS: /usr/local/lib64/R/lib/libRblas.so LAPACK: /usr/local/lib64/R/lib/libRlapack.so locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8 [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 [7] LC_PAPER=en_US.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_3.5.1 tools_3.5.1 yaml_2.2.0
--
chris@jacie:~/.virtualenvs/mx_cv4/mxnet$ make rpkg
Makefile:313: WARNING: Significant performance increases can be achieved by installing and enabling gperftools or jemalloc development packages
mkdir -p R-package/inst/libs
cp src/io/image_recordio.h R-package/src
cp -rf lib/libmxnet.so R-package/inst/libs
mkdir -p R-package/inst/include
cp -rf include/* R-package/inst/include
rm R-package/inst/include/dmlc
rm R-package/inst/include/nnvm
cp -rf 3rdparty/dmlc-core/include/* R-package/inst/include/
cp -rf 3rdparty/tvm/nnvm/include/* R-package/inst/include
Rscript -e "if(!require(devtools)){install.packages('devtools', repo = 'https://cloud.r-project.org/')}"
Loading required package: devtools
Rscript -e "library(devtools); library(methods); options(repos=c(CRAN='https://cloud.r-project.org/')); install_deps(pkg='R-package', dependencies = TRUE)"
cp R-package/dummy.NAMESPACE R-package/NAMESPACE
echo "import(Rcpp)" >> R-package/NAMESPACE
R CMD INSTALL R-package
* installing to library ‘/home/chris/R/x86_64-pc-linux-gnu-library/3.5’
* installing *source* package ‘mxnet’ ...
** libs
make[1]: Entering directory '/home/chris/.virtualenvs/mx_cv4/mxnet/R-package/src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/chris/.virtualenvs/mx_cv4/mxnet/R-package/src'
installing to /home/chris/R/x86_64-pc-linux-gnu-library/3.5/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
[1] "Loading local: inst/libs/libmxnet.so"
Error: package or namespace load failed for ‘mxnet’:
.onLoad failed in loadNamespace() for 'mxnet', details:
call: dyn.load("R-package/inst/libs/libmxnet.so", local = FALSE)
error: unable to load shared object '/home/chris/.virtualenvs/mx_cv4/mxnet/R-package/R-package/inst/libs/libmxnet.so':
/home/chris/.virtualenvs/mx_cv4/mxnet/R-package/R-package/inst/libs/libmxnet.so: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/chris/R/x86_64-pc-linux-gnu-library/3.5/mxnet’
Makefile:599: recipe for target 'rpkg' failed
make: *** [rpkg] Error 1
chris@jacie:~/.virtualenvs/mx_cv4/mxnet$
also tried the `echo "USE_MKLDNN = 0" >> ./config.mk` but same results. What did the solution turn out to be?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services