R-devel has the --with-lapack flag for configure. If you build R with --with-blas="-framework vecLib" --with-lapack="--framework vecLib" then the build goes through, using the native optimized BLAS and Lapack in /System/Library/Frameworks/vecLib.framework. Also, it works, in the sense that it does eigenvalue problems correctly. I don't have any timings yet, because I just upgraded to a new Mac, but I'll post some soon. ==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au ------------------------------------------------------------------------ -------------------------
On Thu, 26 Dec 2002, Jan de Leeuw wrote:> R-devel has the --with-lapack flag for configure. If you build R with > > --with-blas="-framework vecLib" --with-lapack="--framework vecLib" > > then the build goes through, using the native optimized BLAS and > Lapack in /System/Library/Frameworks/vecLib.framework. Also, it > works, in the sense that it does eigenvalue problems correctly.I hope --with-blas="-framework vecLib" --with-lapack is all that is needed. --with-lapack searches the BLAS library for lapack routines. -- 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
Hi, Does anyone have any experience porting Ratfor to fortran. I have gotten the ratfor preprocessor working and if I compile the ratfor code directly and dynamically load into R it seems to work (using g77 on RH linux). However if I just use the ratfor command and try to compile the output fortran file it does not compile. Is there some flags I should use to get ratfor to format the fortran output better, or is there a flag I need to set for g77 to get the output code to compile. Thanks Nicholas
Yes, that also works fine. -- Jan On Thursday, December 26, 2002, at 11:40 AM, ripley@stats.ox.ac.uk wrote:> On Thu, 26 Dec 2002, Jan de Leeuw wrote: > >> R-devel has the --with-lapack flag for configure. If you build R with >> >> --with-blas="-framework vecLib" --with-lapack="--framework vecLib" >> >> then the build goes through, using the native optimized BLAS and >> Lapack in /System/Library/Frameworks/vecLib.framework. Also, it >> works, in the sense that it does eigenvalue problems correctly. > > I hope > > --with-blas="-framework vecLib" --with-lapack > > is all that is needed. --with-lapack searches the BLAS library for > lapack > routines. > > -- > 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 > >==Jan de Leeuw; Professor and Chair, UCLA Department of Statistics; Editor: Journal of Multivariate Analysis, Journal of Statistical Software US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554 phone (310)-825-9550; fax (310)-206-5658; email: deleeuw@stat.ucla.edu homepage: http://gifi.stat.ucla.edu ------------------------------------------------------------------------ ------------------------- No matter where you go, there you are. --- Buckaroo Banzai http://gifi.stat.ucla.edu/sounds/nomatter.au ------------------------------------------------------------------------ -------------------------