File: node13.html

package info (click to toggle)
espresso 6.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 311,040 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,502; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (172 lines) | stat: -rw-r--r-- 5,924 bytes parent folder | download | duplicates (3)
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2019.2 (Released June 5, 2019) -->
<HTML lang="EN">
<HEAD>
<TITLE>2.6 Compilation</TITLE>
<META NAME="description" CONTENT="2.6 Compilation">
<META NAME="keywords" CONTENT="user_guide">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
<META NAME="Generator" CONTENT="LaTeX2HTML v2019.2">

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

<LINK REL="next" HREF="node14.html">
<LINK REL="previous" HREF="node12.html">
<LINK REL="next" HREF="node14.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A
 HREF="node14.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 
<A
 HREF="node7.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 
<A
 HREF="node12.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html186"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node14.html">2.7 Running tests and</A>
<B> Up:</B> <A
 HREF="node7.html">2 Installation</A>
<B> Previous:</B> <A
 HREF="node12.html">2.5 Libxc library</A>
   <B>  <A ID="tex2html187"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A ID="SECTION00036000000000000000"></A>
<A ID="SubSec:Compilation"></A>
<BR>
2.6 Compilation
</H2>

<P>
The compiled codes can run with any input: almost all variables are
dinamically allocated at run time. Only a few variables have fixed
dimensions, set in file <TT>Modules/parameters.f90</TT>:
<PRE>
      ntypx  = 10,     &amp;! max number of different types of atom
      npsx   = ntypx,  &amp;! max number of different PPs (obsolete)
      nsx    = ntypx,  &amp;! max number of atomic species (CP)
      npk    = 40000,  &amp;! max number of k-points
      lmaxx  = 3,      &amp;! max non local angular momentum (l=0 to lmaxx)
      lqmax= 2*lmaxx+1  ! max number of angular momenta of Q
</PRE>
These values should work for the vast majority of cases. In case you need
more atomic types or more k-points, edit this file and recompile.

<P>
At your choice, you may compile the complete Q<SMALL>UANTUM </SMALL>ESPRESSO suite of programs
(with <TT>make all</TT>), or only some specific programs.
All executables are linked in main <TT>bin</TT> directory.

<P>
<TT>make</TT> with no arguments yields a list of valid compilation targets:

<UL>
<LI><TT>make pw</TT>  self-consistent-field package <TT>PWscf</TT>
</LI>
<LI><TT>make cp</TT>  Car-Parrinello package <TT>CP</TT>
</LI>
<LI><TT>make neb</TT> <TT>PWneb</TT> package
</LI>
<LI><TT>make ph</TT>  <TT>PHonon</TT> package
</LI>
<LI><TT>make pp</TT>  postprocessing package <TT>PostProc</TT>
</LI>
<LI><TT>make pwcond</TT> ballistic conductance package 
	                <TT>PWcond</TT>
</LI>
<LI><TT>make pwall</TT> all of the above
</LI>
<LI><TT>make hp</TT>    <TT>HP</TT> package. 
</LI>
<LI><TT>make tddfpt</TT> <TT>TD-DFPT</TT> package. 
</LI>
<LI><TT>make ld1</TT>  pseudopotential generator package 
	                 <TT>atomic</TT>.
</LI>
<LI><TT>make xspectra</TT> package <TT>XSpectra</TT>.
</LI>
<LI><TT>make all</TT> all of the above
</LI>
<LI><TT>make epw</TT> package <TT>EPW</TT> - prerequisite
	package <TT>wannier90</TT> is compiled as well
</LI>
<LI><TT>make w90</TT> downloads <TT>wannier90</TT>, unpacks it, copies an appropriate
                       <TT>make.inc</TT> file,  produces all executables
                       in <TT>W90/wannier90.x</TT> and in <TT>bin/</TT>
</LI>
<LI><TT>make want</TT> downloads <TT>WanT</TT>, unpacks it, runs its 
	                 <TT>configure</TT>,
                         produces all executables for <TT>WanT</TT> in
                         <TT>WANT/bin</TT>.
</LI>
<LI><TT>make yambo</TT> downloads <TT>yambo</TT>,
			  unpacks it, runs its <TT>configure</TT>,
                          produces all <TT>yambo</TT> executables in
                          <TT>YAMBO/bin</TT>
</LI>
<LI><TT>make gipaw</TT> downloads <TT>GIPAW</TT>,
                          unpacks it, runs its <TT>configure</TT>,
                          produces all <TT>GIPAW</TT> executables in
                          <TT>GIPAW/bin</TT> and in main <TT>bin</TT> directory.
</LI>
<LI><TT>make plumed</TT> unpacks <TT>PLUMED</TT>, patches several routines
                           in <TT>PW/</TT>, <TT>CPV/</TT> and <TT>clib/</TT>,
                           recompiles <TT>PWscf</TT> and <TT>CP</TT> with <TT>PLUMED</TT>
                           support
</LI>
</UL>
For the setup of the GUI, refer to the <TT>PWgui-X.Y.Z /INSTALL</TT> file, where
X.Y.Z stands for the version number of the GUI (should be the same as the
general version number). If you are using sources from the git repository, see
the <TT>GUI/README</TT> file instead.

<P>
If <TT>make</TT> refuses for some reason to download additional
packages, manually download them into subdirectory
<TT>archive/</TT>, <EM>not</EM> unpacking or uncompressing them,
and try <TT>make</TT> again. Also see Sec.(<A HREF="node8.html#SubSec:Download">2.1</A>).

<P>
<HR>
<!--Navigation Panel-->
<A
 HREF="node14.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 
<A
 HREF="node7.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 
<A
 HREF="node12.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html186"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node14.html">2.7 Running tests and</A>
<B> Up:</B> <A
 HREF="node7.html">2 Installation</A>
<B> Previous:</B> <A
 HREF="node12.html">2.5 Libxc library</A>
   <B>  <A ID="tex2html187"
  HREF="node1.html">Contents</A></B> 
<!--End of Navigation Panel-->

</BODY>
</HTML>