adding openmp compiler to matlab 2015b

16 vues (au cours des 30 derniers jours)
albert tsao
albert tsao le 3 Juil 2017
Modifié(e) : Walter Roberson le 17 Août 2017
I am trying to compile the multicore version of liblinear, but run into the following error: "MEX cannot find library 'gomp'" which is because the compiler I'm using doesn't support openmp?
how can I add a free compiler on my system (windows 10)?
  2 commentaires
Walter Roberson
Walter Roberson le 3 Juil 2017
Which compiler did you install?
https://gcc.gnu.org/onlinedocs/libgomp/
albert tsao
albert tsao le 3 Juil 2017
MinGW64 from here https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c++-compiler

Connectez-vous pour commenter.

Réponse acceptée

albert tsao
albert tsao le 4 Juil 2017
Modifié(e) : Walter Roberson le 17 Août 2017
1. Install TDM-GCC independently from http://tdm-gcc.tdragon.net/ (I installed 5.1.0)
2. Link til libgomp.a in that installation when compilling your mex file.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by