If you want to distributed such binaries, I would suggest using the 'drat'
package to set up your own repo. I'm using it for beta versions of my
packages and I find it very useful and easy to use. The latest version of
'drat' also supports binaries.
Or, vote with your feet and switch to Linux ;-).
At least on linux, CRAN builds using openMP. I got a valgrind report once
[shame on me btw] showing that 9 (out of 10) threads were running examples.
So my best guess is that it will do the same for Windows since it also has
openMP support according to WRE[1]. I wouldn't know why not, except for
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
> #endif
>
> This way, all compilers can build the code
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
#endif
This way, all compilers can build the code and those that have OpenMP (even
modified versions of clang: https://clang-omp
Dirk, I pick one of the packages you suggested and asked my colleague to
test it on MacOS X. As you can see, it did not use more than 1 CPU. I
inspected the Makevars and found that it relied on
SHLIB_OPENMP_CXXFLAGS. This variable is set to -fopenmp on my laptop.
Does CRAN add -fopenmp to SHLIB
On Mon, Aug 24, 2015 at 10:14:10AM -0500, Dirk Eddelbuettel wrote:
> On 24 August 2015 at 11:02, Joshua N Pritikin wrote:
> | Currently, we have a configure script for package OpenMx that only
> | enables openmp if gcc is the compiler (OS X only). Nice to hear that
> | openmp is supported on Wind
On 24 August 2015 at 11:02, Joshua N Pritikin wrote:
| Currently, we have a configure script for package OpenMx that only
| enables openmp if gcc is the compiler (OS X only). Nice to hear that
| openmp is supported on Windows.
Interesting that you opt to ignore OpenMP support on the platform th
On Mon, Aug 24, 2015 at 09:29:34AM -0500, Dirk Eddelbuettel wrote:
> On 24 August 2015 at 09:14, Joshua N Pritikin wrote:
> | So I take that answer as, "No, CRAN cannot possibly enable openmp for
> | binary builds." Is that correct?
>
> The CRAN maintainers are not withholding OpenMP from you bec
On 24 August 2015 at 09:14, Joshua N Pritikin wrote:
| 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
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, _Windo
10 matches
Mail list logo