From keith.ohara at nyu.edu  Wed Jan 10 16:22:50 2018
From: keith.ohara at nyu.edu (Keith O'Hara)
Date: Wed, 10 Jan 2018 10:22:50 -0500
Subject: [Rd] OpenBLAS in everyday R?
In-Reply-To: <CAL6gwnKZ5vPHKHYwY+PEmq2+iW92QumwA3NM53Li3Lt-Fdm8zQ@mail.gmail.com>
References: <mailman.7.1513508402.51277.r-devel@r-project.org>
 <d895e254-67f0-f609-0fde-b32c949f12cf@gmail.com>
 <804CB69F-0628-4ACF-A3A5-CDEFA292B565@nyu.edu>
 <6220ffde-1ba0-3e52-5a94-ada9be05f81d@gmail.com>
 <866170A0-52CE-4984-84EF-DF75AB1F6056@nyu.edu>
 <CAL6gwnKZ5vPHKHYwY+PEmq2+iW92QumwA3NM53Li3Lt-Fdm8zQ@mail.gmail.com>
Message-ID: <925553D4-F413-4FC9-9349-C608C824559A@nyu.edu>

I won?t play nicely with a package that combines omp pragmas with calls to BLAS routines, e.g. something you might get with source Armadillo/Eigen/Blaze code, for reasons that Benjamin mentioned in his initial email (pthreads vs omp).

Keith

> On Jan 10, 2018, at 1:28 AM, Avraham Adler <avraham.adler at gmail.com> wrote:
> 
> On Wed, Jan 10, 2018 at 12:04 AM, Keith O'Hara <keith.ohara at nyu.edu> wrote:
>> 
>> Check if libopenblas is linked against libomp or libgomp.
>> 
>> I?d be curious to see any errors that arise when an OpenMP version of OpenBLAS is linked with R.
>> 
>> Keith
>> 
> 
> The one time I tried compiling OpenBLAS for Windows 64 with USE OMP =
> 1, I got an error. I don't recall if it was in the compilation of R or
> in use. Regardless, I compile OpenBLAS without setting that flag and
> it still plays nicely with all R packages, including those that use
> OpenMP.
> 
> Avi



[Rd] OpenBLAS in everyday R?
Keith O'Hara