I’m compiling an openmp project with the /MT switch (or equivalently in visual studio settings, “C++: Code Generation: Runtime Library: Multi Threaded”.
Visual Studio still, however, reports that my output requires libiomp5mt.dll (multi threading dll) when I thought the above setting was asking for static linking.
Is there another option somewhere I missed?
Alternatively, if the dll is a requirement, I presume I’m allowed to redistribute Intel’s dll alongside my own application?
The Intel website says:
So although you can configure OpenMP to link statically, and this configuration is independent of the C runtime, you are recommended not to.
Intel’s OpenMP licence allows for royalty free redistribution as far as I can tell. You should check the licence that came with your OpenMP just to be on the safe side.