[Rd] Problem building R with Sun Studio Compiler on SLES 9 SP3

2007-07-17 Thread Len Zaifman
In a previous thread I had problems on openSuse 10.2 building R with optimisation and discovered that if I wanted optimisation I need to turn on -fstore -fsimple1 (the first is to force storage on some Fortran routines , the second is to ensure IEEE arithmetic, with some optimisation). That wor

Re: [Rd] Problem building R with Sun Studio Compiler

2007-07-17 Thread Len Zaifman
Thanks for all the replies: Dr. Ripley gets it right: I want -fast which turns on nofstore which caused the infinite loop and also pointed out non-IEEE arithmetic. On SUSE 10.2 I used -fast -fstore -fsimple=1 which fixed both problems and still optimised: make check passed and I get for gcc4

Re: [Rd] Problem building R with Sun Studio Compiler

2007-07-17 Thread Prof Brian Ripley
On Mon, 16 Jul 2007, Prof Brian Ripley wrote: > The R-admin manual did tell you not to do that! > > When using the Sun compilers do @emph{not} specify @option{-fast}, as > this disables @acronym{IEEE} arithmetic and @command{make check} will > fail. > > That was for Solaris and SunStudio 11, bu

Re: [Rd] Problem building R with Sun Studio Compiler

2007-07-16 Thread Prof Brian Ripley
The R-admin manual did tell you not to do that! When using the Sun compilers do @emph{not} specify @option{-fast}, as this disables @acronym{IEEE} arithmetic and @command{make check} will fail. That was for Solaris and SunStudio 11, but I presume these are basically the same compilers.

[Rd] Problem building R with Sun Studio Compiler

2007-07-16 Thread Len Zaifman
I would like to Build R-2.5.1 on OpenSUSE 10.2 using the SunStudio 12 compilers(http://developers.sun.com/sunstudio/index.jsp) R builds and passes make check fine without optimising. However, when I try to compile with optimisation turned on (-fast) the build gets stuck in an infinite loop at th