math/R eats up all.

Maho NAKATA chat95 at mac.com
Fri Feb 9 09:04:25 UTC 2007


Hi all,

Futher investigation, if we select libgoto, configure doesn't use
-lalapack -lcblas; fall back to internal lapack.

So - Following patch worked for me (PentiumM).

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/math/R/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile    25 Jan 2007 17:56:40 -0000      1.57
+++ Makefile    9 Feb 2007 09:00:45 -0000
@@ -72,7 +72,9 @@
 
 .if defined(WITH_ATLAS)
 LIB_DEPENDS+=  atlas.2:${PORTSDIR}/math/atlas
-CONFIGURE_ARGS+=--with-lapack="-lalapack -lcblas" --with-blas="-lf77blas"
+#CONFIGURE_ARGS+=--with-lapack="-lalapack -lcblas" --with-blas="-lf77blas -latlas"
+CONFIGURE_ARGS+= --with-blas="-lf77blas -latlas"
+#CONFIGURE_ARGS+= --with-blas="-lgoto"
 PLIST_SUB+=    BLAS="@comment "
 .else
 LIB_DEPENDS+=  blas.2:${PORTSDIR}/math/blas


Guilty part is `-lalapack and -lcblas'

Another investigation:
PentiumM(i386)+atlas hangs up following part 
---
        @echo "tools:::makeLazyLoading(\"$(pkg)\")" | \
          R_DEFAULT_PACKAGES=NULL LC_COLLATE=C $(R_EXE) --slave > /dev/null
--
what is makeLazyLoading? I have no idea.

thanks,
-- NAKATA, Maho (maho at FreeBSD.org)




More information about the freebsd-ports mailing list