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.
What OS?
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
openmp.
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
/usr/lib/gcc/x86_64-redhat-linux/4.6.3/libgomp.spec
which is part of the gcc RPM.
Thanks,
Erin
--
Brian D. Ripley, rip...@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
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.