- download the source package from netlib.org: lapack.tgz
- in a working directory, use "tar zxvf lapack.tgz" to unpack.
- "cd lapack-3.1.1"
- "cp INSTALL/make.inc.LINUX ./make.inc"
- edit the file make.inc, change the compiler g77 to gfortran
- "make blaslib"
- "make lib"
- if you want to compile and run the rest routines, run "make all"
- copy the generated library files *.a into a directory where you keep lib files, for instance $(HOME)/lib
No comments:
Post a Comment