next up previous contents
Next: Edit the file LAPACK/Makefile Up: Installing LAPACK on a Previous: Untar the File   Contents

Edit the file LAPACK/make.inc

Before the libraries can be built, or the testing and timing programs run, you must define all machine-specific parameters for the architecture to which you are installing LAPACK. All machine-specific parameters are contained in the file LAPACK/make.inc.

The first line of this make.inc file is:

SHELL = /bin/sh
and it will need to be modified to SHELL = /sbin/sh if you are installing LAPACK on an SGI architecture. Second, you will need to modify the PLAT definition, which is appended to all library names, to specify the architecture to which you are installing LAPACK. This features avoids confusion in library names when you are installing LAPACK on more than one architecture. Next, you will need to modify FORTRAN, OPTS, DRVOPTS, NOOPT, LOADER, LOADOPTS, ARCH, ARCHFLAGS, and RANLIB to specify the compiler, compiler options, compiler options for the testing and timing main programs, loader, loader options, archiver, archiver options, and ranlib for your machine. If your architecture does not require ranlib to be run after each archive command (as is the case with CRAY computers running UNICOS, Hewlett Packard computers running HP-UX, or SUN SPARCstations running Solaris), set ranlib=echo. And finally, you must modify the BLASLIB definition to specify the BLAS library to which you will be linking. If an optimized version of the BLAS is available on your machine, you are highly recommended to link to that library. Otherwise, by default, BLASLIB is set to the Fortran 77 version.

NOTE: Example make.inc include files are contained in the LAPACK/INSTALL directory. Please refer to Appendix A for machine-specific installation hints, and/or the release_notes file on netlib.

http://www.netlib.org/lapack/release_notes


next up previous contents
Next: Edit the file LAPACK/Makefile Up: Installing LAPACK on a Previous: Untar the File   Contents
Susan Blackford 2001-08-13