[R] open mp problem when installing R
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Jul 3 19:21:36 CEST 2012
On 03/07/2012 06:56, Erin Hodgess wrote:
> Dear R People:
> I'm back to installing R from source, this time on a 64 bit machine.
> I'm using the R-Patched.tar.gz as my source.
> When I have the openmp option set to -fopenmp, I get the error that
> libgomp.spec is not found. Ok, so I commented out the reference to
> However, I ran an openmp "hello world" program using gcc and the
> -fopenmp option, and it ran fine.
> What am I missing, please?
This is not the list to discuss such matters, but something is wrong
with your toolchain. A version of gcc which supports OpenMP should have
a libgomp.spec file, in one of the places it looks for .spec files.
It maybe that you need to install something other than gcc to get it,
especially on micro-packaged distributions.
But e.g. on my Fedora 16 it is file
which is part of the gcc RPM.
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help