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
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
In order to document the generated Know-How of Optional BLAS Libraries Implementation and Tests (For example: OpenBLAS), I have created a Mediawiki based wiki page in which anyone can document and discuss any issues he/she encounters: https://kbrproject.miraheze.org/wiki/Main_Page/BLAS I will myself document all observations and attach the papers that have been mentioned in R-devel related to such topic. Hope its useful. Best, Juan Telleria