[R] Compiling R with Intel compilers - recommended options?

Tim Cutts tjrc at sanger.ac.uk
Fri Jun 18 13:37:02 CEST 2004

On 18 Jun 2004, at 11:58 am, Prof Brian Ripley wrote:

> Fine.  The issue on gcc 3.4.0 is that if you compile
> src/modules/lapack/dlamc.f without -ffloat-store it loops forever.
> I suspect you need to compile it without optimization or with the
> equivalent of -ffloat-store.  It's a separate file in 1.9.1 to make 
> this
> easier/less penalty and configure sets -ffloat-store if g77 is 
> detected.
> LAPACK calls Fortran functions to try to force stores, and that worked 
> on
> versions of gcc <= 3.3.3 (and of course only machines with extended
> registers like ix86 need the subterfuge).

 From my reading of the Intel compiler documentation, the equivalent 
option for icc and ifort is -mp, so I'll have a go at that.


Dr Tim Cutts
Informatics Systems Group
Wellcome Trust Sanger Institute
Hinxton, Cambridge, CB10 1SA, UK

More information about the R-help mailing list