[Rcpp-devel] RcppParallel on Solaris
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'