You are viewing a plain text version of this content. The canonical link for it is here.
Posted to discuss-archive@mxnet.apache.org by mxnoob via MXNet Forum <mx...@discoursemail.com.INVALID> on 2020/08/04 10:56:20 UTC
[MXNet Forum] [Discussion] R module for Windows fails to load
All of the various sets of instructions for building mxnet with R for GPU on Windows have problems so I'm trying to build from source.
I've built mxnet branch 1.7.x successfully. I've built the R library mxnet.dll successfully.
The error comes when loading the R module, as seen in the source code R/zzz.R,
it fails calling `loadModule('mxnet')` giving `ERROR: loading failed`.
I can't work out what loadModule is trying to do, and why it is failing. Any ideas?
```
.onLoad <- function(libname, pkgname) {
require(methods)
library.dynam("libmxnet", pkgname, libname, local=FALSE) # SUCCESSFUL
library.dynam("mxnet", pkgname, libname) # SUCCESSFUL
loadModule("mxnet", TRUE) # ERROR: loading failed
init.symbol.methods()
init.context.default()
}
```
---
[Visit Topic](https://discuss.mxnet.io/t/r-module-for-windows-fails-to-load/6462/1) or reply to this email to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click here](https://discuss.mxnet.io/email/unsubscribe/f1ea109a55ff7d96a265e61f01cfa9633e79381f72a7c3ebdffb0ed6bd29b1f4).