Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Shiguo
Posts:
19
Registered:
1/24/09


Re: 64bits and memory problem
Posted:
Nov 19, 2009 4:59 PM


When I was using svmtrain in libsvm. I got this same problem. I write the software author (ChihJen Lin), he said that we need to modify make.m, add largeArrayDims on 64bit machines. So we need:
mex O largeArrayDims ...
now the make file is like this:
mex O largeArrayDims c svm.cpp mex O largeArrayDims c svm_model_matlab.c mex O largeArrayDims svmtrain.c svm.obj svm_model_matlab.obj mex O largeArrayDims svmpredict.c svm.obj svm_model_matlab.obj mex O largeArrayDims libsvmread.c mex O largeArrayDims libsvmwrite.c
It fixed the problem. Enjoy~
P.S., the following FAQ says about the x64 compiler when installing visual studio c.
Q: On 64bit Windows I compile the MATLAB interface without problem, but why errors occur while running it?
If you use Microsoft Visual Studio, probabally it is not properly installed. See the explanation here. http://www.mathworks.com/support/compilers/R2009b/win64.html;jsessionid=Ls87LF1JH1RnLp18kQdqtzvQGvw29Q4w26dJJn9JpzwZxCGNN7T4!1681277526#n7



