[R] Atlas shared

Huntsinger, Reid reid_huntsinger at merck.com
Wed Oct 2 15:31:59 CEST 2002


I don't see why the Debian shared libraries shouldn't work, but it's not too
hard to make shared ATLAS: first you need to get the flags for
position-independent code (-fPIC on gcc) into the compilations, which can be
done in the "config" program (add it to the defaults for the C and Fortran
compiler flags), then you extract the object files from the .a archive built
by "make install" and put them into a shared library with ld -shared. See
the "Program Library Howto" at
http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/pdf/Program-Librar
y-HOWTO.pdf.

PS I couldn't make it work without saying "yes" to pthreads in the config
program, though, and trying to give the libraries different names (in the
config program) also didn't work. 

Reid Huntsinger

-----Original Message-----
From: Göran Broström [mailto:gb at stat.umu.se]
Sent: Wednesday, October 02, 2002 3:06 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Atlas shared



In a FAQ on an ATLAS home page I see that shared libraries are not
supported, and indeed, when I build from source I only get static
libraries. R  needs shared libraries (right?!), so how do I get that?
With Debian (and Windows?) there are no problems, since there are
prebuilt shared libraries, but how about RedHat? (These are my three
systems.)

How do I get shared atlas libraries that work with  R  on RedHat?

Thanks,

Göran
---
 Göran Broström                    tel: +46 90 786 5223
 Department of Statistics          fax: +46 90 786 6614
 Umeå University                   http://www.stat.umu.se/egna/gb/
 SE-90187 Umeå, Sweden             e-mail: gb at stat.umu.se


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._

------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.

==============================================================================


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list