angleto / liblinear

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Invalid Mex-file error #17

Open simsong opened 6 years ago

simsong commented 6 years ago

From @Mensen on January 10, 2016 14:13

I'm using Matlab 2015b. My compiler seems to working properly as I've compiled other .c files and the make command returns without errors. I don't remember experiencing these problems on my last computer setup which used Matlab 2015a.

Thanks for your help!

Invalid MEX-file
'/home/mensen/matlab_toolboxes/liblinear-multicore-2.1-2/matlab/train.mexa64':
dlopen: cannot load any more object with static TLS

Error in mvpa_train>classif (line 39)
        model = train(Y, sparse(double(X)), ['-s '
        type ' -q -c ', num2str(best_lambda)]);

Copied from original issue: cjlin1/liblinear#17

simsong commented 6 years ago

From @cjlin1 on January 10, 2016 15:36

You are using multicore version. Are you able to use standard liblinear? I just tried standard liblinear on 2015b and it worked.

Armand Mensen writes:

I'm using Matlab 2015b. My compiler seems to working properly as I've compiled other .c files and the make command returns without errors. I don't remember experiencing these problems on my last computer setup which used Matlab 2015a.

Thanks for your help!

Invalid MEX-file '/home/mensen/matlab_toolboxes/liblinear-multicore-2.1-2/matlab/train.mexa64': dlopen: cannot load any more object with static TLS

Error in mvpa_train>classif (line 39) model = train(Y, sparse(double(X)), ['-s ' type ' -q -c ', num2str(best_lambda)]);

— Reply to this email directly or view it on GitHub.*

simsong commented 6 years ago

From @Hins on January 11, 2016 2:16

Hi Cjlin & Armand,

Thanks for your information, now it worked well in Matlab.

Best regards, Hins Pan

2016-01-10 23:36 GMT+08:00 cjlin1 notifications@github.com:

You are using multicore version. Are you able to use standard liblinear? I just tried standard liblinear on 2015b and it worked.

Armand Mensen writes:

I'm using Matlab 2015b. My compiler seems to working properly as I've compiled other .c files and the make command returns without errors. I don't remember experiencing these problems on my last computer setup which used Matlab 2015a.

Thanks for your help!

Invalid MEX-file

'/home/mensen/matlab_toolboxes/liblinear-multicore-2.1-2/matlab/train.mexa64': dlopen: cannot load any more object with static TLS

Error in mvpa_train>classif (line 39) model = train(Y, sparse(double(X)), ['-s ' type ' -q -c ', num2str(best_lambda)]);

— Reply to this email directly or view it on GitHub.*

— Reply to this email directly or view it on GitHub https://github.com/cjlin1/liblinear/issues/17#issuecomment-170360469.

simsong commented 6 years ago

From @Mensen on January 11, 2016 10:7

Using the standard liblinear worked perfectly. Thank you for the fast reply!

Any clues as to what is happening in 2015b that seems to cause the problem?

simsong commented 6 years ago

From @Hins on January 11, 2016 11:11

Actually I am using 2014b, I added corresponding files' path by path(path, '***');

2016-01-11 18:07 GMT+08:00 Armand Mensen notifications@github.com:

Using the standard liblinear worked perfectly. Thank you for the fast reply!

Any clues as to what is happening in 2015b that seems to cause the problem?

— Reply to this email directly or view it on GitHub https://github.com/cjlin1/liblinear/issues/17#issuecomment-170497069.