[Rcpp-devel] RcppParallel on Solaris

JJ Allaire jj.allaire at gmail.com
Tue Apr 7 22:55:48 CEST 2015


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 SystemDependency?)

On Tue, Apr 7, 2015 at 4:04 PM, Jeroen Ooms <jeroenooms at gmail.com> wrote:
> I've put a copy of my vm image here in case anyone is interested:
> https://gist.github.com/jeroenooms/4c61c821172ad640545d
>
> It is still unclear to me what the exact CRAN setup is. For example
> for the openssl package I had to use the $OPENSSL_INCLUDES variable
> which points to /opt/csw/includes. However on the Solaris 11 vm, the
> openssl headers are simply in /usr/local and can be found without any
> specific flags.
>
>
> On Tue, Apr 7, 2015 at 2:47 AM, JJ Allaire <jj.allaire at gmail.com> wrote:
>>
>> 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 that.
>>
>>
>>
>> On Mon, Apr 6, 2015 at 9:41 PM, Gábor Csárdi <csardi.gabor at gmail.com> wrote:
>> > Yeah, you need GNU make.
>> >
>> > We had some progress off-list. This is where we are now:
>> >
>> >> Btw. if you remove -m64, then the 32 bit version is built and there is
>> >> another linking problem:
>> >> Error : .onLoad failed in loadNamespace() for 'RcppParallel', details:
>> >>   call: dyn.load(tbb, local = FALSE, now = TRUE)
>> >>   error: unable to load shared object
>> >> '/export/home/csardi/R/R-3.1.3/lib/R/library/RcppParallel/lib/libtbb.so':
>> >>   ld.so.1: R: fatal: relocation error: file
>> >> /export/home/csardi/R/R-3.1.3/lib/R/library/RcppParallel/lib/libtbb.so:
>> >> symbol __1cDstdNruntime_error2T6M_v_: referenced symbol not found
>> >>
>> >>
>> >>
>> >> https://github.com/gaborcsardi/RcppParallel/commits/feature/tbb-solaris
>> >
>> >
>> > G.
>> >
>> > On Mon, Apr 6, 2015 at 9:36 PM, Jeroen Ooms <jeroenooms at gmail.com> wrote:
>> >>
>> >> On Fri, Apr 3, 2015 at 4:44 AM, JJ Allaire <jj.allaire at gmail.com> wrote:
>> >>>
>> >>>
>> >>> git clone -b feature/tbb-solaris git at github.com:RcppCore/RcppParallel.git
>> >>> R CMD build RcppParallel && R CMD check --as-cran
>> >>> RcppParallel_4.3.7.tar.gz
>> >>
>> >>
>> >> It complains about a problem with make:
>> >>
>> >> root at solaris11:~/Desktop# /opt/csw/bin/R CMD INSTALL
>> >> RcppParallel_4.3.7.tar.gz
>> >> * installing to library '/opt/csw/lib/R/library'
>> >> * installing *source* package 'RcppParallel' ...
>> >> ** libs
>> >> make: Fatal error in reader: Makevars, line 5: Unexpected end of line seen
>> >> ERROR: compilation failed for package 'RcppParallel'
>> >> * removing '/opt/csw/lib/R/library/RcppParallel'
>> >>
>> >


More information about the Rcpp-devel mailing list