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

« back to all changes in this revision

Viewing changes to src/lapack/single/sgebak.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 SGEBAK
 
2
*
 
3
*  =========== DOCUMENTATION ===========
 
4
*
 
5
* Online html documentation available at 
 
6
*            http://www.netlib.org/lapack/explore-html/ 
 
7
*
 
8
*> \htmlonly
 
9
*> Download SGEBAK + dependencies 
 
10
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sgebak.f"> 
 
11
*> [TGZ]</a> 
 
12
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/sgebak.f"> 
 
13
*> [ZIP]</a> 
 
14
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/sgebak.f"> 
 
15
*> [TXT]</a>
 
16
*> \endhtmlonly 
 
17
*
 
18
*  Definition:
 
19
*  ===========
 
20
*
 
21
*       SUBROUTINE SGEBAK( JOB, SIDE, N, ILO, IHI, SCALE, M, V, LDV,
 
22
*                          INFO )
 
23
 
24
*       .. Scalar Arguments ..
 
25
*       CHARACTER          JOB, SIDE
 
26
*       INTEGER            IHI, ILO, INFO, LDV, M, N
 
27
*       ..
 
28
*       .. Array Arguments ..
 
29
*       REAL               V( LDV, * ), SCALE( * )
 
30
*       ..
 
31
*  
 
32
*
 
33
*> \par Purpose:
 
34
*  =============
 
35
*>
 
36
*> \verbatim
 
37
*>
 
38
*> SGEBAK forms the right or left eigenvectors of a real general matrix
 
39
*> by backward transformation on the computed eigenvectors of the
 
40
*> balanced matrix output by SGEBAL.
 
41
*> \endverbatim
 
42
*
 
43
*  Arguments:
 
44
*  ==========
 
45
*
 
46
*> \param[in] JOB
 
47
*> \verbatim
 
48
*>          JOB is CHARACTER*1
 
49
*>          Specifies the type of backward transformation required:
 
50
*>          = 'N', do nothing, return immediately;
 
51
*>          = 'P', do backward transformation for permutation only;
 
52
*>          = 'S', do backward transformation for scaling only;
 
53
*>          = 'B', do backward transformations for both permutation and
 
54
*>                 scaling.
 
55
*>          JOB must be the same as the argument JOB supplied to SGEBAL.
 
56
*> \endverbatim
 
57
*>
 
58
*> \param[in] SIDE
 
59
*> \verbatim
 
60
*>          SIDE is CHARACTER*1
 
61
*>          = 'R':  V contains right eigenvectors;
 
62
*>          = 'L':  V contains left eigenvectors.
 
63
*> \endverbatim
 
64
*>
 
65
*> \param[in] N
 
66
*> \verbatim
 
67
*>          N is INTEGER
 
68
*>          The number of rows of the matrix V.  N >= 0.
 
69
*> \endverbatim
 
70
*>
 
71
*> \param[in] ILO
 
72
*> \verbatim
 
73
*>          ILO is INTEGER
 
74
*> \endverbatim
 
75
*>
 
76
*> \param[in] IHI
 
77
*> \verbatim
 
78
*>          IHI is INTEGER
 
79
*>          The integers ILO and IHI determined by SGEBAL.
 
80
*>          1 <= ILO <= IHI <= N, if N > 0; ILO=1 and IHI=0, if N=0.
 
81
*> \endverbatim
 
82
*>
 
83
*> \param[in] SCALE
 
84
*> \verbatim
 
85
*>          SCALE is REAL array, dimension (N)
 
86
*>          Details of the permutation and scaling factors, as returned
 
87
*>          by SGEBAL.
 
88
*> \endverbatim
 
89
*>
 
90
*> \param[in] M
 
91
*> \verbatim
 
92
*>          M is INTEGER
 
93
*>          The number of columns of the matrix V.  M >= 0.
 
94
*> \endverbatim
 
95
*>
 
96
*> \param[in,out] V
 
97
*> \verbatim
 
98
*>          V is REAL array, dimension (LDV,M)
 
99
*>          On entry, the matrix of right or left eigenvectors to be
 
100
*>          transformed, as returned by SHSEIN or STREVC.
 
101
*>          On exit, V is overwritten by the transformed eigenvectors.
 
102
*> \endverbatim
 
103
*>
 
104
*> \param[in] LDV
 
105
*> \verbatim
 
106
*>          LDV is INTEGER
 
107
*>          The leading dimension of the array V. LDV >= max(1,N).
 
108
*> \endverbatim
 
109
*>
 
110
*> \param[out] INFO
 
111
*> \verbatim
 
112
*>          INFO is INTEGER
 
113
*>          = 0:  successful exit
 
114
*>          < 0:  if INFO = -i, the i-th argument had an illegal value.
 
115
*> \endverbatim
 
116
*
 
117
*  Authors:
 
118
*  ========
 
119
*
 
120
*> \author Univ. of Tennessee 
 
121
*> \author Univ. of California Berkeley 
 
122
*> \author Univ. of Colorado Denver 
 
123
*> \author NAG Ltd. 
 
124
*
 
125
*> \date November 2011
 
126
*
 
127
*> \ingroup realGEcomputational
 
128
*
 
129
*  =====================================================================
1
130
      SUBROUTINE SGEBAK( JOB, SIDE, N, ILO, IHI, SCALE, M, V, LDV,
2
131
     $                   INFO )
3
 
C$Id: sgebak.f 19697 2010-10-29 16:57:34Z d3y133 $
4
132
*
5
 
*  -- LAPACK routine (version 3.0) --
6
 
*     Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
7
 
*     Courant Institute, Argonne National Lab, and Rice University
8
 
*     September 30, 1994
 
133
*  -- LAPACK computational routine (version 3.4.0) --
 
134
*  -- LAPACK is a software package provided by Univ. of Tennessee,    --
 
135
*  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
 
136
*     November 2011
9
137
*
10
138
*     .. Scalar Arguments ..
11
139
      CHARACTER          JOB, SIDE
15
143
      REAL               V( LDV, * ), SCALE( * )
16
144
*     ..
17
145
*
18
 
*  Purpose
19
 
*  =======
20
 
*
21
 
*  SGEBAK forms the right or left eigenvectors of a real general matrix
22
 
*  by backward transformation on the computed eigenvectors of the
23
 
*  balanced matrix output by SGEBAL.
24
 
*
25
 
*  Arguments
26
 
*  =========
27
 
*
28
 
*  JOB     (input) CHARACTER*1
29
 
*          Specifies the type of backward transformation required:
30
 
*          = 'N', do nothing, return immediately;
31
 
*          = 'P', do backward transformation for permutation only;
32
 
*          = 'S', do backward transformation for scaling only;
33
 
*          = 'B', do backward transformations for both permutation and
34
 
*                 scaling.
35
 
*          JOB must be the same as the argument JOB supplied to SGEBAL.
36
 
*
37
 
*  SIDE    (input) CHARACTER*1
38
 
*          = 'R':  V contains right eigenvectors;
39
 
*          = 'L':  V contains left eigenvectors.
40
 
*
41
 
*  N       (input) INTEGER
42
 
*          The number of rows of the matrix V.  N >= 0.
43
 
*
44
 
*  ILO     (input) INTEGER
45
 
*  IHI     (input) INTEGER
46
 
*          The integers ILO and IHI determined by SGEBAL.
47
 
*          1 <= ILO <= IHI <= N, if N > 0; ILO=1 and IHI=0, if N=0.
48
 
*
49
 
*  SCALE   (input) REAL array, dimension (N)
50
 
*          Details of the permutation and scaling factors, as returned
51
 
*          by SGEBAL.
52
 
*
53
 
*  M       (input) INTEGER
54
 
*          The number of columns of the matrix V.  M >= 0.
55
 
*
56
 
*  V       (input/output) REAL array, dimension (LDV,M)
57
 
*          On entry, the matrix of right or left eigenvectors to be
58
 
*          transformed, as returned by SHSEIN or STREVC.
59
 
*          On exit, V is overwritten by the transformed eigenvectors.
60
 
*
61
 
*  LDV     (input) INTEGER
62
 
*          The leading dimension of the array V. LDV >= max(1,N).
63
 
*
64
 
*  INFO    (output) INTEGER
65
 
*          = 0:  successful exit
66
 
*          < 0:  if INFO = -i, the i-th argument had an illegal value.
67
 
*
68
146
*  =====================================================================
69
147
*
70
148
*     .. Parameters ..
84
162
      EXTERNAL           SSCAL, SSWAP, XERBLA
85
163
*     ..
86
164
*     .. Intrinsic Functions ..
87
 
      INTRINSIC          MAX
 
165
      INTRINSIC          MAX, MIN
88
166
*     ..
89
167
*     .. Executable Statements ..
90
168
*