next up previous contents
Next: Installing LSAME Up: Further Details of the Previous: Further Details of the   Contents

Test and Install the Machine-Dependent Routines.

There are six machine-dependent functions in the test and timing package, at least three of which must be installed. They are


LSAME 		  LOGICAL 		 Test if two characters are the same regardless of case 

SLAMCH REAL Determine machine-dependent parameters
DLAMCH DOUBLE PRECISION Determine machine-dependent parameters
SECOND REAL Return time in seconds from a fixed starting time
DSECND DOUBLE PRECISION Return time in seconds from a fixed starting time
ILAENV INTEGER Checks that NaN and infinity arithmetic are IEEE-754 compliant

If you are working only in single precision, you do not need to install DLAMCH and DSECND, and if you are working only in double precision, you do not need to install SLAMCH and SECOND.

These six subroutines are provided in LAPACK/INSTALL, along with six test programs. To compile the six test programs and run the tests, go to LAPACK and type make lapack_install. The test programs are called testlsame, testslamch, testdlamch, testsecond, testdsecnd and testieee. If you do not wish to run all tests, you will need to modify the lapack_install definition in the LAPACK/Makefile to only include the tests you wish to run. Otherwise, all tests will be performed. The expected results of each test program are described below.



Subsections
next up previous contents
Next: Installing LSAME Up: Further Details of the Previous: Further Details of the   Contents
Julie Langou 2007-02-26