Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
in the Makefile 
http://code.google.com/p/randomforest-matlab/source/browse/trunk/RF_Class_C/Make
file#25

remove -mtune=native and that should fix the problem

regards

Original comment by abhirana on 5 Jun 2012 at 11:40

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
Thanks!
The thing is I'm running the code on CentOs linux and I see a weird behavior:
After I run the "model = classRF_train( a,b );" command it goes to the prompt 
line, i.e. I see ">>", but matlab is freezed and I can't do anything. When I 
check the cpu usage I see that matlab is still working.
I thought recompiling the whole thing might help but it didn't.

Well... I guess it is not easy for you to address this one but I write this 
comment just in case that someone knows the solution.

Best,
MJ

Original comment by [email protected] on 6 Jun 2012 at 4:58

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
I found out that the problem is that Matlab doesn't return from the 
"classRF_train.m" and "classRF_predict.m" files. So if I save the outputs at 
the very end of these matlab scripts and also add a "quit" command at the end 
of these files everything works fine. In other words the problem is not in the 
mex files.

This is a hack and I'm still working to see how I can fix this minor issue.

Best,
MJ

Original comment by [email protected] on 6 Jun 2012 at 8:19

from randomforest-matlab.

GoogleCodeExporter avatar GoogleCodeExporter commented on May 30, 2024
actually there may a couple of reasons for this happening.

usually march and mtune flags should work for gfortran if its a new version 
do a gfortran -v and a g++ -v the version number should be nearby and if not it 
may create issues when linking. anything about 4.1.x should be ok

the other possible issue might be that particular version of gfortran and g++ 
don't work well in conjunction with malloc and matlab. try to sync with the svn 
source which replaces mallocs by matlab based malloc mxMalloc 
http://code.google.com/p/randomforest-matlab/source/checkout

actually issues do happen even when matlab has returned from mex (but it still 
is a mex issue)

Original comment by abhirana on 6 Jun 2012 at 10:36

from randomforest-matlab.

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.