Leslie_Branch@hgsi.com
2001-Oct-17 14:53 UTC
[R] New Beginner: Problems w/loading Matrix package
Hello all, I am 2 days old in compiling and installing R-1.3.1 and having all kinds of problems with one particular package named "Matrix_0.3-15.tar.gz" Where should I start? OK! I have successfully installed R version R-1.3.1 as well as a host of other packages (piece of cake). When I tried to install the Matrix package, I got an error message stating that the "BLAS library could not be found" I then downloaded a copy of the blas(blas.tgz) tar file from www.netlib.org/blas that contained nothing but function files. I created the library using Fortran (g77) and "ar". I called it "blas.a", moved it to the /usr/local/lib directory and made sure my path was set. That still didn't work. Next I was told that I probably need to recompile R so it can recognize the blas library. I tried to do a "make distclean" to start over and I get another error message that says: make: Fatal error: Don't know how to make target `clean` HELP! Sorry to bore you with this R 101 basic stuff, but I have no clue as to what to do next. Any assistance will be greatly appreciated. Leslie -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Huntsinger, Reid
2001-Oct-17 16:01 UTC
[R] New Beginner: Problems w/loading Matrix package
First, you might want to get a BLAS optimized for your machine. One way is to get ATLAS and run it. It automatically tunes the BLAS code to your setup. But first maybe you want to get things working with the BLAS you have. Second, "make distclean" removes the Makefile, among other things, so if you issued this command twice (or somehow otherwise deleted the Makefile), you would get a message like the one you got (On linux with make 3.79.1 I get "make: *** No rule to make target 'clean'. Stop." but maybe you have a different make). (re-) Run the configure script to regenerate the Makefile (and recognize the BLAS library): $ ./configure [--with-whatever-options] (make sure the file config.cache is gone in case "make distclean" didn't work...) Then you should be able to start over. Hope that helps, Reid Huntsinger -----Original Message----- From: Leslie_Branch at hgsi.com [mailto:Leslie_Branch at hgsi.com] Sent: Wednesday, October 17, 2001 10:53 AM To: r-help at stat.math.ethz.ch Subject: [R] New Beginner: Problems w/loading Matrix package Hello all, I am 2 days old in compiling and installing R-1.3.1 and having all kinds of problems with one particular package named "Matrix_0.3-15.tar.gz" Where should I start? OK! I have successfully installed R version R-1.3.1 as well as a host of other packages (piece of cake). When I tried to install the Matrix package, I got an error message stating that the "BLAS library could not be found" I then downloaded a copy of the blas(blas.tgz) tar file from www.netlib.org/blas that contained nothing but function files. I created the library using Fortran (g77) and "ar". I called it "blas.a", moved it to the /usr/local/lib directory and made sure my path was set. That still didn't work. Next I was told that I probably need to recompile R so it can recognize the blas library. I tried to do a "make distclean" to start over and I get another error message that says: make: Fatal error: Don't know how to make target `clean` HELP! Sorry to bore you with this R 101 basic stuff, but I have no clue as to what to do next. Any assistance will be greatly appreciated. Leslie -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Peter Dalgaard BSA
2001-Oct-17 16:09 UTC
[R] New Beginner: Problems w/loading Matrix package
Leslie_Branch at hgsi.com writes:> Hello all, > > I am 2 days old in compiling and installing R-1.3.1 and having all kinds of > problems with one particular package named "Matrix_0.3-15.tar.gz" > > Where should I start? > > OK! > > I have successfully installed R version R-1.3.1 as well as a host of other > packages (piece of cake). When I tried to install the Matrix package, I > got an error message stating that the "BLAS library could not be found" I > then downloaded a copy of the blas(blas.tgz) tar file from > www.netlib.org/blas that contained nothing but function files. I created > the library using Fortran (g77) and "ar". I called it "blas.a", moved it > to the /usr/local/lib directory and made sure my path was set. That still > didn't work. Next I was told that I probably need to recompile R so it can > recognize the blas library. I tried to do a "make distclean" to start over > and I get another error message that says: > > make: Fatal error: Don't know how to make target `clean` > > HELP! > > Sorry to bore you with this R 101 basic stuff, but I have no clue as to > what to do next. Any assistance will be greatly appreciated.You forgot to tell us what system you're on. There might be an easier way to get the BLAS installed. Anyways: assuming you a) built R in its source directory b) didn't do any important modifications to it I'd suggest that you simply wipe the whole thing and unpack the R sources again. Then make a BUILD dir, cd into it, and ../R-1.3.1/configure --with-blas You may need to create a config.site file with LIBS=-L/usr/local/lib to get it to pick the blas from where you put it. -- 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 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Huntsinger, Reid
2001-Oct-17 16:32 UTC
[R] New Beginner: Problems w/loading Matrix package
Follow-up to previous post: I just checked the Matrix package and it requires LAPACK, not just the BLAS. You can install LAPACK with ATLAS in one of several ways detailed in the LAPACK or ATLAS docmentation. Reid Huntsinger -----Original Message----- From: Leslie_Branch at hgsi.com [mailto:Leslie_Branch at hgsi.com] Sent: Wednesday, October 17, 2001 10:53 AM To: r-help at stat.math.ethz.ch Subject: [R] New Beginner: Problems w/loading Matrix package Hello all, I am 2 days old in compiling and installing R-1.3.1 and having all kinds of problems with one particular package named "Matrix_0.3-15.tar.gz" Where should I start? OK! I have successfully installed R version R-1.3.1 as well as a host of other packages (piece of cake). When I tried to install the Matrix package, I got an error message stating that the "BLAS library could not be found" I then downloaded a copy of the blas(blas.tgz) tar file from www.netlib.org/blas that contained nothing but function files. I created the library using Fortran (g77) and "ar". I called it "blas.a", moved it to the /usr/local/lib directory and made sure my path was set. That still didn't work. Next I was told that I probably need to recompile R so it can recognize the blas library. I tried to do a "make distclean" to start over and I get another error message that says: make: Fatal error: Don't know how to make target `clean` HELP! Sorry to bore you with this R 101 basic stuff, but I have no clue as to what to do next. Any assistance will be greatly appreciated. Leslie -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. -.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._. _._ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._