MATLAB coder - compiler does not support OpenMP error (using a supported compiler)
Ältere Kommentare anzeigen
When attempting to use codegen for a function that includes a parfor loop, I am getting the error "Warning: The selected compiler does not support the OpenMP library; this loop will not be parallelized". I am using a Mac with High Sierra; the compiler is Xcode 9.2 (which is listed as being supported for all coder features here: https://www.mathworks.com/support/compilers.html#mac_n1). How might I get this working?
Akzeptierte Antwort
Weitere Antworten (1)
Darshan Ramakant Bhat
am 16 Jan. 2018
1 Stimme
Please refer to the "Notes for the Mac Platform" section in the below document:
OpenMP is not supported in Mac platforms.
1 Kommentar
Lawrence Costa
am 16 Jan. 2018
Kategorien
Mehr zu Function Definition finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!