Dynamically link libiomp, the compatibility OpenMP* run-time library, even if you link other libraries statically.
Linking to the libiomp statically can be problematic because the more complex your operating environment or application, the more likely redundant copies of the library are included. This may result in performance issues (oversubscription of threads) and even incorrect results.
To link libiomp dynamically, be sure the LD_LIBRARY_PATH environment variable is defined correctly.