LAPACK 3.1 October 2006 Purpose: To build out of tree. Very useful for testing the same versions of LAPACK on different machines or with different compiler or with different compiler flags etc. Contribution from Edward Smyth, NAG, Ltd.. Usage: In the LAPACK directory type: "tar xvf INSTALL/lpk_gnumake.tar" then "make" The make.inc included is for Linux with g77. Some of the new features are: * make.inc has a variable USE_BLAS. If this is "reference" it will compile the reference BLAS included with LAPACK. Otherwise it will use the blas library specified in make.inc as OPTBLASLIB. make.inc currently has the default setting as "reference". This is probably not the best choice, but useful now for testing. * Everything is generated in the directory called $(BUILDDIR), which by default will be BUILD$(PLAT)/ref for reference BLAS, or BUILD$(PLAT)/opt if using $(OPTBLASLIB) for BLAS. This can of course be overridden at runtime, even going to a different filesystem, e.g. make all BUILDDIR=/tmp/foo * OPT0OBJ lists LAPACK SRC files to be compiled without optimization. dlamch and slamch are included here, but more could be added if needed on different platforms. Note that: - This could be extended to be a multi-level option, instead of just unoptimized and optimized. - This is only for LAPACK SRC. A similar scheme could be added for e.g. the TIMING/LIN/LINSRC and TIMING/EIG/EIGSRC files if needed. * Doing a subset of LAPACK (eg just "complex16") is handled a bit differently. It uses make variables do_single := yes do_complex := yes do_double := yes do_complex16 := yes .