platform/upstream/lapack.git
12 years agoIn dqds, set shift to zero if it is insignificant compared to the cumulative shift...
lipshitz [Tue, 20 Dec 2011 03:10:11 +0000 (03:10 +0000)]
In dqds, set shift to zero if it is insignificant compared to the cumulative shift, and set a d to zero if it is insignificant compared to the cumulative shift and the current shift is zero.  This should guarantee that it always finishes in a linear number of iterations, without hurting accuracy at all.

12 years agoAdd end of line (Sun compiler was complaining)
julie [Tue, 20 Dec 2011 02:47:06 +0000 (02:47 +0000)]
Add end of line (Sun compiler was complaining)

12 years agoAdd name of LAPACKE library in make.inc
julie [Tue, 20 Dec 2011 02:14:29 +0000 (02:14 +0000)]
Add name of LAPACKE library in make.inc

12 years agochange a few "symmetric" in "Hermitian"
langou [Fri, 16 Dec 2011 18:47:29 +0000 (18:47 +0000)]
change a few "symmetric" in "Hermitian"

12 years agocorrects CSYEQUB (resp. ZSYEQUB) in CHEEQUB (resp. ZCHEEQUB) in the
langou [Fri, 16 Dec 2011 18:42:40 +0000 (18:42 +0000)]
corrects CSYEQUB (resp. ZSYEQUB) in CHEEQUB (resp. ZCHEEQUB) in the
documentation of cheequb.f (resp. zheequb.f)

12 years agoFor Dashboard, set correct path to LAPACK rep
julie [Wed, 14 Dec 2011 20:28:51 +0000 (20:28 +0000)]
For Dashboard, set correct path to LAPACK rep

12 years agoFix bug bug0088 reported by Mike Pont from NAG on the forum
julie [Sat, 10 Dec 2011 06:45:16 +0000 (06:45 +0000)]
Fix bug bug0088 reported by Mike Pont from NAG on the forum
(see http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=13&t=2893)

This is related to the LAPACK-XBLAS routine: zherfsx.f

Here is what I did:
 - Introduce IINFO so that INFO is not overwritten
 - Use IGNORE_CWISE as suggested to prevent use of unitialize variable PARAMS
But this did not fix the problem reported.
INFO has new value in ZHERFSX (see description of INFO between ZHESVX and ZHESVXX)
This is set on line 634 (IF ( INFO .LE. N ) INFO = N + J) of zherfsx.f
And this is not handled by the testing LIN/zdrvhex.f
I just add  .AND. INFO.LE.N at line 638 to avoid raising an error when INFO = N + J

Please send feedback as I am not sure this is the best way to fix the issue.
I will commit other precision once fix approved.
Thanks
Julie

12 years agoModif call from xLA_RPVGRW to xLA_GERPVGRW
julie [Sat, 10 Dec 2011 03:06:35 +0000 (03:06 +0000)]
Modif call from xLA_RPVGRW to xLA_GERPVGRW
Routien Name was modified before.

12 years agoAdd missing header, add Windows configuration, and more
julie [Fri, 9 Dec 2011 04:09:29 +0000 (04:09 +0000)]
Add missing header, add Windows configuration, and more

12 years agoMake modifications to initialization to make Windows happy - LAPACKE example now...
julie [Fri, 9 Dec 2011 03:52:18 +0000 (03:52 +0000)]
Make modifications to initialization to make Windows happy - LAPACKE example now runs fine

12 years agoThis time, I believe I catch them all...
julie [Fri, 9 Dec 2011 03:28:39 +0000 (03:28 +0000)]
This time, I believe I catch them all...

12 years agoSome more and fix previous mistakes ...
julie [Fri, 9 Dec 2011 03:15:06 +0000 (03:15 +0000)]
Some more and fix previous mistakes ...

12 years agoPut declaration before executable statment to respect ISO 99 standard (Windows compil...
julie [Fri, 9 Dec 2011 02:43:13 +0000 (02:43 +0000)]
Put declaration before executable statment to respect ISO 99 standard (Windows compiler was barking)

12 years agocorrected documentation
james [Thu, 8 Dec 2011 23:55:05 +0000 (23:55 +0000)]
corrected documentation

12 years agoAdd Rook pivoting file in CMAKE
julie [Thu, 8 Dec 2011 23:51:37 +0000 (23:51 +0000)]
Add Rook pivoting file in CMAKE

12 years agoadded object file entries for 'rook' pivoting algorithm to SRC/Makefile:
igor175 [Wed, 7 Dec 2011 17:24:50 +0000 (17:24 +0000)]
added object file entries for 'rook' pivoting algorithm to SRC/Makefile:
 ssytf2_rook.o,  slasyf_rook.o, ssytrf_rook.o, ssytrs_rook.o, ssytri_rook.o, ssycon_rook.o, ssysv_rook.o  to SLASRC entry;
 dsytf2_rook.o,  dlasyf_rook.o, dsytrf_rook.o, dsytrs_rook.o, dsytri_rook.o, dsycon_rook.o, dsysv_rook.o  to DLASRC entry;
 csytf2_rook.o,  clasyf_rook.o, csytrf_rook.o, csytrs_rook.o, csytri_rook.o, csycon_rook.o, csysv_rook.o  to CLASRC entry;
 zsytf2_rook.o,  zlasyf_rook.o, zsytrf_rook.o, zsytrs_rook.o, zsytri_rook.o, zsycon_rook.o, zsysv_rook.o  to ZLASRC entry;

12 years agoadded double precision complex (COMPLEX*16) routines for rook pivoting algorithm...
igor175 [Wed, 7 Dec 2011 16:24:19 +0000 (16:24 +0000)]
added double precision complex (COMPLEX*16) routines for rook pivoting algorithm for for symmetric indefinite matrices: zlasyf_rook.f zsytri_rook.f zsytrs_rook.f zsytrf_rook.f zsysv_rook.f zsycon_rook.f zsytf2_rook.f

12 years agofixed a typo in dsysv_rook.f, ssysv_rook.f, csysv_rook.f, replaced a call to *SYTRF...
igor175 [Wed, 7 Dec 2011 15:11:32 +0000 (15:11 +0000)]
fixed a typo in dsysv_rook.f, ssysv_rook.f, csysv_rook.f, replaced a call to *SYTRF by *SYTRF_ROOK

12 years agofixed a bug in csycon.f, changed the call to CLACN2 \n from CLACN2( N, WORK( N+1...
igor175 [Wed, 7 Dec 2011 14:46:54 +0000 (14:46 +0000)]
fixed a bug in csycon.f, changed the call to CLACN2 \n from CLACN2( N, WORK( N+1 ), WORK, IWORK, AINVNM, KASE, ISAVE ) \n to CLACN2( N, WORK( N+1 ), WORK, AINVNM, KASE, ISAVE )

12 years agocollapsed 2 lines of COMPLEX variable declarations into one line in clasyf_rook...
igor175 [Wed, 7 Dec 2011 14:19:47 +0000 (14:19 +0000)]
collapsed 2 lines of COMPLEX variable declarations into one line in  clasyf_rook.f and csytf2_rook.f

12 years agoadded standard precision (COMPLEX) routines for rook pivoting \\nalgorithm for symmet...
igor175 [Wed, 7 Dec 2011 12:52:24 +0000 (12:52 +0000)]
added standard precision (COMPLEX) routines for rook pivoting \\nalgorithm for symmetric indefinite matrices: slasyf_rook.f ssytri_rook.f ssytrs_rook.f ssytrf_rook.f ssysv_rook.f ssycon_rook.f ssytf2_rook.f

12 years agoupdated comments in dsytri_rook.f and ssytri_rook.f
igor175 [Wed, 7 Dec 2011 12:45:06 +0000 (12:45 +0000)]
updated comments in dsytri_rook.f and ssytri_rook.f

12 years agoupdated comments in dsysv_rook.f and ssysv_rook.f
igor175 [Wed, 7 Dec 2011 12:38:53 +0000 (12:38 +0000)]
updated comments in dsysv_rook.f and  ssysv_rook.f

12 years agofixed comments in ssytrs_rook.f and dsytrs_rook.f
igor175 [Wed, 7 Dec 2011 10:45:15 +0000 (10:45 +0000)]
fixed comments in ssytrs_rook.f and dsytrs_rook.f

12 years agofixed comments in dlasyf_rook.f and slasyf_rook.f
igor175 [Wed, 7 Dec 2011 09:19:33 +0000 (09:19 +0000)]
fixed comments in dlasyf_rook.f and slasyf_rook.f

12 years agofixed comments in dsytf2_rook.f and ssytf2_rook.f
igor175 [Wed, 7 Dec 2011 09:14:09 +0000 (09:14 +0000)]
fixed comments in dsytf2_rook.f and ssytf2_rook.f

12 years agorenamed DTEMP variable into STEMP in single precision routines ssytf2_rook.f slasyf_r...
igor175 [Wed, 7 Dec 2011 08:44:21 +0000 (08:44 +0000)]
renamed DTEMP variable into STEMP in single precision routines ssytf2_rook.f slasyf_rook.f

12 years agoadded standard precision (REAL) routines for 'rook' pivoting algorithm for symmetric...
igor175 [Wed, 7 Dec 2011 08:07:17 +0000 (08:07 +0000)]
added standard precision (REAL) routines for 'rook' pivoting algorithm for symmetric indefinite matrices: slasyf_rook.f ssytri_rook.f ssytrs_rook.f ssytrf_rook.f ssysv_rook.f ssycon_rook.f ssytf2_rook.f

12 years agochanged the relational experssions in pivot search loop in dsytf2_rook.f to be the...
igor175 [Wed, 7 Dec 2011 03:22:08 +0000 (03:22 +0000)]
changed the relational experssions in pivot search loop in dsytf2_rook.f to be the same as in dlasyf_rook.f. \n In particular, ROWMAX .EQ. COLMAX was replaced by the equivalent  ( P.EQ.JMAX ).OR.( ROWMAX.LE.COLMAX ). This approach better handles NaN and Inf

12 years agoadded LAPACK driver dsysv_rook.f
igor175 [Mon, 5 Dec 2011 15:39:52 +0000 (15:39 +0000)]
added LAPACK driver dsysv_rook.f

12 years agofixes to dsytri_rook.f
igor175 [Mon, 5 Dec 2011 14:28:12 +0000 (14:28 +0000)]
fixes to dsytri_rook.f

12 years agofixes to dsycon_rook.f
igor175 [Mon, 5 Dec 2011 14:00:00 +0000 (14:00 +0000)]
fixes to dsycon_rook.f

12 years agofixes to dsytrs_rook.f
igor175 [Mon, 5 Dec 2011 11:59:35 +0000 (11:59 +0000)]
fixes to dsytrs_rook.f

12 years agofixes to dsytrf_rook.f
igor175 [Mon, 5 Dec 2011 09:56:22 +0000 (09:56 +0000)]
fixes to dsytrf_rook.f

12 years agoIntegrate LAPACKE into LAPACK make and CMAKE build system.
julie [Sat, 3 Dec 2011 05:37:44 +0000 (05:37 +0000)]
Integrate LAPACKE into LAPACK make and CMAKE build system.
First commit, works on my mac! Need to see how to adapt to intel compilers and of course Windows.

LAPACKE is not built by default. Is that OK?
User need to type 'make lapackelib' to generate the lib
I add a couple of examples taken from MKL LAPACKE 'make lapacke_example'

12 years agofixes to dlasyf_rook.f
igor175 [Thu, 1 Dec 2011 07:22:37 +0000 (07:22 +0000)]
fixes to dlasyf_rook.f

12 years agofixed bug.
james [Wed, 30 Nov 2011 17:24:24 +0000 (17:24 +0000)]
fixed bug.

12 years agoChange RWORK description in the header. The RWORK array needs to be at least of
langou [Wed, 30 Nov 2011 16:17:35 +0000 (16:17 +0000)]
Change RWORK description in the header. The RWORK array needs to be at least of
dimension 2*NMAX to accomodate the calls to CHESVXX in CDRVHEX, ZHESVXX in
ZDRVHEX, CSYSVXX in CDRVSYX, and ZSYSVXX in ZDRVSYX. (The dimension of RWORK in
the caller subroutines --, e.g., ZCHKAA -- is way large enough.)

12 years agoPatching LAPACK testing routines according to Mike Pont (NAG)'s forum post #2894.
langou [Wed, 30 Nov 2011 13:34:58 +0000 (13:34 +0000)]
Patching LAPACK testing routines according to Mike Pont (NAG)'s forum post #2894.
http://icl.cs.utk.edu/lapack-forum/viewtopic.php?t=2894

12 years agoFixes to dsytf2_rook.f
igor175 [Tue, 29 Nov 2011 11:08:24 +0000 (11:08 +0000)]
Fixes to dsytf2_rook.f

12 years agoCorrect some more new lines in program - Thanks Igor for finding out the problem
julie [Wed, 23 Nov 2011 18:10:47 +0000 (18:10 +0000)]
Correct some more new lines in program - Thanks Igor for finding out the problem

12 years agofixed new lines in testing drivers source files
igor175 [Tue, 22 Nov 2011 03:04:51 +0000 (03:04 +0000)]
fixed new lines in testing drivers source files

12 years agoUpdate LAPACK version for CMAKE
julie [Wed, 16 Nov 2011 21:37:59 +0000 (21:37 +0000)]
Update LAPACK version for CMAKE

12 years ago********************************************************************************
langou [Wed, 16 Nov 2011 16:03:59 +0000 (16:03 +0000)]
********************************************************************************

From Ake Sandgren, Umea University and HPC2N, on 11-16-2011.

Hi!

stprfb.f has some unneeded external declarations

diff -ru site/SRC/stprfb.f p1/SRC/stprfb.f
--- site/SRC/stprfb.f   2011-10-22 18:49:03.000000000 +0200
+++ p1/SRC/stprfb.f     2011-11-16 09:30:22.000000000 +0100
@@ -246,7 +246,7 @@
     EXTERNAL  LSAME
*     ..
*     .. External Subroutines ..
-      EXTERNAL  SCOPY, SGEMM, SLACGV, STRMM
+      EXTERNAL  SGEMM, STRMM
*     ..
*     .. Executable Statements ..
*

********************************************************************************

Ake,

Thank you for catching this.  I will remove the unused external declarations.
The changes will be available from the lapack-dev svn server, and in the next
release.

Rodney

********************************************************************************

12 years agofunction call change from DSYTRS to DSYTRS_ROOK in DSYCON_ROOK
igor175 [Mon, 14 Nov 2011 18:02:55 +0000 (18:02 +0000)]
function call change from DSYTRS to DSYTRS_ROOK in DSYCON_ROOK

12 years agoadded routines for bounded Bunch-Kaufman pivoting factorization algorithm in DOUBLE...
igor175 [Mon, 14 Nov 2011 16:03:40 +0000 (16:03 +0000)]
added routines for bounded Bunch-Kaufman pivoting factorization algorithm in DOUBLE PRESCISION case:\n dsytf2_rook.f dsytri_rook.f dsytrs_rook.f dsytrf_rook.f dsycon_rook.f dlasyf_rook.f

12 years agoVarious change: add target to generate doc (man and html) and cleanup make.inc's
julie [Fri, 11 Nov 2011 21:08:04 +0000 (21:08 +0000)]
Various change: add target to generate doc (man and html) and cleanup make.inc's

12 years agofixed
langou [Fri, 11 Nov 2011 20:18:50 +0000 (20:18 +0000)]
fixed

12 years agoUpadte info and date (testing are not included)
julie [Fri, 11 Nov 2011 20:15:00 +0000 (20:15 +0000)]
Upadte info and date (testing are not included)

12 years agoAdd lapacke inside LAPACK
julie [Fri, 11 Nov 2011 20:12:14 +0000 (20:12 +0000)]
Add lapacke inside LAPACK

12 years agoUpdate version number to 3.4.0
julie [Fri, 11 Nov 2011 19:34:11 +0000 (19:34 +0000)]
Update version number to 3.4.0

12 years agoCorrect bug 0065.
julie [Mon, 7 Nov 2011 20:19:53 +0000 (20:19 +0000)]
Correct bug 0065.
Replace Workspace calculations by calls to the routines with LWORK=-1.
This impacts only three routines: xGESVD, xGELSS, x[OR/UN]GBR
Testing have been run to check that the workspace size return is the same.

In a further effort (next major release probably), LAPACK will need to stick
to that LWORK=-1 rule to compute Workspace size.

12 years agoChange to ilaver to update doc
julie [Mon, 7 Nov 2011 20:15:25 +0000 (20:15 +0000)]
Change to ilaver to update doc

12 years agoCorrect comments dor Doxygen
julie [Fri, 4 Nov 2011 20:05:18 +0000 (20:05 +0000)]
Correct comments dor Doxygen

12 years agoCosmetic changes in Doxygen presentation.
julie [Thu, 3 Nov 2011 20:32:56 +0000 (20:32 +0000)]
Cosmetic changes in Doxygen presentation.
Use \par instead of \details for section.

add a Contributors Section and a Reference Section.
Remove (some) verbatim section when not needed.
Those changes have been done by hand so I am not sure I manage to catch them all.

12 years agoNever say never...
julie [Tue, 1 Nov 2011 22:02:31 +0000 (22:02 +0000)]
Never say never...

12 years agoLast commit related to Doxygen integration following Albert's comment
julie [Tue, 1 Nov 2011 18:25:33 +0000 (18:25 +0000)]
Last commit related to Doxygen integration following Albert's comment

12 years agoCorrect Warning detected during Doxygen Generation.
julie [Mon, 31 Oct 2011 22:21:11 +0000 (22:21 +0000)]
Correct Warning detected during Doxygen Generation.
Now each routine should have the correct list of arguments.
This allowed to detect and fix problems in parameter description of many routines.

12 years agoadding error checker for gejsv, they were missing - reported by Nadezhda Mozartova
julie [Tue, 25 Oct 2011 08:28:38 +0000 (08:28 +0000)]
adding error checker for gejsv, they were missing - reported by Nadezhda Mozartova

12 years agocorrection error checkers for sysv, posv, hesv, gbsv - reported by Nadezhda Mozartova...
julie [Tue, 25 Oct 2011 07:17:15 +0000 (07:17 +0000)]
correction error checkers for sysv, posv, hesv, gbsv - reported by Nadezhda Mozartova (INTEL)

12 years agoadd name of the routine before call
julie [Tue, 25 Oct 2011 07:05:50 +0000 (07:05 +0000)]
add name of the routine before call

12 years agoSkip n=0 for rfp test to protect against div by zero - reported by Ake Sandgren on...
julie [Tue, 25 Oct 2011 07:01:05 +0000 (07:01 +0000)]
Skip n=0 for rfp test to protect against div by zero - reported by Ake Sandgren on Oct 22nd on lapack mailing list

12 years agoCorrect wrong filename
julie [Thu, 13 Oct 2011 11:20:19 +0000 (11:20 +0000)]
Correct wrong filename

12 years agoadding link to individual download, the links will appear directly in Doxygen html...
julie [Thu, 13 Oct 2011 08:53:21 +0000 (08:53 +0000)]
adding link to individual download, the links will appear directly in Doxygen html documentation

12 years agofixing end of routine
julie [Wed, 12 Oct 2011 14:25:34 +0000 (14:25 +0000)]
fixing end of routine

12 years agoset timeout to 36000 to enable test in quadruple prcision to finish
julie [Wed, 12 Oct 2011 13:24:32 +0000 (13:24 +0000)]
set timeout to 36000 to enable test in quadruple prcision to finish

12 years agofix problem detected by Sven
julie [Wed, 12 Oct 2011 12:07:47 +0000 (12:07 +0000)]
fix problem detected by Sven
xerbla was called without SRNAMT and INFOT.
Actually the problem was that the CSD routines did not have error exits.
So I added them, and i also modified the source files because info was not set correctly.

12 years agofix undeclared variables introduced in rev1017:fix to Ming Gu's bug
julie [Wed, 12 Oct 2011 12:04:02 +0000 (12:04 +0000)]
fix undeclared variables introduced in rev1017:fix to Ming Gu's bug

12 years agoFix Problem in testing discovered with the LAPACK dashboard related to rev 983
julie [Fri, 7 Oct 2011 09:46:30 +0000 (09:46 +0000)]
Fix Problem in testing discovered with the LAPACK dashboard related to rev 983

12 years agoUse cmake to copy files at installation time
julie [Thu, 6 Oct 2011 14:02:16 +0000 (14:02 +0000)]
Use cmake to copy files at installation time

12 years agoIntegrating Doxygen in comments
julie [Thu, 6 Oct 2011 06:53:11 +0000 (06:53 +0000)]
Integrating Doxygen in comments

12 years agoChanges to the SRC/Makefile to fix bugs that affected 'make single', 'make double...
igor175 [Tue, 4 Oct 2011 02:58:05 +0000 (02:58 +0000)]
Changes to the SRC/Makefile to fix bugs that affected 'make single', 'make double', 'make complex', 'make complex16' functionality. Specifically, DSLASRC was included as a dependency for single and double, and ZCLASRC  as a dependency for complex and complex16. Also, a few modifications for the case when USEXBLAS is defined to enable  'make single', 'make double' etc. For more info refer to LAPACK-DEV google group 'LAPACK SRC/Makefile question?' thread.

12 years agoFix to Ming Gu's bug in dqds. See post of LAPACK DEV message board for more details
lipshitz [Mon, 3 Oct 2011 19:24:45 +0000 (19:24 +0000)]
Fix to Ming Gu's bug in dqds.  See post of LAPACK DEV message board for more details

12 years agoPer consultation with Julie, added ./testieee to main Makefile lapack_install target
igor175 [Sat, 1 Oct 2011 02:41:38 +0000 (02:41 +0000)]
Per consultation with Julie, added ./testieee to main Makefile lapack_install target

12 years agoFormat changes to INSTALL/Makefile
igor175 [Sat, 1 Oct 2011 02:37:03 +0000 (02:37 +0000)]
Format changes to INSTALL/Makefile

12 years agodeleted svn:executable SVN property on SRC/dgeqrt.f
igor175 [Fri, 30 Sep 2011 22:26:57 +0000 (22:26 +0000)]
deleted svn:executable SVN property on SRC/dgeqrt.f

12 years agoComments fix to be able to generate the new layout and the corresponding Doxygen...
julie [Fri, 30 Sep 2011 18:34:50 +0000 (18:34 +0000)]
Comments fix to be able to generate the new layout and the corresponding Doxygen documentation

12 years agoRefactored $(ALLOBJ) files in TESTING/MATGEN/Makefile and a few cosmetic changes
igor175 [Fri, 30 Sep 2011 02:23:37 +0000 (02:23 +0000)]
Refactored $(ALLOBJ) files in TESTING/MATGEN/Makefile and a few cosmetic changes

12 years agoReverting previous bad commit and going back to revision 1008
igor175 [Fri, 30 Sep 2011 00:03:50 +0000 (00:03 +0000)]
Reverting previous bad commit and going back to revision 1008

12 years agoconvinience change to Makefile to clean BLAS directory from object files
igor175 [Thu, 29 Sep 2011 23:33:36 +0000 (23:33 +0000)]
convinience change to Makefile to clean BLAS directory from object files

12 years agoAdd the LAPACK library as dependencies for testing after Igor's comment.
julie [Mon, 26 Sep 2011 21:52:31 +0000 (21:52 +0000)]
Add the LAPACK library as dependencies for testing after Igor's comment.
This means that if you change one file, all testings will be rerun.

Should we be smarter than that?

12 years agoImprove CMAKE BUILD system and OUTPUT PARSING when not all precisions are needed.
julie [Fri, 23 Sep 2011 19:50:27 +0000 (19:50 +0000)]
Improve CMAKE BUILD system and OUTPUT PARSING when not all precisions are needed.
The following variables will control the precision to be built:
  BUILD_SINGLE
  BUILD_DOUBLE
  BUILD_COMPLEX
  BUILD_COMPLEX16

For mixed precision SINGLE/DOUBLE routines, both BUILD_SINGLE and BUILD_DOUBLE needs to be on.
(same for COMPLEX/COMPLEX16)

12 years agoCommit patch sent by Sven.
julie [Fri, 23 Sep 2011 15:26:46 +0000 (15:26 +0000)]
Commit patch sent by Sven.
Patch was based on 3.3.0, so required a little bit of merging.
Thank you Sven for the corrections.
Julie

JL
TESTING/EIG
zerrgg.f
Declare ILO, IHI

SRC
---
I have corrected all the following warnings and errors:

c/d/s/zsysv.f, Unused external reference ILAENV
>JL OK
c/d/s/zsysv.f, Unused local variable NB
>JL  ALREADY CORRECTED

sgsvj0.f, Unused intrinsic AMIN1
> JL OK

d/sorbdb.f, Unused intrinsic MIN
> JL OK

sorcsd.f, Unused intrinsic SIN
sorcsd.f, Unused intrinsic COS
> JL OK MERGE

cpoequb.f, Unused intrinsic AIMAG
cpoequb.f, Unused intrinsic REAL
cpoequb.f, Unused local variable ZDUM

zgeequb.f, REAL --> DBLE
> JL OK

sorcsd.f, line 330: Inconsistent data type REAL (previously INTEGER) for argument 14 in reference to SORBDB
sorcsd.f, line 340: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGQR
sorcsd.f, line 345: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGQR
sorcsd.f, line 356: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGLQ
sorcsd.f, line 363: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGLQ
sorcsd.f, line 369: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGLQ
sorcsd.f, line 374: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGLQ
sorcsd.f, line 385: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGQR
sorcsd.f, line 392: Inconsistent data type REAL (previously INTEGER) for argument 4 in reference to SORGQR
sorcsd.f, line 399: Inconsistent data type REAL (previously INTEGER) for argument 9 in reference to SBBCSD
> JL OK MERGE

ila(s/d/c/z)lr.f
In the WHILE loop, at about line 59 I inserted
IF (I.EQ.0) THEN
   EXIT
END IF
since, otherwise when I = 0, A(0,J) is referenced.
> JL OK

TESTING/MATGEN
--------------
s/dlatm7.f
line 187: I replaced
IF( N.GT.1 ) THEN
by
IF( N.GT.1 .AND. RANK.GT.1 ) THEN
Otherwise I get a division by zero.
> JL OK

s/dlaror.f
I moved:
INFO = 0
from line 125 to line 121 in front of
 IF( N.EQ.0 .OR. M.EQ.0 )
$   RETURN
otherwise INFO is not defined on return when N or M are zero.
Similar change for
c/zlaror.f
> JL OK

TESTING/LIN
-----------
s/derrsy.f
In calls to S/DSYTRI2: I replaced IW by IW(1) since the dummy argument
(LWORK) is a scalar.
> JL OK

c/zerrrfp.f
I made ALPHA and BETA REAL/DOUBLE and introduced COMPLEX/COMPLEX*16
CALPHA since calls to C/ZHFRK need real alpha and beta.  In calls to
CTFSM, I then replaced ALPHA with CALPHA.
In cerrrfp.f, I replaced 1.0D0 with 1.0E0 (not strictly necessary, but
cleaner).
> JL OK

dpot06.f
Removed the unused declaration of LSAME
> JL OK

d/zdrvac.f
Removed the unused declaration of LSAME
> JL OK MERGE

s/d/c/z/ckcsd.f
Removed the unused declarations of S/D/C/ZLANGE, SIN and COS
> JL OK

c/zgennd.f
Removed the unused variable OUT
> JL already DONE

Corrected the following warnings and errors:

dchksy.f, Unused local variable MYWORK
> JL already DONE

ddrvgbx.f, line 792: Different number of arguments from the first call of DGBT02
> JL OK

cdrvgbx.f, line 726: Inconsistent data type REAL (previously COMPLEX) for argument 4 in reference to CLASET
cdrvgbx.f, line 728: Inconsistent data type REAL (previously COMPLEX) for argument 4 in reference to CLASET
cdrvgbx.f, line 780: Inconsistent data type REAL (previously COMPLEX) for argument 10 in reference to CGBT01
cdrvgbx.f, line 794: Different number of arguments from the first call of CGBT02
> JL OK

zdrvgbx.f, line 726: Inconsistent data type DOUBLE PRECISION (previously COMPLEX(KIND(0d0))) for argument 4 in reference to ZLASET
zdrvgbx.f, line 728: Inconsistent data type DOUBLE PRECISION (previously COMPLEX(KIND(0d0))) for argument 4 in reference to ZLASET
zdrvgbx.f, line 780: Inconsistent data type DOUBLE PRECISION (previously COMPLEX(KIND(0d0))) for argument 10 in reference to ZGBT01
zdrvgbx.f, line 794: Different number of arguments from the first call of ZGBT02
> JL OK

TESTING/EIG
-----------
s/d/c/zchkee.f
I inserted
CALL XLAENV( 12, 1 )
at line 1208, since IPARMS(ISPEC) with ISPEC = 12 needs to be set.
(I think I had to do this with them all, certainly with zchkee.f)
> JL OK zchkee.f cchkee.f

c/zchkee.f
In line 2316, the 15th argument of C/ZCKCSD should be real, not complex,
so I replaced A(1,7) by RWORK.
> JL OK

c/zcsdts.f
In calls to C/ZHERK I have replaced ONE by REALONE as arguments 5 and 8
should be real.
> JL OK

s/d/c/zcsdts.f
Division by zero occurs at line 155 in computing EPS when M = 0, so I
have modified
 EPS2 = MAX( ULP, CLANGE( '1', M, M, WORK, LDX, RWORK ) / REAL( M ) )
to
 IF (M.GT.0) THEN
    EPS2 = MAX( ULP,
$               CLANGE( '1', M, M, WORK, LDX, RWORK ) / REAL( M ) )
 ELSE
    EPS2 = ULP
 END IF
> JL OK

SRC/VARIANTS/lu/CR
------------------
s/d/c/zgetrf
Removed the unused intrinsic MOD
> JL OK

13 years agoCommit pb in TESTING reported by Nadezhda (INTEL) on Aug 29th.
julie [Tue, 30 Aug 2011 15:24:06 +0000 (15:24 +0000)]
Commit pb in TESTING reported by Nadezhda (INTEL) on Aug 29th.

"We notice that errorcheckers tests aren’t correct in some cases.
errorcheckers of ?ggevx, ?pstrf, ?pstf2
Some output parameters are read only in the errorcheckers tests."

13 years agoCorrect Bug in the testing of CHERFSX function
julie [Mon, 15 Aug 2011 20:53:17 +0000 (20:53 +0000)]
Correct Bug in the testing of CHERFSX function
reported by omitrofa (olga.mitrofanova@intel.com)
See Forum 2644

Test of CHERFSX function doesn't work because there is an error
in ../TESTING/LIN/cerrhex.f ( lines 284-330 ).
This function uses the diagonal pivoting factorization of a Hermitian
indefinite matrix instead of the diagonal pivoting factorization of
a Hermitian indefinite packed matrix. When CHERFSX is included in
conditional "IF( LSAMEN( 2, C2, 'HE' ) ) THEN " the test works.

13 years agoReplace DOUBLE COMPLEX by COMPLEX*16
julie [Mon, 15 Aug 2011 18:25:57 +0000 (18:25 +0000)]
Replace DOUBLE COMPLEX by COMPLEX*16
Replace SNGL by REAL

13 years agoAdd missing files for GNU-built LAPACK DLLs with MS tools
julie [Mon, 15 Aug 2011 13:26:00 +0000 (13:26 +0000)]
Add missing files for GNU-built LAPACK DLLs with MS tools

13 years agotest routines for new QRT subroutines:
james [Thu, 11 Aug 2011 22:29:16 +0000 (22:29 +0000)]
test routines for new QRT subroutines:

xQRT04 tests xGEQRT and xGEMQRT
xQRT05 tests xTPQRT and xTPMQRT

13 years agoCommiting BRAD patch
julie [Tue, 9 Aug 2011 18:59:44 +0000 (18:59 +0000)]
Commiting BRAD patch

Here is a patch for lapack to provide MS-format dll import libraries
from the MinGW GNU toolchain.  It is ready for others to try before it
goes upstream.  You just need to have MinGW GNU Fortran 4.x and one of
the VS IDEs installed.  Configure a MinGW build with BUILD_SHARED_LIBS
set to ON.  The resulting build (and install) tree will provide both
GNU-format and MS-format import libraries for the DLLs.

A C application built with MSVC and linked to the MinGW-built lapack
DLLs will run but requires the GNU runtime DLLs from MinGW to be available.
I tested this with both 32-bit and 64-bit builds.  For the latter I used
the mingw64 gfortran.  In both cases I just put the GNU runtime directory
in my PATH.  I think both libgfortran-3.dll and libgcc_s_dw2-1.dll are
needed.

This may be used to create a binary LAPACK distribution for Windows that
will work without any GNU tools installed.  One needs only to provide the
MinGW GNU runtime libraries along with blas.dll and lapack.dll.

-Brad

13 years agoadded new QRT routines to object lists
james [Tue, 9 Aug 2011 01:17:34 +0000 (01:17 +0000)]
added new QRT routines to object lists

13 years agoQR factorization for triangular-pentagonal matrices
james [Mon, 8 Aug 2011 22:07:49 +0000 (22:07 +0000)]
QR factorization for triangular-pentagonal matrices
(generalization of triangle-over-square and triangle-over-triangle)

13 years agoQRT (QR factorization with compact WY representation for Q) routines for general...
james [Mon, 8 Aug 2011 21:59:06 +0000 (21:59 +0000)]
QRT (QR factorization with compact WY representation for Q) routines for general matrices

13 years agoCHANGE IN THE SCRIPT:
julie [Tue, 28 Jun 2011 08:07:35 +0000 (08:07 +0000)]
CHANGE IN THE SCRIPT:
lapack_testing.py has been moved to the top directory
One argument was added :
     - d [dir] is to indicate where is the LAPACK testing directory (.out files). By default, the script will use .-d or --dir to
The -f argument was replaced by -r argument. Now by default the script will use the LAPACK output.
     - r is to use to run the LAPACK tests then analyse the output (.out files). By default, the script will not run all the LAPACK tests

INTEGRATION:
Integration of the LAPACK Testing parsing in the Makefile and CMake build process.

In the Makefile build: now the lapack_testing target will call the script after running the tests
In the CMAKE build: after the tests are run, the script will be executed with the option -s (short)
the end of the output will look like this:
100% tests passed, 0 tests failed out of 98

Total Test time (real) = 211.83 sec
SUMMARY                 numerical error         other error
================        =================       ================
REAL                    40      (0.004%)        0       (0.000%)
DOUBLE PRECISION        202     (0.020%)        0       (0.000%)
COMPLEX                 2       (0.000%)        0       (0.000%)
COMPLEX16               28      (0.005%)        0       (0.000%)

--> ALL PRECISIONS      272     (0.009%)        0       (0.000%)

13 years agomerge errors for number only mode
julie [Mon, 27 Jun 2011 13:22:47 +0000 (13:22 +0000)]
merge errors for number only mode

13 years agoAdd Julien's suggestions
julie [Mon, 27 Jun 2011 13:05:59 +0000 (13:05 +0000)]
Add Julien's suggestions

13 years ago[ minor edits ]
langou [Fri, 24 Jun 2011 13:31:01 +0000 (13:31 +0000)]
[ minor edits ]

suggestions:

1) combine Illegal Error and Info Error as one number in the SUMMARY

2) give % values in addition in the SUMMARY, something like: 203 (.01%)

13 years agoFirst try to get a nice script to analyze the LAPACK testing.
julie [Fri, 24 Jun 2011 08:46:19 +0000 (08:46 +0000)]
First try to get a nice script to analyze the LAPACK testing.

Below is the help that goes with it.
Please send feedback. I tired to include several levels of output and several kind of errors
So far, I just tested it on my machine, that has no major problems.
I just tested "numerical errors", not "illegal error" neither "info error".

The goal is to have our nightly testing use it and also users.

TO DO:
  - Test other kinds of errors on machines
  - See to include it in ctest and buildbot (need to contact Don and Brad/Chuck)
  - See if a type of error option is required.

./lapack_testing.py [-h|--help] [-s |--short] [-f |--file] [-e |--error] [-p p |--prec p] [-t test |--test test] [-n | --number]
     - h is to print this message
     - f is to use directly the output of the LAPACK testing (.out files). By default, the script will run all the LAPACK tests
 LEVEL OF OUTPUT
     - x is to print a detailed summary
     - e is to print only the error summary
     - s is to print a short summary
     - n is to print the numbers of failing tests (turn on summary mode)
 SECLECTION OF TESTS:
     - p [s/c/d/z] is to indicate the PRECISION to run:
            s=single
            d=double
            c=complex
            z=double complex
            x=all [DEFAULT]
     - t [lin/eig/mixed/rfp/all] is to indicate which TEST FAMILY to run:
            lin=Linear Equation
            eig=Eigen Problems
            mixed=mixed-precision
            rfp=rfp format
            all=all tests [DEFAULT]
 EXAMPLES:
     ./lapack_testing.py -n -f
            Will return the numbers of failed tests by analyzing the LAPACK output
     ./lapack_testing.py -n -f -p s
            Will return the numbers of failed tests in REAL precision by analyzing the LAPACK output
     ./lapack_testing.py -n -f -p s -t eig
            Will return the numbers of failed tests in REAL precision by analyzing only the LAPACK output of EIGEN testings
Written by Julie Langou (June 2011)

13 years agoAdded N*N to LWEDC (and LRWEDC for complex cases) to reflect updated LWORK requiremen...
james [Wed, 22 Jun 2011 13:37:15 +0000 (13:37 +0000)]
Added N*N to LWEDC (and LRWEDC for complex cases) to reflect updated LWORK requirements (see commit r984 in SRC).

13 years agoUpdate the name change (rev 985) for the CMAKE build
julie [Wed, 22 Jun 2011 11:50:43 +0000 (11:50 +0000)]
Update the name change (rev 985) for the CMAKE build

13 years agoFollowing Yana Gurieva (INTEL) 's comment
julie [Wed, 22 Jun 2011 11:49:32 +0000 (11:49 +0000)]
Following Yana Gurieva (INTEL) 's comment
"Why does Lapack have the routines named ?la_rpvgrw if they are intended for general matrices? Should not their names be ?la_gerpvgrw instead?"

THIS IS THUS A CHANGE IN INTERFACE