Commit Graph
192 Commits
Author SHA1 Message Date
julie 318f35554e Correct bug0069
Bug was sent by nmozarto on Jan 27th (see forum topic 2156)

Problem in new function ?SYTRI2 was found: the part of A below the diagonal is changed in the case UPLO='U' .
But in the description of arguments 
If UPLO = 'U', the upper triangular part of the
inverse is formed and the part of A below the diagonal is not
referenced; if UPLO = 'L' the lower triangular part of the
inverse is formed and the part of A above the diagonal is
not referenced.

These elements zeroized after calling ?GEMM function in ?SYTRI2X.
CALL SGEMM('T','N',NNB,NNB,CUT,ONE,A(1,CUT+1),LDA,
$ WORK,N+NB+1, ZERO, A(CUT+1,CUT+1), LDA)
2011-01-28 23:04:40 +00:00
julie b472675224 Same for hetrs2 routines 2011-01-27 14:25:04 +00:00
julie 8e844f51fe Follow-up: fix for new routines to handle LDA
See bug0067
2011-01-27 14:21:35 +00:00
langou 890ff5ee9c 1) Je viens de modifier le fichier timer_dsytri2.c de telle sorte a ce qu'il
traite les matrices avec des lda.
Exemple: 

	> gfortran timer_dsytri2.c /Users/langou/Documents/lapack-dev-trunk.svn/lapack_LINUX.a -framework vecLib
	> ./a.out -U -lda 1079 -n 100
	DSYTRI2 info=0, check=1.891597e-14
Dispo dans ldlt.git. Marche bien. Upper ou Lower. LDA different de N ou pas. Le
check est 
	|| A . inv(A) - I || / || A ||
(Je pense que il faut diviser par || A || * || inv(A) ||, pas tres important.)

2) Du coup, dans ce commit, je rectifie tous les codes. Cela compile. Je n'ai
pas verifie les testings. Je n'ai pas ecrit de driver pour verifier. (Le driver
n'est que pour la version DOUBLE.)

JL
2011-01-26 14:02:05 +00:00
langou 99c4971bd8 bon maintenant, ca compile ... (desole) 2011-01-26 05:49:27 +00:00
langou d267cb5ed4 J'ai lu le code vite fait. Comme ca, ca devrait marcher. Je n'ai pas verifie.
Je n'ai meme pas essaye de compiler en fait. En gros mettre LDA en parametre,
definir A comme etant A( LDA, N ) et pour l'increment du swap mettre LDA a la
place de N quand tu travailles sur les lignes. Donc c'est tout con. 

Donc il faut ecrire un driver qui teste ca avec une LDA differente de N ... Et
appliquer les modifications aux autres routines CHE, CSY, ZHE, ZSY et SSY.

Sinon pourquoi dans DSYSWAPR, est ce que tu utilises DSWAP de temps en temps,
et de temps en temps tu le fais a la main?  Je n'ai pas regarde les details.

JL.
2011-01-26 05:47:42 +00:00
julie 0c127da695 Include Zlatko changes following Paul Roberts from NAG report
Message from Zlatko:

The following changes are made in the
current version of the code:

1. in dgejsv, sgejsv:

- a typo in checking the parameters LSVEC.OR.LSVEC
  has been changed to LSVEC.OR.RSVEC
- the length of WORK, LWORK, its description
  and the minimal length for different JOBs
  have been revised and corrected
- in a call to xGESVJ with WORK(N+1), the length
  of the workspace is set to the correct value of 
  LWORK-N, instead of the incorrect LWORK
- a missing RETURN after a call to XERBLA
  has been inserted
- In the case of zero matrix on input, IWORK(3)
  is set to ZERO, to correspond to the description
  of IWORK in other nontrivial cases
2. in all routines
- simple editing so that the single and
  the corresponding double routines have matching
  lines in the source codes.
2011-01-25 22:02:14 +00:00
julie c4e5f2da72 Correct multiple definition in the lapack lib (See forum topic 2099 - Bruno) 2011-01-24 20:05:41 +00:00
julie d1e13ae046 Adding new hetri routines 2011-01-20 17:33:46 +00:00
julie 69dafd0e92 Remove the last compiler directive 2011-01-13 12:05:18 +00:00
julie eae5157da6 Remove outdated compiler directives 2011-01-12 17:34:06 +00:00
julie e057a1ba80 Suppress warning because of undefined variable 2011-01-11 14:10:14 +00:00
julie b7429d4085 Suppress a warning from SUN compilers when building exclusively for your native
platform.

- Chuck Atkins (Kitware)
2011-01-09 19:30:36 +00:00
julie ecdfdc8fb0 Suppress harmless linker warnings on IRIX + MIPSpro
- Chuck Atkins (Kitware)
2011-01-08 16:13:32 +00:00
julie fc22ffe70d Removed output truncation on ctest submissions.
- Chuck Atkins (Kitware)
2011-01-05 03:28:27 +00:00
julie bb3a2fda59 Fix object needed for targets in CMAKE build 2011-01-04 20:03:34 +00:00
julie 3a39267fb0 minor fix following compiler warnings: remove unused variable and change digit output format 2011-01-04 19:59:16 +00:00
julie 6cb10ef589 minor fix: add comment to warn that vector and matrix arguments are not referenced when N = 0, or M = 0 2011-01-04 19:58:09 +00:00
julie 8326a972ee Re-worked the type size check to be much more compact
- Chuck Atkins (Kitware)
2010-12-31 01:33:24 +00:00
julie 1a1c5a44df Added acml_mv to the ACML link libraries
- Chuck Atkins (Kitware)
2010-12-30 23:11:32 +00:00
julie c541fcd909 1. Adjusted regex checks in CheckLAPACKCompilerFlags.cmake to be more compact
2.  Added CheckFortranIntSize.cmake to auto-determine the default integer size
3.  Added more auto-detection features using integer size and compiler checks in FindBLAS.cmake

- Chuck Atkins (Kitware)
2010-12-30 22:14:10 +00:00
julie 3e21518c0e Display the test's output to stdout after a run so it can be viewed on the dashboard.
- Chuck Atkins (Kitware)
2010-12-24 21:38:46 +00:00
julie 8146c9b43f 1. Fixed a typo in FindBLAS for SGI (SCCL should have been SCSL) and 2. Fixed compiler flag check for SunPro to use ftrap=%none instead of ftrap=none.
- Chuck Atkins (Kitware)
2010-12-24 15:29:47 +00:00
julie 7f144b46d4 1. Added support for both IBM XL Fortran and IBM VisualAge Fortran
2.  Added libblas to ESSL libs to cover missing functionality from ESSL
3.  Renamed ESSL_6464, ESSL_SMP, and ESSL_SMP_6464 to ESSL6464, ESSLSMP, and ESSLSMP6464 respectively to mimic the actual library names.
4.  Added copyright notice to CheckLAPACKCompilerFlags

- Chuck Atkins (Kitware)
2010-12-23 02:32:05 +00:00
julie 1c2620a72f Fixed a bug in the IBM compiler options (-ffixed-form -> -qfixed).
- Chuck Atkins (Kitware)
2010-12-23 00:50:18 +00:00
julie 7c3ad4800f Added checks disable floating point exceptions for GNU, Intel, Sun, and IBM compilers and to enforce fixed-form for IBM compilers.
- Chuck Atkins (Kitware)
2010-12-23 00:39:05 +00:00
julie c6db164e8d Fixed FindBLAS for Sun Performance Library
- Chuck Atkins (Kitware)
2010-12-21 02:11:49 +00:00
julie 96a5907fbc Added a CTestCustom.cmake file to filter unwanted files from code coverage and suppress harmless warnings on the dashboard.
- Chuck Atkins (Kitware)
2010-12-20 22:54:32 +00:00
langou 20d3177888 Adding Peng Du's name in the authors of the variants. 2010-12-17 00:09:40 +00:00
julie 046375a08f 1. Corrected the way linker flags from FindBLAS are being used
2.  Changed LOOK_FOR_OPTIMIZED_BLAS to USE_OPTIMIZED_BLAS per CMake convention
3.  Changed BLAS_VENDORS to use library names instead of manufacturer names:
    From: BLAS_VENDORS=AMD;IBM;INTEL;HP;SUN etc
      To: BLAS_VENDORS=ACML;ESSL;MKL;VECLIB;PERFLIB
    This seems to be a more intuitive interface
4.  Added support for Intel MKL single dynamic library

- Chuck Atkins (Kitware)
2010-12-16 15:12:27 +00:00
julie 0d5645bfec Merge some of Sebastien Fabbro's patch for CMAKE 2010-12-15 18:44:42 +00:00
julie 141210af9c Added compiler flags from FindBLAS. 2010-12-15 18:42:50 +00:00
julie 1ab7dfd850 minor modif on find BLAS 2010-12-15 18:08:26 +00:00
julie fc27aaf2d3 Removed leftover debug messages from FindBLAS.cmake 2010-12-15 16:58:32 +00:00
julie bbc02626a5 Added support for external BLAS libraries in the CMake build. 2010-12-15 16:48:25 +00:00
langou ea0abcb747 undoing my check, sorry 2010-12-14 07:17:24 +00:00
langou 94a5959f16 this is a test 2010-12-14 07:16:58 +00:00
langou 1e88537186 New license file as agreed by email.
NB: license does not change. Copyright holders change. 
(Adding UCDenver and UCBerkeley.)
2010-12-13 19:10:19 +00:00
julie 8ca3c51357 Follow rencang's recommendation to fix bug 0064, set MAXIT to 64
Email from rencang:
"I have to clarify that the code does not do strict bisection. It uses bisection as the fall back when the computed approximation somehow gets out of the interval that the approximation should be in. Then one step of bisection is taken and then it goes back to the usual Newton-like method again (because that's faster). The interval is updated every step and thus shrinking. Xlasd4 was handled similarly.

Setting MAXIT=20 was too aggressive by my side as we know now. MAXIT=64 may be too conservative. Perhaps we should set MAXIT=40. If that breaks in the future, I'd really like to revisit the code. But if we'd like to play it safe, your suggested 64 would be the best bet."
2010-11-29 20:17:43 +00:00
julie bf1f0449f1 Fix line length 2010-11-17 22:57:18 +00:00
julie 1fdf39f499 Fix typo in external routine name 2010-11-17 22:10:50 +00:00
langou f502912258 correct indentation 2010-11-14 15:46:03 +00:00
langou b0f66356a7 imporve (?) comments 2010-11-14 15:35:07 +00:00
langou 1f36608a7a typos 2010-11-14 15:21:05 +00:00
julie 34e045d01d Correct memory access in CSD found with -fbounds-check flag 2010-11-13 15:50:45 +00:00
julie fcebd69730 polish comments
correct final iteration in the lower case.
Teststing are fine now with the  -fbounds-check options.
2010-11-13 11:04:49 +00:00
brian 84d4f2a616 2010-11-10 23:11:43 +00:00
langou 0d8a6de04b update 2009 to 2010 in some files 2010-11-10 22:33:07 +00:00
julie f084f12180 Start getting ready for the release 2010-11-08 20:15:23 +00:00
julie ae40eacfe6 Update CMake build 2010-11-08 11:02:29 +00:00