Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

unable to load mxnet in Rstudio using GPU #347

@mpearmain

Description

@mpearmain

changed config.mk

whether use CUDA during compile

USE_CUDA = 1

add the path to CUDA libary to link and compile flag

if you have already add them to enviroment variable, leave it as NONE

USE_CUDA_PATH = /usr/local/cuda
#USE_CUDA_PATH = NONE

everything builds and R-package installs

Compiles and can load via CLI

library(mxnet)

Within Rstudio fails

library(mxnet)
Error : .onLoad failed in loadNamespace() for 'mxnet', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared object '/home/mpearmain/R/x86_64-pc-linux-gnu-library/3.2/mxnet/libs/libmxnet.so':
libcudart.so.7.0: cannot open shared object file: No such file or directory
Error: package or namespace load failed for ‘mxnet’

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions