Pawel K. via llvm-dev
2021-Oct-03 07:53 UTC
[llvm-dev] Interesting puzzle for some openmp guru
Hi, Maybe here we could build argument for switching from gcc to clang? I will test it on clang soonish and ask if its fixable if it happens too. Maybe it should be fixed in R or gcc or intel mkl. Idk yet. Would some openmp in clang guru wanna have a peek at this "issue" with openmp around r and intel mkl lib on gcc? https://www.jyotirmoy.net/posts/2021-10-03-r-mkl-openmp.html Best regards, Pawel -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211003/8d575b30/attachment.html>
Johannes Doerfert via llvm-dev
2021-Oct-04 00:03 UTC
[llvm-dev] Interesting puzzle for some openmp guru
CC'ing the people that can probably tell you. My money is on the interaction of the GNU/OpenMP compatibility layer in LLVM/OpenMP and some calls getting resolved to the wrong place while others go to "the right place". I would assume simply telling gcc to use the LLVM/OpenMP runtime might be enough here. Having two OpenMP runtimes used is probably not a good idea even if it "works". ~ Johannes On 10/3/21 02:53, Pawel K. via llvm-dev wrote:> Hi, > Maybe here we could build argument for switching from gcc to clang? > > I will test it on clang soonish and ask if its fixable if it happens too. > Maybe it should be fixed in R or gcc or intel mkl. Idk yet. > > Would some openmp in clang guru wanna have a peek at this "issue" with > openmp around r and intel mkl lib on gcc? > > https://www.jyotirmoy.net/posts/2021-10-03-r-mkl-openmp.html > > Best regards, > Pawel > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev