From jasoncbarnhart at msn.com  Fri May 18 18:33:11 2007
From: jasoncbarnhart at msn.com (Jason Barnhart)
Date: Fri, 18 May 2007 09:33:11 -0700
Subject: [Rd] AIX testers needed
Message-ID: <BAY116-DAV9C25C47DAB32FBD9519F0CF320@phx.gbl>

Per the request to test the latest tarball referenced below, I have
built R on AIX 5.3. There is a memory issue, please see 3) below.

    1) Build with --enable-BLAS-shlib option.  Builds and
    passes "make check".

    2) GNU libiconv was installed; R configured *without* 
the --without-
    iconv option. Builds and passes "make check."

    3) Memory issue:
        a) Although the server possesses 8GB of RAM and
        system("ulimit") returns "unlimited" as its value, R does not
        "have enough memory."

        b) This code works on R-2.4.0 on WinXP with 2GB of RAM, but
        fails on the AIX build.  Example code:

        > xx <- matrix(rep(1e+10,1e7),nrow=1e4,ncol=1e3)
        > tmp.df <- as.data.frame(cbind(xx,xx,xx))
        Error: cannot allocate vector of size 228.9 Mb
        > gc()
                   used (Mb) gc trigger  (Mb) max used  (Mb)
        Ncells   233035  6.3     467875  12.5   350000   9.4
        Vcells 10104141 77.1   31854441 243.1 30104289 229.7

    4) Used gcc-4.1.2; I have not tried the native compiler.

Questions:

    1) Are there suggestions on how to diagnose and resolve the memory
    issue?  I'm still building my tool chain and I am in the midst of
    installing gdb.

    2) Regarding the build process itself, is there more documentation
    or results that I should forward?

Thanks,
-jason


> version               _
platform       powerpc-ibm-aix5.3.0.0
arch           powerpc
os             aix5.3.0.0
system         powerpc, aix5.3.0.0
status         RC
major          2
minor          5.0
year           2007
month          04
day            22
svn rev        41276
language       R
version.string R version 2.5.0 RC (2007-04-22 r41276)


----- Original Message ----- 
From: "Prof Brian Ripley" <ripley at stats.ox.ac.uk>
To: <R-devel at r-project.org>
Cc: "Sheth, Jagat K" <jagat.k.sheth at citigroup.com>; "kamil
Marcinkowski" <kamil at ualberta.ca>; "Tiong Lim" <t.lim at auckland.ac.nz>;
"Eric Harley" <ericctharley at gmail.com>; "Matthew Beason"
<mbeason at harrahs.com>; <watplatt at us.ibm.com>
Sent: Wednesday, March 28, 2007 11:27 PM
Subject: [Rd] AIX testers needed


> With much thanks to Ei-ji Nakama, R 2.5.0 alpha supports building on
> AIX
> (at least AIX 5.2 on one system).
>
> Would anyone able to test this please get the latest tarball from
>
> http://cran.r-project.org/src/base-prerelease/R-latest.tar.gz
>
> and try installing (after reading the AIX notes in R-admin.html
> section
> C.9).
>
> In particular it would be very helpful to know if
>
> 1) --enable-BLAS-shlib works (it is the default everywhere except
> AIX and
> Darwin)
>
> 2) if people succeed in installing GNU libiconv and building without
> needing --without-iconv.
>
> I am Cc:ing all the people I tracked down who reported attempted AIX
> installations in 2006 in the hope that they may still be interested.
>
> Please report success and any hints or problems in the R-devel list.
>
> -- 
> Brian D. Ripley,                  ripley at stats.ox.ac.uk
> Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
> University of Oxford,             Tel:  +44 1865 272861 (self)
> 1 South Parks Road,                     +44 1865 272866 (PA)
> Oxford OX1 3TG, UK                Fax:  +44 1865 272595
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] AIX testers needed
Jason Barnhart