[R] Re: Compiling R in 64-bit mode on AIX

Dr. Christoph Pospiech pospiech at de.ibm.com
Mon Dec 8 20:11:32 CET 2003


On Tuesday 14 October 2003 21:05, you wrote:
> Hi.  I saw your post from earlier this year in which you were soliciting
> help on compiling R as a 64-bit application under AIX.  We have been having
> trouble with the same problem.
>
> Have you gotten anywhere?
>
> Thanks for any help.
>
> Best regards,
>
> Matthew Wiener
> RY84-202
> Applied Computer Science & Mathematics Dept.
> Merck Research Labs
> 126 E. Lincoln Ave.
> Rahway, NJ 07065
> 732-594-5303

Matthew, Liu

first sorry for the delay in answering, but I was buried in an important 
project.

I can offer you a solution that was actually found by one of our customers, 
Tobias Reber from DKFZ (German Cancer Research Center).

I am appending a patch (generated by cvs diff -c ...) that I applied to R 
v1.6.2.

Then I typed the following two commands.

OBJECT_MODE=64 \
MAKE=gmake \
CC="cc -DSTDC" \
CXX="xlC" \
MAIN_LDFLAGS="-Wl,-brtl" \
SHLIB_LDFLAGS="-Wl,-G" \
F77="xlf" \
./configure \
--without-x \
--without-blas

OBJECT_MODE=64 gmake

After this I tested with "gmake check" and found no errors.

I have just retried the above on the following setup.
h/w p690+ 1.7GHz
[tstposp at j36 R]$ oslevel -r
5200-02
[tstposp at j36 R]$ lslpp -l | grep vac.C
  vac.C                      6.0.0.5  APPLIED    C for AIX Compiler
  vac.C.readme.ibm           6.0.0.1  COMMITTED  C for AIX iFOR/LS Information
  vac.C                      6.0.0.5  APPLIED    C for AIX Compiler
[tstposp at j36 R]$ lslpp -L | grep xlfcmp
  xlfcmp                     8.1.1.3    A     F    XL Fortran Compiler
  xlfcmp.html.en_US          8.1.1.0    C     F    XL Fortran Compiler
  xlfcmp.idebug.html.en_US   8.1.1.0    C     F    Distributed Debugger
  xlfcmp.msg.en_US           8.1.1.1    A     F    XL Fortran Compiler 
Messages -
  xlfcmp.pdf.en_US           8.1.1.0    C     F    XL Fortran Compiler
  xlfcmp.ps.en_US            8.1.1.0    C     F    XL Fortran Compiler

I copied the r-help mailing list, but I am not sure whether I can post there. 
Could you please post this if you don't see it posted ? Thanks.
-- 

Mit freundlichen Gruessen/Best Regards

Dr. Christoph Pospiech
High Performance & Parallel Computing
Advanced Computing Technology Center
Phone +49-621-469450, Fax: ...-469200, eMail: pospiech at de.ibm.com
Mobile +49-171 765 5871
---- Please Note new Tel+FAX Number ----


More information about the R-help mailing list