[R-pkg-devel] openmp

Joshua N Pritikin jpritikin at pobox.com
Mon Aug 24 15:14:42 CEST 2015


On Sun, Aug 23, 2015 at 08:01:08AM +0200, Mark van der Loo wrote:
>    Afaik, openmp is available on windows. According to writing R
>    extensions:
> 
>    There is nothing to say what version of OpenMP is supported: version
>    3.0 (May 2008) is supported by recent versions of the Linux, _Windows_
>    and Solaris platforms, but portable packages cannot assume that end
>    users have recent versions. OS X nowadays uses clang, and the Apple
>    builds currently have no OpenMP support.

So I take that answer as, "No, CRAN cannot possibly enable openmp for 
binary builds." Is that correct?

>    Op 21 aug. 2015 22:50 schreef "Joshua N Pritikin"
>    <[1]jpritikin at pobox.com>:
>      Many CRAN packages offer improved performance when compiled with
>      OpenMP. However, the MacOS and Windows binaries built by CRAN are
>      built
>      without openmp enabled. Would it be possible to build openmp enabled
>      binaries for some CRAN packages?

-- 
Joshua N. Pritikin
Department of Psychology
University of Virginia
485 McCormick Rd, Gilmer Hall Room 102
Charlottesville, VA 22904
http://people.virginia.edu/~jnp3bc



More information about the R-package-devel mailing list