Skip to content

Compiling R on RS6000 AIX 4.3

1 message · Kurt Hornik

#
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,
Hmm.  Is the problem still there in release-patched?

We have

	if test "${r_cv_prog_f77_append_underscore}" = yes; then
	  fun=dgemm_
	else
	  fun=dgemm
	fi

and then

	if test -n "${BLAS}" && ${use_blas}; then
	  AC_CHECK_LIB(blas, ${fun},
	    [ FLIBS="-lblas ${FLIBS}" BLAS=""
	      if ${use_blas_risc}; then
	        AC_CHECK_LIB(blas_risc, main,
		  FLIBS="-lblas_risc ${FLIBS}", , ${FLIBS})
	      fi
	    ], ,
	    ${FLIBS})
	fi

so if the test whether the Fortran compiler appends underscores worked
o.k. then we should be checking for the correct symbol.

So, what is wrong?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._