[R-SIG-Mac] 64bit R for intel

Simon Urbanek simon.urbanek at r-project.org
Thu Nov 2 17:35:20 CET 2006


I'm glad to report that 64-bit R compiles and passes make check on  
Mac Pro (thanks to Jan de Leeuw for providing me with access to his  
machine).

Quick guide:
- get gfortran 4.2.0 for Intel from HPC pages (http:// 
hpc.sourceforge.net/) and install it ( sudo tar fvxz gfortran-intel- 
bin.tar.gz -C /
- get Darwin driver for gfortran (e.g. from my pages, run in terminal:
sudo bash
cd /usr/local/bin
mv gfortran i686-apple-darwin8-gfortran-4.2.0
curl -O http://r.research.att.com/gfortran
chmod a+x gfortran

Add the compiler to your PATH

export PATH=/usr/local/bin:$PATH

get R sources, configure and build. For my test I used the following  
flags:

../R24-branch/configure CC='gcc -arch x86_64' CXX='g++ -arch x86_64'  
F77='gfortran -arch x86_64' FC='gfortran -arch x86_64' --with-blas='- 
framework vecLib' --with-lapack --without-x CPPFLAGS=-I/usr/local/ 
include LDFLAGS='-L/usr/local/lib/x86_64 -L/usr/local/lib'  
r_arch=x86_64 --with-system-zlib --build=x86_64-apple-darwin8.8.1

If you don't have 64-bit readline, add --without-readline. If you  
install the above (make ; make install), it will add 64-bit support  
to your existing R framework (I didn't test the framework itself,  
though). Remove the r_arch flag if you want single-arch R.

Cheers,
Simon


On Nov 1, 2006, at 6:00 PM, Simon de Bernard wrote:

> I am about to invest into a new xserve and I was wondering what was  
> the status on the 64-bit release of R for the intel chips (I need  
> to break that 4GB limit...)
>
> TIA,
>
> Simon.
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>



More information about the R-SIG-Mac mailing list