This file is indexed.

/usr/share/doc/quantum-espresso/html/node27.html is in quantum-espresso 4.3.2-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2008 (1.71)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>5.2 Optimization and dynamics</TITLE>
<META NAME="description" CONTENT="5.2 Optimization and dynamics">
<META NAME="keywords" CONTENT="user_guide">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META NAME="Generator" CONTENT="LaTeX2HTML v2008">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="user_guide.css">

<LINK REL="next" HREF="node28.html">
<LINK REL="previous" HREF="node26.html">
<LINK REL="up" HREF="node25.html">
<LINK REL="next" HREF="node28.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A NAME="tex2html718"
  HREF="node28.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html714"
  HREF="node25.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html708"
  HREF="node26.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html716"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html719"
  HREF="node28.html">5.3 Direct interface with</A>
<B> Up:</B> <A NAME="tex2html715"
  HREF="node25.html">5 Using PWscf</A>
<B> Previous:</B> <A NAME="tex2html709"
  HREF="node26.html">5.1 Electronic structure calculations</A>
 &nbsp; <B>  <A NAME="tex2html717"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><UL>
<LI><A NAME="tex2html720"
  HREF="node27.html#SECTION00062010000000000000">5.2.0.1 Structural optimization</A>
<LI><A NAME="tex2html721"
  HREF="node27.html#SECTION00062020000000000000">5.2.0.2 Molecular Dynamics</A>
<LI><A NAME="tex2html722"
  HREF="node27.html#SECTION00062030000000000000">5.2.0.3 Free-energy surface calculations</A>
<LI><A NAME="tex2html723"
  HREF="node27.html#SECTION00062040000000000000">5.2.0.4 Variable-cell optimization</A>
<LI><A NAME="tex2html724"
  HREF="node27.html#SECTION00062050000000000000">5.2.0.5 Variable-cell molecular dynamics</A>
</UL></UL>
<!--End of Table of Child-Links-->
<HR>

<H2><A NAME="SECTION00062000000000000000">
5.2 Optimization and dynamics</A>
</H2>

<P>

<H4><A NAME="SECTION00062010000000000000">
5.2.0.1 Structural optimization</A>
</H4>
For fixed-cell optimization, specify <TT>calculation='relax'</TT> and 
add namelist &amp;IONS. All options for a single SCF calculation apply, 
plus a few others. You
may follow a structural optimization with a non-SCF band-structure
calculation (since v.4.1, you do not need any longer to update the 
atomic positions in the input file for non scf calculation).
<BR>
See Example 03.

<P>

<H4><A NAME="SECTION00062020000000000000">
5.2.0.2 Molecular Dynamics</A>
</H4> 
Specify <TT>calculation='md'</TT>, the time step <TT>dt</TT>, and possibly the number of MD stops <TT>nstep</TT>.
Use variable <TT>ion_dynamics</TT> in namelist &amp;IONS for a fine-grained control
of the kind of dynamics. Other options for setting the initial
temperature and for thermalization using velocity rescaling are
available. Remember: this is MD on the electronic ground state, not
Car-Parrinello MD.
See Example 04.

<P>

<H4><A NAME="SECTION00062030000000000000">
5.2.0.3 Free-energy surface calculations</A>
</H4>

<P>
Once <TT>PWscf</TT> is patched with the <TT>PLUMED</TT> plug-in, it is possible to 
use most PLUMED functionalities by running <TT>PWscf</TT> as: 
<TT>./pw.x -plumed</TT> plus the other usual <TT>PWscf</TT> arguments.
The input file for <TT>PLUMED</TT> must be found in the specified 
<TT>outdir</TT> with fixed name <TT>plumed.dat</TT>.

<P>

<H4><A NAME="SECTION00062040000000000000">
5.2.0.4 Variable-cell optimization</A>
</H4>

<P>
Since v.4.2 the newer BFGS algorithm covers the case of variable-cell
optimization as well. Note however that variable-cell calculations
(both optimization and dynamics) are performed with plane waves and 
G-vectors <EM>calculated for the starting cell</EM>. This means that if 
you re-run a self-consistent calculation for the final cell and atomic 
positions using the same cutoff <TT>ecutwfc</TT> (and/or <TT>ecutrho</TT> 
if applicable), you may not find exactly the same results, unless your
final and initial cells are very similar, or unless your cutoff(s) are very
high. In order to provide a further check, a last step is performed in
which a scf calculation is performed for the converged structure, with
plane waves and G-vectors <EM>calculated for the final cell</EM>. Small 
differences between the two last steps are thus to be expected and give
an estimate of the reliability of the variable-cell optimization.
If you get a large difference, you are likely quite far from convergence
in the plane-wave basis set and you need to increase the cutoff(s).

<P>

<H4><A NAME="SECTION00062050000000000000">
5.2.0.5 Variable-cell molecular dynamics</A>
</H4>

<P>
"A common mistake many new users make is to set the time step <TT>dt</TT>
improperly to the same order of magnitude as for CP algorithm, or
not setting <TT>dt</TT> at all. This will produce a ``not evolving dynamics''.
Good values for the original RMW (RM Wentzcovitch) dynamics are 
<TT>dt</TT> <!-- MATH
 $= 50 \div 70$
 -->
= 50 &#247; 70. The choice of the cell mass is a delicate matter. An
off-optimal mass will make convergence slower. Too small masses, as
well as too long time steps, can make the algorithm unstable. A good
cell mass will make the oscillation times for internal degrees of
freedom comparable to cell degrees of freedom in non-damped
Variable-Cell MD. Test calculations are advisable before extensive
calculation. I have tested the damping algorithm that I have developed
and it has worked well so far. It allows for a much longer time step
(dt=<!-- MATH
 $100 \div 150$
 -->
100 &#247; 150) than the RMW one and is much more stable with very
small cell masses, which is useful when the cell shape, not the
internal degrees of freedom, is far out of equilibrium. It also
converges in a smaller number of steps than RMW." (Info from Cesar Da
Silva: the new damping algorithm is the default since v. 3.1).

<P>
See also <TT>examples/VCSexample</TT>.

<P>
<HR>
<!--Navigation Panel-->
<A NAME="tex2html718"
  HREF="node28.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="next.png"></A> 
<A NAME="tex2html714"
  HREF="node25.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="up.png"></A> 
<A NAME="tex2html708"
  HREF="node26.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="prev.png"></A> 
<A NAME="tex2html716"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A NAME="tex2html719"
  HREF="node28.html">5.3 Direct interface with</A>
<B> Up:</B> <A NAME="tex2html715"
  HREF="node25.html">5 Using PWscf</A>
<B> Previous:</B> <A NAME="tex2html709"
  HREF="node26.html">5.1 Electronic structure calculations</A>
 &nbsp; <B>  <A NAME="tex2html717"
  HREF="node1.html">Contents</A></B> 
<!--End of Navigation Panel-->
<ADDRESS>
Build Daemon user
2011-10-18
</ADDRESS>
</BODY>
</HTML>