[Rd] Optimization in R

Manuel Morales Manuel.A.Morales at williams.edu
Sun Aug 5 03:13:57 CEST 2007


On Sat, 2007-08-04 at 16:37 -0400, Andrew Clausen wrote:
> Hi Manuel,
> 
> My multimin() wrapper will be merged into the Rgsl package.  I expect that the
> wrapper doesn't do anything special (compared to the rest of Rgsl) to break the
> compilation -- you're just having trouble with my very crude and temporary
> Makefile.
> 
> Does Rgsl work for you?

I did see a package rgsl on google but I assume you mean the package gsl
- gsl does work for me.

> If it does, you can probably just copy the relevant files into the right spot,
> and build Rgsl the normal way.  (i.e. *.[ch] into src/, *.R into R/, and so
> on...)

I get the same error message (embedded in the log file
'gsl.Rcheck/00install.out'). I'll just wait for the updated package to
be released ...

Thanks again!

> Cheers,
> Andrew
> 
> On Sat, Aug 04, 2007 at 03:58:33PM -0400, Manuel Morales wrote:
> > I tried installing the multimin function. To get it to compile, I needed
> > to change the Makefile to reflect my path and by adding the flags fPIC
> > in response to the error: "/usr/bin/ld: vector.o: relocation R_X86_64_32
> > against `a local symbol' can not be used when making a shared object;
> > recompile with -fPIC"
> > 
> > However, I get the following running test.R:
> > 
> > Error in dyn.load(x, as.logical(local), as.logical(now)) : 
> >         unable to load shared library '/home/mmorales/Desktop/multimin/gsl.so':
> >   /usr/lib64/libgsl.so.0: undefined symbol: cblas_ctrmv
> > 
> > I'm running R-2.5.1 compiled for x86_64 with a custom built ATLAS.
-- 
http://mutualism.williams.edu


More information about the R-devel mailing list