Re: [Rd] gomp library with Rtools212

From: Davor Cubranic <cubranic_at_stat.ubc.ca>
Date: Fri, 19 Nov 2010 13:11:13 -0800

On November 19, 2010 07:58:40 am Marko Robnik-Šikonja wrote:
> Dear developers,
>
> I am a maintainer of the CORElearn package which uses OpenMP

> multithreading to speed up some computations. When producing a new

> release we tested the package with the latest R 2.12.0. On Linux the
> package works normally. On Windows we installed a recommended
> version of Rtools (Rtools212) but the linker fails with the messages
> below.
[...]
> Suspecting that errors may be caused by a wrong underscore convention
> I experimented with the SYMPAT variable in etc/Makeconf, but
> without success. My guess is that gomp library provided with
> Rtools212 is using a different underscore convention as the rest of
> the gcc. Can you suggest some solution, please?

The cause is that Rtools does not include libthread, which libgomp depends on. I ran into the same problem as you (see the thread: http://article.gmane.org/gmane.comp.lang.r.devel/25764/). It didn't look like libthread will be allowed into RTools, so now we turn OpenMP off on Windows. Please let me know if you figure out a better solution.

Thanks,

Davor



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 19 Nov 2010 - 21:19:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 20 Nov 2010 - 21:40:23 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive