Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread Dirk Eddelbuettel
On 13 April 2015 at 10:26, JJ Allaire wrote: | We only see the "long long" warnings with clang on Debian testing with | -pedantic enabled. Weird. I don't think I encountered such a difference before. | Note that not all CRAN maintainers test under this | configuration so sometimes it depends on

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread Dirk Eddelbuettel
On 13 April 2015 at 09:42, Gábor Csárdi wrote: | On Mon, Apr 13, 2015 at 8:32 AM, Dirk Eddelbuettel wrote: | | | On 13 April 2015 at 08:03, JJ Allaire wrote: | | I'll have to take a closer look at the warnings. One other issue that | | needs to be resolved prior to the next submi

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread JJ Allaire
We only see the "long long" warnings with clang on Debian testing with -pedantic enabled. Note that not all CRAN maintainers test under this configuration so sometimes it depends on who is reviewing the submission. My first preference would be to ensure that these warnings don't occur so we always

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread Gábor Csárdi
On Mon, Apr 13, 2015 at 8:32 AM, Dirk Eddelbuettel wrote: > > On 13 April 2015 at 08:03, JJ Allaire wrote: > | I'll have to take a closer look at the warnings. One other issue that > | needs to be resolved prior to the next submission to CRAN revolves > | around pedantic warnings on Debian testin

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread Gábor Csárdi
On Mon, Apr 13, 2015 at 8:11 AM, JJ Allaire wrote: > One other issue to run down is detecting the current architecture on > Solaris builds. Right now we force 32-bit in Makevars as follows: > > ifeq ($(USE_TBB), SunOS) >MAKE_ARGS += arch=ia32 > endif > > Does anyone know if there is a variabl

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread Dirk Eddelbuettel
On 13 April 2015 at 08:03, JJ Allaire wrote: | I'll have to take a closer look at the warnings. One other issue that | needs to be resolved prior to the next submission to CRAN revolves | around pedantic warnings on Debian testing that prohibit "long long" | (used by both TinyThread and TBB). The

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread JJ Allaire
One other issue to run down is detecting the current architecture on Solaris builds. Right now we force 32-bit in Makevars as follows: ifeq ($(USE_TBB), SunOS) MAKE_ARGS += arch=ia32 endif Does anyone know if there is a variable we could inspect from within Makevars that would tell us the arch

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread Romain François
> Le 13 avr. 2015 à 14:03, JJ Allaire a écrit : > > That's excellent I just updated the branch to reflect this change > and also successfully ran the tests on the Solaris config that you > provided me access to. > > I'll have to take a closer look at the warnings. One other issue that > nee

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-13 Thread JJ Allaire
That's excellent I just updated the branch to reflect this change and also successfully ran the tests on the Solaris config that you provided me access to. I'll have to take a closer look at the warnings. One other issue that needs to be resolved prior to the next submission to CRAN revolves a

[Rcpp-devel] RcppParallel on Solaris

2015-04-12 Thread Gábor Csárdi
> > Thanks Jeroen! Does the ORD version of R use GNU make? (I think we need > that for the RcppParallel makefile). If it doesn't, Gábor do you know if > there is a straightforward way to force it to use GNU make? (or as Jeroen > hypothesizes does CRAN use gcc when testing packages that have GNU mak

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-07 Thread JJ Allaire
Thanks Jeroen! Does the ORD version of R use GNU make? (I think we need that for the RcppParallel makefile). If it doesn't, Gábor do you know if there is a straightforward way to force it to use GNU make? (or as Jeroen hypothesizes does CRAN use gcc when testing packages that have GNU make as a Sy

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-07 Thread JJ Allaire
I think this is just a matter of passing the right runtime library flag to the TBB configure script (but perhaps this masks a bigger issue, we'll see). Gábor is going to make his VM available to me for further testing and iteration later this week. Hope to be able to report some progress after tha

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-03 Thread Dale Smith
Another alternative is purchasing solaris hardware, since VirtualBox only runs x86. Ebay does have some for auction at a reasonable price. http://tinyurl.com/sunblade-on-ebay I do not know if it includes disks, but they aren’t all that expensive. I would vo

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-03 Thread JJ Allaire
On Thu, Apr 2, 2015 at 3:42 PM, Gábor Csárdi wrote: > I have Solaris x86_64 on Virtualbox, and it runs fine. The problem is, it is > x86, and not Sparc, so for example byte order issues do not come up. Would you be willing to try the following as a minimal test that our changes are enough to make

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-03 Thread JJ Allaire
> I am happy to share my experience with Solaris. I have been meaning to > write a step-by-step guide to setting up a Solaris testing platform for > R on a VirtualBox VM, so this gives me some impetus to write it. That would be excellent! I got as far as getting R running on a VirtualBox but got h

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-02 Thread Martyn Plummer
On Thu, 2015-04-02 at 10:03 -0500, Dirk Eddelbuettel wrote: > On 2 April 2015 at 16:31, Romain Francois wrote: > | Would be useful to have a solaris machine on aws or whatever with R all > these toils installed. > | > | I once had a virtual machine set up thanks to martyn but the user > experie

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-02 Thread Qiang Kou
As far as I know it is possible to run OpenSolaris. Let me check. On 2 April 2015 at 16:31, Romain Francois wrote: | Would be useful to have a solaris machine on aws or whatever with R all these toils installed. | | I once had a virtual machine set up thanks to martyn but the user experience of v

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-02 Thread Dirk Eddelbuettel
On 2 April 2015 at 16:31, Romain Francois wrote: | Would be useful to have a solaris machine on aws or whatever with R all these toils installed. | | I once had a virtual machine set up thanks to martyn but the user experience of virtualbox + keyboard conflicts with my french mac book keyboard

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-02 Thread JJ Allaire
If it's possible to run Solaris on AWS without an extra per-hour charge then it would only be a matter of creating the AMI then any one of us could use it within our own AWS accounts at no extra (incremental) cost. On Thu, Apr 2, 2015 at 10:31 AM, Romain Francois wrote: > Would be useful to ha

Re: [Rcpp-devel] RcppParallel on Solaris

2015-04-02 Thread Romain Francois
Would be useful to have a solaris machine on aws or whatever with R all these toils installed. I once had a virtual machine set up thanks to martyn but the user experience of virtualbox + keyboard conflicts with my french mac book keyboard was not that good. Does someone have the skills to s

[Rcpp-devel] RcppParallel on Solaris

2015-04-02 Thread JJ Allaire
We've recently done some work on RcppParallel to make it work on Windows (previously it worked on Linux and OS X only). It would be wonderful to also get it working on Solaris, and in theory this shouldn't be difficult as the library at the core of RcppParallel, Intel Threading Building Blocks (TBB