adding openmp compiler to matlab 2015b

6 visualizaciones (últimos 30 días)
albert tsao
albert tsao el 3 de Jul. de 2017
Editada: Walter Roberson el 17 de Ag. de 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 comentarios
Walter Roberson
Walter Roberson el 3 de Jul. de 2017
Which compiler did you install?
https://gcc.gnu.org/onlinedocs/libgomp/
albert tsao
albert tsao el 3 de Jul. de 2017
MinGW64 from here https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c++-compiler

Iniciar sesión para comentar.

Respuesta aceptada

albert tsao
albert tsao el 4 de Jul. de 2017
Editada: Walter Roberson el 17 de Ag. de 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.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by