~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/lapack/double/dgetrf.f

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
*> \brief \b DGETRF
 
2
*
 
3
*  =========== DOCUMENTATION ===========
 
4
*
 
5
* Online html documentation available at 
 
6
*            http://www.netlib.org/lapack/explore-html/ 
 
7
*
 
8
*> \htmlonly
 
9
*> Download DGETRF + dependencies 
 
10
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dgetrf.f"> 
 
11
*> [TGZ]</a> 
 
12
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dgetrf.f"> 
 
13
*> [ZIP]</a> 
 
14
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dgetrf.f"> 
 
15
*> [TXT]</a>
 
16
*> \endhtmlonly 
 
17
*
 
18
*  Definition:
 
19
*  ===========
 
20
*
 
21
*       SUBROUTINE DGETRF( M, N, A, LDA, IPIV, INFO )
 
22
 
23
*       .. Scalar Arguments ..
 
24
*       INTEGER            INFO, LDA, M, N
 
25
*       ..
 
26
*       .. Array Arguments ..
 
27
*       INTEGER            IPIV( * )
 
28
*       DOUBLE PRECISION   A( LDA, * )
 
29
*       ..
 
30
*  
 
31
*
 
32
*> \par Purpose:
 
33
*  =============
 
34
*>
 
35
*> \verbatim
 
36
*>
 
37
*> DGETRF computes an LU factorization of a general M-by-N matrix A
 
38
*> using partial pivoting with row interchanges.
 
39
*>
 
40
*> The factorization has the form
 
41
*>    A = P * L * U
 
42
*> where P is a permutation matrix, L is lower triangular with unit
 
43
*> diagonal elements (lower trapezoidal if m > n), and U is upper
 
44
*> triangular (upper trapezoidal if m < n).
 
45
*>
 
46
*> This is the right-looking Level 3 BLAS version of the algorithm.
 
47
*> \endverbatim
 
48
*
 
49
*  Arguments:
 
50
*  ==========
 
51
*
 
52
*> \param[in] M
 
53
*> \verbatim
 
54
*>          M is INTEGER
 
55
*>          The number of rows of the matrix A.  M >= 0.
 
56
*> \endverbatim
 
57
*>
 
58
*> \param[in] N
 
59
*> \verbatim
 
60
*>          N is INTEGER
 
61
*>          The number of columns of the matrix A.  N >= 0.
 
62
*> \endverbatim
 
63
*>
 
64
*> \param[in,out] A
 
65
*> \verbatim
 
66
*>          A is DOUBLE PRECISION array, dimension (LDA,N)
 
67
*>          On entry, the M-by-N matrix to be factored.
 
68
*>          On exit, the factors L and U from the factorization
 
69
*>          A = P*L*U; the unit diagonal elements of L are not stored.
 
70
*> \endverbatim
 
71
*>
 
72
*> \param[in] LDA
 
73
*> \verbatim
 
74
*>          LDA is INTEGER
 
75
*>          The leading dimension of the array A.  LDA >= max(1,M).
 
76
*> \endverbatim
 
77
*>
 
78
*> \param[out] IPIV
 
79
*> \verbatim
 
80
*>          IPIV is INTEGER array, dimension (min(M,N))
 
81
*>          The pivot indices; for 1 <= i <= min(M,N), row i of the
 
82
*>          matrix was interchanged with row IPIV(i).
 
83
*> \endverbatim
 
84
*>
 
85
*> \param[out] INFO
 
86
*> \verbatim
 
87
*>          INFO is INTEGER
 
88
*>          = 0:  successful exit
 
89
*>          < 0:  if INFO = -i, the i-th argument had an illegal value
 
90
*>          > 0:  if INFO = i, U(i,i) is exactly zero. The factorization
 
91
*>                has been completed, but the factor U is exactly
 
92
*>                singular, and division by zero will occur if it is used
 
93
*>                to solve a system of equations.
 
94
*> \endverbatim
 
95
*
 
96
*  Authors:
 
97
*  ========
 
98
*
 
99
*> \author Univ. of Tennessee 
 
100
*> \author Univ. of California Berkeley 
 
101
*> \author Univ. of Colorado Denver 
 
102
*> \author NAG Ltd. 
 
103
*
 
104
*> \date November 2011
 
105
*
 
106
*> \ingroup doubleGEcomputational
 
107
*
 
108
*  =====================================================================
1
109
      SUBROUTINE DGETRF( M, N, A, LDA, IPIV, INFO )
2
110
*
3
 
*  -- LAPACK routine (version 2.0) --
4
 
*     Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
5
 
*     Courant Institute, Argonne National Lab, and Rice University
6
 
*     March 31, 1993
 
111
*  -- LAPACK computational routine (version 3.4.0) --
 
112
*  -- LAPACK is a software package provided by Univ. of Tennessee,    --
 
113
*  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
 
114
*     November 2011
7
115
*
8
116
*     .. Scalar Arguments ..
9
117
      INTEGER            INFO, LDA, M, N
13
121
      DOUBLE PRECISION   A( LDA, * )
14
122
*     ..
15
123
*
16
 
c
17
 
* $Id: dgetrf.f 19697 2010-10-29 16:57:34Z d3y133 $
18
 
c
19
 
*  Purpose
20
 
*  =======
21
 
*
22
 
*  DGETRF computes an LU factorization of a general M-by-N matrix A
23
 
*  using partial pivoting with row interchanges.
24
 
*
25
 
*  The factorization has the form
26
 
*     A = P * L * U
27
 
*  where P is a permutation matrix, L is lower triangular with unit
28
 
*  diagonal elements (lower trapezoidal if m > n), and U is upper
29
 
*  triangular (upper trapezoidal if m < n).
30
 
*
31
 
*  This is the right-looking Level 3 BLAS version of the algorithm.
32
 
*
33
 
*  Arguments
34
 
*  =========
35
 
*
36
 
*  M       (input) INTEGER
37
 
*          The number of rows of the matrix A.  M >= 0.
38
 
*
39
 
*  N       (input) INTEGER
40
 
*          The number of columns of the matrix A.  N >= 0.
41
 
*
42
 
*  A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
43
 
*          On entry, the M-by-N matrix to be factored.
44
 
*          On exit, the factors L and U from the factorization
45
 
*          A = P*L*U; the unit diagonal elements of L are not stored.
46
 
*
47
 
*  LDA     (input) INTEGER
48
 
*          The leading dimension of the array A.  LDA >= max(1,M).
49
 
*
50
 
*  IPIV    (output) INTEGER array, dimension (min(M,N))
51
 
*          The pivot indices; for 1 <= i <= min(M,N), row i of the
52
 
*          matrix was interchanged with row IPIV(i).
53
 
*
54
 
*  INFO    (output) INTEGER
55
 
*          = 0:  successful exit
56
 
*          < 0:  if INFO = -i, the i-th argument had an illegal value
57
 
*          > 0:  if INFO = i, U(i,i) is exactly zero. The factorization
58
 
*                has been completed, but the factor U is exactly
59
 
*                singular, and division by zero will occur if it is used
60
 
*                to solve a system of equations.
61
 
*
62
124
*  =====================================================================
63
125
*
64
126
*     .. Parameters ..