ivo_welch-rstat8783@mailblocks.com
2004-Aug-20 15:24 UTC
[R] R on gentoo amd64 (gcc 3.3.3) is unstable
dear wizards: FYI: gentoo is a linux meta distribution, which compiles all packages. Once running, gentoo is stable on most applications. (it has some problems with system tools, such as grub.) the compiler is gcc 3.3.3. I do not expect anyone to track down for me why R fails on the gentoo amd64+gcc3.3.3 system, but I thought that it would be good to put it on the record to save others some time. The resulting from-source-compiled R is not stable in this combination. R starts up ok, but a couple of commands (a simple linear regression) usually result in a Segfault. this applies both to the R provided by gentoo (an old version of 1.9.0) or the latest version 1.9.1 which I just pulled down. in case someone is wondering, the debugger backtrace provides #0 0x000000000052ac16 in dnrm2_ () #1 0x00000000005185e8 in dqrdc2_ () #2 0x0000000000518db1 in dqrls_ () #3 0x000000000045d5d5 in do_dotCode () #4 0x0000000000472b6b in Rf_eval () ... (if any R wizard were to find it useful to try it out for himself, I could arrange for machine access, or provide other relevant information. if anyone has compiled R 1.9.1 under amd64 with gcc 3.3.3 and found it to be stable, please let me know, too.) sincerely, /ivo welch --- ivo welch professor of finance and economics brown / nber / yale
Prof Brian Ripley
2004-Aug-20 18:01 UTC
[Rd] Re: [R] R on gentoo amd64 (gcc 3.3.3) is unstable
As I read the posting guide this is not a help request and not of general interest, so diverted to R-devel. Several people including me have built R on AMD64 with 3.3.3. That's the compiler of Fedora Core 2, and of whatever version of SuSE (perhaps 9.0) we have on our 110-processor cluster. I am currently use 3.4.1. Your error is in Fortran, and we have seen Fortran errors in earlier versions of the gcc collection so it's the g77 version that is relevant. On Fri, 20 Aug 2004 ivo_welch-rstat8783@mailblocks.com wrote:> > dear wizards: > > FYI: gentoo is a linux meta distribution, which compiles all packages. > Once running, gentoo is stable on most applications. (it has some > problems with system tools, such as grub.) the compiler is gcc 3.3.3. > I do not expect anyone to track down for me why R fails on the gentoo > amd64+gcc3.3.3 system, but I thought that it would be good to put it on > the record to save others some time. > > The resulting from-source-compiled R is not stable in this combination. > R starts up ok, but a couple of commands (a simple linear regression) > usually result in a Segfault. this applies both to the R provided by > gentoo (an old version of 1.9.0) or the latest version 1.9.1 which I > just pulled down. in case someone is wondering, the debugger backtrace > provides > > #0 0x000000000052ac16 in dnrm2_ () > #1 0x00000000005185e8 in dqrdc2_ () > #2 0x0000000000518db1 in dqrls_ () > #3 0x000000000045d5d5 in do_dotCode () > #4 0x0000000000472b6b in Rf_eval () > ... > > (if any R wizard were to find it useful to try it out for himself, I > could arrange for machine access, or provide other relevant > information. if anyone has compiled R 1.9.1 under amd64 with gcc 3.3.3 > and found it to be stable, please let me know, too.) > > sincerely, > > /ivo welch > > --- > ivo welch > professor of finance and economics > brown / nber / yale > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >-- Brian D. Ripley, ripley@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
<ivo_welch-rstat8783 at mailblocks.com> writes:> dear wizards: > > FYI: gentoo is a linux meta distribution, which compiles all > packages. Once running, gentoo is stable on most applications. (it > has some problems with system tools, such as grub.) the compiler is > gcc 3.3.3. I do not expect anyone to track down for me why R fails on > the gentoo amd64+gcc3.3.3 system, but I thought that it would be good > to put it on the record to save others some time. > > The resulting from-source-compiled R is not stable in this > combination. R starts up ok, but a couple of commands (a simple linear > regression) usually result in a Segfault. this applies both to the R > provided by gentoo (an old version of 1.9.0) or the latest version > 1.9.1 which I just pulled down. in case someone is wondering, the > debugger backtrace provides > > #0 0x000000000052ac16 in dnrm2_ () > #1 0x00000000005185e8 in dqrdc2_ () > #2 0x0000000000518db1 in dqrls_ () > #3 0x000000000045d5d5 in do_dotCode () > #4 0x0000000000472b6b in Rf_eval () > ... > > (if any R wizard were to find it useful to try it out for himself, I > could arrange for machine access, or provide other relevant > information. if anyone has compiled R 1.9.1 under amd64 with gcc > 3.3.3 and found it to be stable, please let me know, too.) >SuSE 9.1 appears quite happy.> gcc -vReading specs from /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib64 --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib64 --with-system-zlib --enable-shared --enable-__cxa_atexit x86_64-suse-linux Thread model: posix gcc version 3.3.3 (SuSE Linux) I'd suspect that your blas libs are broken rather than R itself. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907