mpicbg-scicomp / gearshifft

Benchmark Suite for Heterogenuous FFT Implementations
Apache License 2.0
34 stars 9 forks source link

cmake/modules/FindFFTWWrappers.cmake: added broader search for libiomp5 #132

Closed emmenlau closed 5 years ago

emmenlau commented 5 years ago

The default install location of libiomp5* from the Intel MKL on Linux is ${MKLROOT}/../compiler/lib/intel64. But for me the path above ${MKLROOT} is not writable so I need to have a fully self-contained MKL in ${MKLROOT}. It would be nice if FindFFTWWrappers.cmake can search also in ${MKLROOT} for libiomp5*. This PR adds support for this extended search. It should not have any negative consequences other than the search taking a tiny bit longer because two or three additional path combinations are tested.

tdd11235813 commented 5 years ago

looks good, thanks a bunch! Btw, other cmake finders probably need a tweak as well, because not all system configurations have been tested. Just let me know if you experience issues with finding the right paths.