LAPACK may be obtained by anonymous ftp from netlib2.cs.utk.edu as shown below.
Obtaining the LAPACK tar file
zfatal:/home/cp/jamie (4) ftp netlib2.cs.utk.edu Connected to netlib2.cs.utk.edu. 220 netlib2 FTP server (Version 2.1aWU(1) Thu Jun 3 23:00:04 EDT 1993) ready. Name (netlib2.cs.utk.edu:jamie): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: 230 Guest login ok, access restrictions apply. ftp> bin 200 Type set to I. ftp> ls *.tar.z 200 PORT command successful. 150 Opening ASCII mode data connection for file list. lapack.tar.z manpages.tar.z revisions1.0a.tar.z revisions1.0b.tar.z testing.tar.z timing.tar.z 226 Transfer complete. ftp> mget * ...
================== LAPACK README FILE ================== VERSION 1.0 : February 29, 1992 VERSION 1.0a : June 30, 1992 VERSION 1.0b : October 31, 1992 DATE: October 31, 1992
LAPACK is a library of Fortran 77 subroutines for solving the most commonly occurring problems in numerical linear algebra. It is public-domain software, and can be used freely.
The tar tape contains the Fortran source for LAPACK, the testing programs, and the timing programs.
It also contains Fortran code for the Basic Linear Algebra Subprograms (the Level 1, 2, and 3 BLAS) needed by LAPACK. However this code is intended for use only if there is no other implementation of the BLAS already available on your machine; the efficiency of LAPACK depends very much on the efficiency of the BLAS.
The complete package, including test code and timing programs in four different Fortran data types (real, complex, double precision, double complex), contains some 600,000 lines of Fortran source and comments. You will need approximately 28 Mbytes to read the complete tape. We recommend that you run the testing and timing programs. The total space requirements for the testing and timing for all four data types, including the object files, is approximately 70 Mbytes.
A README file containing the information in this letter and a QUICK_INSTALL file containing a quick reference guide to the installation process are located in the LAPACK directory. Postscript and LaTeX versions of the Installation Guide are in the LAPACK/INSTALL directory, in the files install.tex, psfig.tex, install.ps, and org2.ps. Consult the Installation Guide for further details on installing the package and on what is contained in each subdirectory.
It is highly recommended that you obtain a copy of the LAPACK Users' Guide published by SIAM. This Users' Guide gives a detailed description of the philosophy behind LAPACK as well as an explanation of its usage. The LAPACK Users' Guide can be purchased from: SIAM; 3600 University City Science Center; Philadelphia, PA 19104-2688; 215-382-9800, FAX 215-386-7999. It will also be available from booksellers. The Guide costs $15.60 for SIAM members, and $19.50 for non-members. Please specify order code OT31 when ordering. To order by email, send email to email@example.com.
LAPACK has been thoroughly tested, on many different types of computers. The LAPACK project supports the package in the sense that reports of errors or poor performance will gain immediate attention from the developers. Such reports, descriptions of interesting applications, and other comments should be sent by electronic mail to firstname.lastname@example.org.
A list of known problems, bugs, and compiler errors for LAPACK is maintained on netlib. For a copy of this report, send email to email@example.com with a message of the form: send release_notes from lapack.
A number of working notes were written during the development of LAPACK and published as LAPACK Working Notes, initially by Argonne National Laboratory and later by the University of Tennessee. Many of these reports have subsequently appeared as journal articles. Most of these working notes are available in postscript form from netlib. To receive a list of available reports, send email to firstname.lastname@example.org with a message of the form: send index from lapack/lawns. Otherwise, requests for copies of these working notes can be sent to the following address.
LAPACK Project c/o J.J. Dongarra Computer Science Department University of Tennessee Knoxville, Tennessee 37996-1301 USA Email: email@example.com
See the LAPACK provided notes. The QUICK_INSTALL guide is included here.
==================================================== Quick Reference Guide for the Installation of LAPACK ====================================================
VERSION 1.0 : February 29, 1992 VERSION 1.0a : June 30, 1992 VERSION 1.0b : October 31, 1992 VERSION 1.1 : March 31, 1993
DATE: March 31, 1993
This Quick Reference Guide to the installation of LAPACK has been extracted from the Installation Guide contained in LAPACK/INSTALL. It is only intended as a quick reference. The Installation Guide should be consulted for full details.
To install, test, and time LAPACK:
1. Read the tape or uncompress and tar the file.
tar xvf /dev/rst0 (cartridge tape), or
tar xvf /dev/rmt8 (9-track tape)
uncompress lapack.tar.z (from a file), and
tar xvf lapack.tar (from a file)
2. Test and Install the Machine-Dependent Routines (WARNING: You may need to supply a correct version of second.f and dsecnd.f for your machine)
cd LAPACK/INSTALL make testlsame testslamch testdlamch testsecond testdsecnd
3. Create the BLAS Library, if necessary (NOTE: For best performance, it is recommended you use the manufacturers' BLAS)
cp LAPACK/INSTALL/lsame.f LAPACK/BLAS/SRC/ cd LAPACK/BLAS/SRC make
4. Run the Level 2 and 3 BLAS Test Programs
cd LAPACK/BLAS/TESTING make -f makeblat2 cd LAPACK/BLAS xblat2s < sblat2.in xblat2d < dblat2.in xblat2c < cblat2.in xblat2z < zblat2.in cd LAPACK/BLAS/TESTING make -f makeblat3 cd LAPACK/BLAS xblat3s < sblat3.in xblat3d < dblat3.in xblat3c < cblat3.in xblat3z < zblat3.in
5. Create the LAPACK Library
cp LAPACK/INSTALL/lsame.f LAPACK/SRC/ cp LAPACK/INSTALL/slamch.f LAPACK/SRC/ cp LAPACK/INSTALL/dlamch.f LAPACK/SRC/ cp LAPACK/INSTALL/second.f LAPACK/SRC/ cp LAPACK/INSTALL/dsecnd.f LAPACK/SRC/ cd LAPACK/SRC make
6. Create the Library of Test Matrix Generators
cd LAPACK/TESTING/MATGEN make
7. Run the LAPACK Test Programs
cd LAPACK/TESTING make
8. Run the LAPACK Timing Programs
cd LAPACK/TIMING make xlintims < sblasa.in > sblasa.out xlintims < sblasb.in > sblasb.out xlintims < sblasc.in > sblasc.out
repeat timing of blas for c, d, and z
The following steps can be used to install LAPACK on VMS systems.
The Fortran files can be compiled with a simple command procedure such as the one shown below.
Compiling the LAPACK source
$ loop: $ a = f$search("*.F") $ if a .eqs. "" then exit $ write sys$output "Compiling ''a'" $ fortran 'a' $ goto loop
LAPACK is installed as two separate text files:
These correspond to the files found in LAPACK/BLAS/SRC and LAPACK/SRC in the LAPACK tar file respectively.
Having unpacked the tar file, LAPACK can be installed on VM systems using the following steps:
The above changes, with the exception of the first two which can be simply performed using an editor, can be done using FLOPPY .
Converting LAPACK for VSFORTRAN compatibility
AXCLIB? SET COMMAND DISK$USER1:[JAMIE.FLOPPY]FLOPPY AXCLIB? FLOPPY/NOCHECK/TIDY/INDENT=3 LAPACK.FORTRAN ! output to LAPACK.FLOPFOR