Re: [Rd] Optimization in R

From: Manuel Morales <Manuel.A.Morales_at_williams.edu>
Date: Sat, 04 Aug 2007 21:13:57 -0400

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



______________________________________________ R-devel_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Received on Sun 05 Aug 2007 - 01:17:16 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 Sun 05 Aug 2007 - 12:37:47 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.