[Rd] AIX testers needed
nakama at ki.rim.or.jp
Sun May 20 03:53:46 CEST 2007
system("ulimit") of AIX gives back file block size.
A limit of memory is `ulimit -m'.
I made gcc-4.1.2 and made R-2.5.0+patched, but the problem did not happen.
$ gcc-4.1 -v
Using built-in specs.
Configured with: ../configure --with-as=/usr/bin/as
--with-ld=/usr/bin/ld --disable-nls --prefix=/usr/local1/gcc-4.1.2
--enable-threads --host=powerpc-ibm-aix188.8.131.52 --program-suffix=-4.1
Thread model: aix
gcc version 4.1.2
$ gcc-4.1 -print-multi-lib
pthread/ppc64;@pthread at maix64
$ export OBJECT_MODE=64
$ ./configure CC="gcc-4.1 -maix64" \
F77="gfortran-4.1 -maix64" \
CXX="g++-4.1 -maix64" \
2007/5/19, Jason Barnhart <jasoncbarnhart at msn.com>:
> 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.
> 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?
> > version _
> platform powerpc-ibm-aix184.108.40.206
> arch powerpc
> os aix220.127.116.11
> system powerpc, aix18.104.22.168
> 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
> R-devel at r-project.org mailing list
EI-JI Nakama <nakama at ki.rim.or.jp>
"\u4e2d\u9593\u6804\u6cbb" <nakama at ki.rim.or.jp>
More information about the R-devel