Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Mex-file error #17

Open
simsong opened this issue Jan 22, 2018 · 4 comments
Open

Invalid Mex-file error #17

simsong opened this issue Jan 22, 2018 · 4 comments

Comments

@simsong
Copy link

simsong commented Jan 22, 2018

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#17

@simsong
Copy link
Author

simsong commented Jan 22, 2018

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
Copy link
Author

simsong commented Jan 22, 2018

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 [email protected]:

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
cjlin1#17 (comment).

@simsong
Copy link
Author

simsong commented Jan 22, 2018

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
Copy link
Author

simsong commented Jan 22, 2018

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 [email protected]:

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
cjlin1#17 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant