Re: [Rd] [R] build R with Visual Studio

2006-06-07 Thread Jennifer Lai
Prof Brian Ripley wrote: > On Tue, 6 Jun 2006, Jennifer Lai wrote: > >> Hi, >>Has anyone had success in building R source with Visual Studio? I >> followed the instructions in README.packages, but failed on the very >> first step, where it's looking for R

Re: [Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-13 Thread Jennifer Lai
Jennifer Lai wrote: > Prof Brian Ripley wrote: > >> >>> As those of you who saw my post on R-help know, I've been trying to >>> build >>> R-patched on a dual Opteron box running Scyld Beowulf, using the PGI >>> 6.1 >>> compi

Re: [Rd] problem building R-patched on x86-64 with PGI 6.1

2006-03-13 Thread Jennifer Lai
Prof Brian Ripley wrote: > >> As those of you who saw my post on R-help know, I've been trying to >> build >> R-patched on a dual Opteron box running Scyld Beowulf, using the PGI 6.1 >> compilers. The build went fine, but I couldn't get it to pass make >

[Rd] performance of nchar

2005-10-25 Thread Jennifer Lai
Hi, Is nchar function knowingly slow in R? I'm doing some string formatting that requires multiple call to nchar, and nchar seems to be very slow. Experiment 1, pass nchar inside sprintf, and it takes 0.7 seconds > system.time(for (i in 1:1) + str = sprintf('0005%020d', nchar(op)) + )[3

Re: [Rd] Building R on Windows

2005-10-13 Thread Jennifer Lai
Prof Brian Ripley wrote: > On Thu, 13 Oct 2005, Jennifer Lai wrote: > >> Prof Brian Ripley wrote: >> >>> On Thu, 13 Oct 2005, Jennifer Lai wrote: >>> >>> >>>> Hi, >>>> I"m a newbie on building R on Windows. I followe

Re: [Rd] Building R on Windows

2005-10-13 Thread Jennifer Lai
Prof Brian Ripley wrote: >On Thu, 13 Oct 2005, Jennifer Lai wrote: > > > >>Hi, >> I"m a newbie on building R on Windows. I followed the instructions >>cited here, >>http://www.murdoch-sutherland.com/Rtools/ to build R-2.2.0. >>Everything w

[Rd] Building R on Windows

2005-10-13 Thread Jennifer Lai
Hi, I"m a newbie on building R on Windows. I followed the instructions cited here, http://www.murdoch-sutherland.com/Rtools/ to build R-2.2.0. Everything works fine up till when package base needs to be compiled. here is the error message, -- Making package base adding b

[Rd] additional comments on building R with PGI compiler

2005-10-12 Thread Jennifer Lai
Hi, I have additional comments on building R with PGI compiler. If one wants to use external BLAS library, then pgf90 instead of pgf77 should be used, and BLAS_LIBS flags should be set. e.g. F77 = $PG_HOME/bin/pgf90 BLAS_LIBS='-L/opt/acml2.7.0/pgi64/ -lacml' # for ACML library BLAS_LIBS='

[Rd] FFT

2005-10-07 Thread Jennifer Lai
Hi, Is FFT implemented in R takes advantage of multi-processors? I ran this benchmark from from http://www.sciviews.org, and AMD Opteron 2.2 GHz performs better than AMD Opteron 1.8 GHz on all test cases, except FFT operation. Both machines run same OSs (RedHat WS 3) and 2.2 GHz has more memo

Re: [Rd] complex.h in R

2005-09-26 Thread Jennifer Lai
Hi, Prof Brian Ripley wrote: > On Mon, 26 Sep 2005, Jennifer Lai wrote: > >> Hi, >> I checked config.log and BLAS_LIBS was not set. However, I have set >> BLAS_LIBS='-L/usr/lib64 -lblas' in config.site file. >> I can't figure out why BLAS_LIBS is not

Re: [Rd] complex.h in R

2005-09-26 Thread Jennifer Lai
Is there other thing I should look into in the config.log? Your help is very much appreicated. Thanks, Jennifer Prof Brian Ripley wrote: >On Sat, 24 Sep 2005, Jennifer Lai wrote: > > > >>Hi, >>How does complex.h used in R? Whether a compiler support complex.h &

[Rd] complex.h in R

2005-09-24 Thread Jennifer Lai
Hi, How does complex.h used in R? Whether a compiler support complex.h or not, does it affect R's performance? I used PGI compiler to build R-devel on AMD Opteron, but the configuration file failed to link BLAS library despite the fact it is located in the usual location, /usr/lib64. PGI s

[Rd] Build R with AMD pgi compiled ACML library

2005-09-06 Thread Jennifer Lai
Hi, Has anyone had any luck in using portland group compiler to build R(-devel) with AMD's pgi compiled ACML library? I've downloaded the packages and set LD_LIBRARY_PATH, and run configuration script as follow: % ./configure --prefix=/usr/local/R.pgcc --with-blas='-lacml' However, it faile

[Rd] Build R with ATLAS

2005-09-02 Thread Jennifer Lai
Hi, I followed this message, https://stat.ethz.ch/pipermail/r-devel/2004-February/028942.html, to compile ATLAS with gcc and g77 on AMD Opteron. I then followed the instructions on this message, https://stat.ethz.ch/pipermail/r-devel/2004-February/028966.html, to convert static libraries

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
error: cannot run C compiled programs. If you meant to cross compile, use `--host'. Thank you for the help! Sincerely, Jennifer Peter Dalgaard wrote: >Jennifer Lai <[EMAIL PROTECTED]> writes: > > > >>I can't duplicate the error message. After running "configu

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
Forgot to mention, here are #define long and int value in config.log from second configure run (without --host argument) | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 Regards, Jennifer Jennifer Lai wrote

Re: [Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
st info been cached somewhere in R? Regards, Jennifer Peter Dalgaard wrote: >Jennifer Lai <[EMAIL PROTECTED]> writes: > > > >>Hi, >>I built R with Portland Group compiler, but I noticed one thing that >>when I ran configure for the first time on AMD machine

[Rd] Build Portland Group Compiler

2005-08-31 Thread Jennifer Lai
Hi, I built R with Portland Group compiler, but I noticed one thing that when I ran configure for the first time on AMD machine, I got the following error: checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'

Re: [Rd] compile R with Portland Group compiler

2005-08-30 Thread Jennifer Lai
>> R_X86_64_PC32 against `__fvdlog' can not be used when making a shared >> object; >> recompile with -fPIC > > > which is asking you to recompile their static library. If you can't > use a dynamic library then this is fatal. > > > On Wed,

Re: [Rd] compile R with Portland Group compiler

2005-08-24 Thread Jennifer Lai
I downloaded R-devel and compiled it with pgcc. This time, instead of breaking in src/main, compilation breaks in src/modules with the following error messages. Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.

[Rd] compile R with Portland Group compiler

2005-08-23 Thread Jennifer Lai
Hi, Can anyone advise me on how to compile R with Portland Group compiler on a Opeteron machine with Red Hat Enterprise Linux WS release 4 installed? I've edit config.site file to pick portland group compilers instead of gcc. Here is the list of modified flags: CC=/usr/pgi/linux86-64/6.0/bi