LAPACK Archives

[Lapack] Lapack makefile still needs fixing


* thanks for the bug report (and sending it twice),

* I did not understand your inital message and what you were trying
   achieve with the modifications in your makefile, the comments were
   scarce ...

* We have installation procedure at
         http://www.netlib.org/lapack/lapack-3.2.html
   if you want to install and test the variants the procedure is:
         make variants
         make variants_testing
   This works.

* I now understand that what you want is type
         make variants_testing
   directly, have the install ("make variants") and then the testing

* So far I have added line 35 of the Makefile in the SRC directory the
   word "variants" this gives:
         variants_testing: lib variants
===================================================================
--- Makefile    (revision 715)
+++ Makefile    (working copy)
@@ -32,7 +32,7 @@

-variants_testing: lib
+variants_testing: lib variants

===================================================================

* This is a quick fix, I'll review it later, suggestions welcome

--julien


On Tue, 9 Feb 2010, JohnT wrote:

Hello. I sent a revised pair of makefiles to your office nearly a year ago 
which included a fix for the incorrect folder traversal in variants_testing 
that I
found in lapack-3.2. The error still exists in lapack-3.2.1.

I don't know what version of make can process your makefile correctly, but 
it's for sure that GNU make 3.81 (the standard current Linux version) doesn't 
do it.

The console log showing the error is pasted below. It shows that the 
processing drops one level below the main lapack source folder, then looks 
two folders up
(one above the main folder) for lapack_LINUX32.a and doesn't find it. It 
seems clear that nobody tested the the variants_testing makefile option in 
lapack-3.2.1
or previous releases.

John Tellefson
Salina, KS


Testing COMPLEX-COMPLEX16 LAPACK protoype linear equation routines
./xlintstzc < zctest.in > zctest.out 2>&1
Testing COMPLEX16 LAPACK RFP protoype linear equation routines
./xlintstrfz < ztest_rfp.in > ztest_rfp.out 2>&1
make[1]: Leaving directory 
`/home/dilbert/Download/linear/lapack-3.2.1/TESTING'
( cd TESTING ; rm -f xlintst* ; make? LAPACKLIB='SRC/VARIANTS/LIB/cholrl.a 
../../lapack_LINUX32.a' ; \
??????? mv stest.out stest_cholrl.out ; mv dtest.out dtest_cholrl.out ; mv 
ctest.out ctest_cholrl.out ; mv ztest.out ztest_cholrl.out )
make[1]: Entering directory 
`/home/dilbert/Download/linear/lapack-3.2.1/TESTING'
make[1]: *** No rule to make target `../../lapack_LINUX32.a', needed by 
`xlintsts'.? Stop.
make[1]: Leaving directory 
`/home/dilbert/Download/linear/lapack-3.2.1/TESTING'
( cd TESTING ; rm -f xlintst* ; make? LAPACKLIB='SRC/VARIANTS/LIB/choltop.a 
../../lapack_LINUX32.a' ; \
??????? mv stest.out stest_choltop.out ; mv dtest.out dtest_choltop.out ; mv 
ctest.out ctest_choltop.out ; mv ztest.out ztest_choltop.out )
make[1]: Entering directory 
`/home/dilbert/Download/linear/lapack-3.2.1/TESTING'
make[1]: *** No rule to make target `../../lapack_LINUX32.a', needed by 
`xlintsts'.? Stop.
make[1]: Leaving directory 
`/home/dilbert/Download/linear/lapack-3.2.1/TESTING'
mv: cannot stat `stest.out': No such file or directory
mv: cannot stat `dtest.out': No such file or directory
mv: cannot stat `ctest.out': No such file or directory
mv: cannot stat `ztest.out': No such file or directory
make: *** [variants_testing] Error 1

-- 
http://www.mozilla.org  Firefox browser, Thunderbird email, Seamonkey 
all-in-one, Sunbird calendar and more. Free open-source software for Windows, 
Linux, Mac OS 
and other systems



<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or