Coder Social home page Coder Social logo

Comments (7)

xgdgsc avatar xgdgsc commented on July 18, 2024

try modify the script with mex -v to paste more information here. Have you modified CUDA_LIB="/opt/cuda/lib64" in the script to your /usr/local/cuda-6.5/lib?

from somoclu.

shomedas avatar shomedas commented on July 18, 2024

makeMex-GPU.sh script:

#!/bin/sh
if [ -z "$MEX_BIN" ]
then MEX_BIN="/usr/local/MATLAB/R2013a/bin/mex"
fi
CUDA_LIB="/usr/local/cuda-6.5/lib64"
$MEX_BIN -I../ MexSomoclu.cpp -DCUDA ../denseCpuKernels.o ../io.o ../sparseCpuKernels.o ../training.o ../mapDistanceFunctions.o ../uMatrix.o ..
/denseGpuKernels.cu.co -lgomp -L$CUDA_LIB -lcudart -lcublas -lnvblas

trying to build mex-gpu:
MEX_BIN="/usr/local/MATLAB/R2014a/bin/mex" ./makeMex-GPU.sh
Verbose mode is on.
Unknown file extension '.co'.

do i have to run ./makemex-sh first?

from somoclu.

xgdgsc avatar xgdgsc commented on July 18, 2024

No, you don' t. I only tested the script with 2013a. I will test with 2014a later.

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024

Did you have a chance to look into this? I also only have 2013a.

from somoclu.

xgdgsc avatar xgdgsc commented on July 18, 2024

As the referenced commit above, changing .co to .o works for 2014

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024

I see, thanks. When you merge that branch, we can close this issue.

from somoclu.

peterwittek avatar peterwittek commented on July 18, 2024

I checked the shell script. It should be fine, I am closing this.

from somoclu.

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.