[R] Compiling R on RS6000 AIX 4.3

Thomas Lumley thomas at biostat.washington.edu
Wed Jul 12 17:04:54 CEST 2000

On Wed, 12 Jul 2000, Martin Maechler wrote:

> >>>>> "Peter" == Peter Cameron <peter.cameron at enscitech.com> writes:
>     Peter> I've been searching through the R help archives and came across
>     Peter> only one AIX compilation question in March, which received no
>     Peter> public responses. I'm currently having the same problems with
>     Peter> the "Illegal instruction" and core dump of running R 1.0.1 on
>     Peter> AIX 4.3.
>     Peter> Firstly, the R distribution was missing some FORTRAN routines,
> No!
> You didn't search enough.

I think it's more complicated than that.  The last time I tried compiling
R on AIX there was a configure problem with the BLAS functions.  The
library libblas existed but the functions had the wrong names (due to
differences in use of underscores by fortran compilers). This meant that R
didn't compile its own BLAS but couldn't link to the system one either. I
thought this had been fixed, though. 

I got it to work using gcc/g77 and compiling --without-blas.  I don't know
if the people at CMU who use AIX have more options that work.

There is a real problem with some C/Fortran combinations on AIX.


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