Message-ID: <20150824170300.GH25533@droplet>
Date: 2015-08-24T17:03:00Z
From: Joshua N Pritikin
Subject: [R-pkg-devel] [[openmx-dev]] Re: [[openmx-dev]] Re: openmp
In-Reply-To: <63E0F4C8-6D01-405F-8060-1F91B10C0164@gmail.com>
On Mon, Aug 24, 2015 at 09:57:05AM -0700, Zhian Kamvar wrote:
> The way several packages have implemented OpenMP is to wrap it in
> pre-compiler statements i.e.:
>
> // Include openMP if the compiler supports it
> #ifdef _OPENMP
> #include <omp.h>
> #endif
>
> This way, all compilers can build the code and those that have OpenMP
> (even modified versions of clang: https://clang-omp.github.io/) can do
> so in a parallel fashion.
Yes, of course, but you're missing the point of my enquiry. My question
is whether it is possible for CRAN to build and distribute openmp
enabled binaries.
--
Joshua N. Pritikin
Department of Psychology
University of Virginia
485 McCormick Rd, Gilmer Hall Room 102
Charlottesville, VA 22904
http://people.virginia.edu/~jnp3bc