howff opened a new issue #18860:
URL: https://github.com/apache/incubator-mxnet/issues/18860


   ## Description
   
   Whilst building the R package it attempts to perform a test load which 
fails. The call to `loadModule("mxnet")` in `R-package/R/zzz.R` fails, `ERROR: 
loading failed` is reported and the R package cannot be loaded into R.
   
   ### Error Message
   
   ```
   installing to C:\blah...
   ** R
   ** demo
   ** inst
   ** byte-compile and prepare package for lazy loading
   ** help
   ** installing vignettes
   ** testing if installed package can be loaded from temporary location
   ERROR: loading failed
   ```
   
   ## To Reproduce
   
   I have checked out the source code to mxnet branch 1.7.x (because that's 
marked as current release).
   The mxnet libraries build successfully (libmxnet.dll, etc).
   The R-package builds successfully (mxnet.dll).
   The installation fails to load the module.
   
   ### Steps to reproduce
   
   ```
   R CMD INSTALL --no-multiarch R-package
   ```
   
   ## What have you tried to solve it?
   
   1. I have tried both versions of R; R-3.6.3 and R-4.0.2
   2. I have inserted print statements into `R/zzz.R` to determine that the 
fault is in `loadModule("mxnet")`
   3. I have determined that the DLLs appear to load as library.dynam(libmxnet) 
and (mxnet) succeed.
   
   ## Environment
   
   Windows 10, R-4.0.2 and rtools40 AND R-3.6.3 and rtools35, nvidia CUDA 10.2, 
secondary GPU (GTX1050), openblas
   


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


Reply via email to