Giter Club home page Giter Club logo

Comments (3)

lenck avatar lenck commented on July 17, 2024

Hi, sorry for taking so long to respond...
To me it seems that the issue may be that you are using the system-wide CUDA library (/usr/local/cuda/lib64/libcudart.so.5.0) and linking it against the Matlab's libstdc++ ( /export/rel60_shadow/glue.umd.edu/software/matlab/2014a/Linux/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6).

Not 100% sure about it, but maybe try to use the LD_PRELOAD trick to force matlab to link against the system-wide library? E.g. starting matlab with this command (and filling proper path to your system's location of the libstdc++)

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 matlab

from matconvnet.

superhans avatar superhans commented on July 17, 2024

Hi Karel,

My LD_PRELOAD consists of the following :
LD_PRELOAD=/usr/local/cuda/lib64/libcudart.so.5.0:/usr/local/cuda/lib64/libcublas.so.5.0:/usr/local/cuda/lib64/libcurand.so.5.0:/usr/lib/libstdc++.so.6

But I get an identical error.

from matconvnet.

lenck avatar lenck commented on July 17, 2024

Hmm, just did some googling and found these links 1, 2.

So, now it's going to be more a guess than anything, but it seems that what may help is to call gpuDevice() before calling any vl_nn mex functions. It seems that it may be caused by compiling the mex files against different version of CUDA than it is being run with?

from matconvnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.