| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
| 2 |
|
| 3 |
<!--Converted with LaTeX2HTML 2019.2 (Released June 5, 2019) --> |
| 4 |
<HTML lang="EN"> |
| 5 |
<HEAD> |
| 6 |
<TITLE>2.6 Compilation</TITLE> |
| 7 |
<META NAME="description" CONTENT="2.6 Compilation"> |
| 8 |
<META NAME="keywords" CONTENT="user_guide"> |
| 9 |
<META NAME="resource-type" CONTENT="document"> |
| 10 |
<META NAME="distribution" CONTENT="global"> |
| 11 |
|
| 12 |
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> |
| 13 |
<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0"> |
| 14 |
<META NAME="Generator" CONTENT="LaTeX2HTML v2019.2"> |
| 15 |
|
| 16 |
<LINK REL="STYLESHEET" HREF="user_guide.css"> |
| 17 |
|
| 18 |
<LINK REL="next" HREF="node14.html"> |
| 19 |
<LINK REL="previous" HREF="node12.html"> |
| 20 |
<LINK REL="next" HREF="node14.html"> |
| 21 |
</HEAD> |
| 22 |
|
| 23 |
<BODY > |
| 24 |
<!--Navigation Panel--> |
| 25 |
<A |
| 26 |
HREF="node14.html"> |
| 27 |
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> |
| 28 |
<A |
| 29 |
HREF="node7.html"> |
| 30 |
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> |
| 31 |
<A |
| 32 |
HREF="node12.html"> |
| 33 |
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> |
| 34 |
<A ID="tex2html186" |
| 35 |
HREF="node1.html"> |
| 36 |
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A> |
| 37 |
<BR> |
| 38 |
<B> Next:</B> <A |
| 39 |
HREF="node14.html">2.7 Running tests and</A> |
| 40 |
<B> Up:</B> <A |
| 41 |
HREF="node7.html">2 Installation</A> |
| 42 |
<B> Previous:</B> <A |
| 43 |
HREF="node12.html">2.5 Libxc library</A> |
| 44 |
<B> <A ID="tex2html187" |
| 45 |
HREF="node1.html">Contents</A></B> |
| 46 |
<BR> |
| 47 |
<BR> |
| 48 |
<!--End of Navigation Panel--> |
| 49 |
|
| 50 |
<H2><A ID="SECTION00036000000000000000"></A> |
| 51 |
<A ID="SubSec:Compilation"></A> |
| 52 |
<BR> |
| 53 |
2.6 Compilation |
| 54 |
</H2> |
| 55 |
|
| 56 |
<P> |
| 57 |
The compiled codes can run with any input: almost all variables are |
| 58 |
dinamically allocated at run time. Only a few variables have fixed |
| 59 |
dimensions, set in file <TT>Modules/parameters.f90</TT>: |
| 60 |
<PRE> |
| 61 |
ntypx = 10, &! max number of different types of atom |
| 62 |
npsx = ntypx, &! max number of different PPs (obsolete) |
| 63 |
nsx = ntypx, &! max number of atomic species (CP) |
| 64 |
npk = 40000, &! max number of k-points |
| 65 |
lmaxx = 3, &! max non local angular momentum (l=0 to lmaxx) |
| 66 |
lqmax= 2*lmaxx+1 ! max number of angular momenta of Q |
| 67 |
</PRE> |
| 68 |
These values should work for the vast majority of cases. In case you need |
| 69 |
more atomic types or more k-points, edit this file and recompile. |
| 70 |
|
| 71 |
<P> |
| 72 |
At your choice, you may compile the complete Q<SMALL>UANTUM </SMALL>ESPRESSO suite of programs |
| 73 |
(with <TT>make all</TT>), or only some specific programs. |
| 74 |
All executables are linked in main <TT>bin</TT> directory. |
| 75 |
|
| 76 |
<P> |
| 77 |
<TT>make</TT> with no arguments yields a list of valid compilation targets: |
| 78 |
|
| 79 |
<UL> |
| 80 |
<LI><TT>make pw</TT> self-consistent-field package <TT>PWscf</TT> |
| 81 |
</LI> |
| 82 |
<LI><TT>make cp</TT> Car-Parrinello package <TT>CP</TT> |
| 83 |
</LI> |
| 84 |
<LI><TT>make neb</TT> <TT>PWneb</TT> package |
| 85 |
</LI> |
| 86 |
<LI><TT>make ph</TT> <TT>PHonon</TT> package |
| 87 |
</LI> |
| 88 |
<LI><TT>make pp</TT> postprocessing package <TT>PostProc</TT> |
| 89 |
</LI> |
| 90 |
<LI><TT>make pwcond</TT> ballistic conductance package |
| 91 |
<TT>PWcond</TT> |
| 92 |
</LI> |
| 93 |
<LI><TT>make pwall</TT> all of the above |
| 94 |
</LI> |
| 95 |
<LI><TT>make hp</TT> <TT>HP</TT> package. |
| 96 |
</LI> |
| 97 |
<LI><TT>make tddfpt</TT> <TT>TD-DFPT</TT> package. |
| 98 |
</LI> |
| 99 |
<LI><TT>make ld1</TT> pseudopotential generator package |
| 100 |
<TT>atomic</TT>. |
| 101 |
</LI> |
| 102 |
<LI><TT>make xspectra</TT> package <TT>XSpectra</TT>. |
| 103 |
</LI> |
| 104 |
<LI><TT>make all</TT> all of the above |
| 105 |
</LI> |
| 106 |
<LI><TT>make epw</TT> package <TT>EPW</TT> - prerequisite |
| 107 |
package <TT>wannier90</TT> is compiled as well |
| 108 |
</LI> |
| 109 |
<LI><TT>make w90</TT> downloads <TT>wannier90</TT>, unpacks it, copies an appropriate |
| 110 |
<TT>make.inc</TT> file, produces all executables |
| 111 |
in <TT>W90/wannier90.x</TT> and in <TT>bin/</TT> |
| 112 |
</LI> |
| 113 |
<LI><TT>make want</TT> downloads <TT>WanT</TT>, unpacks it, runs its |
| 114 |
<TT>configure</TT>, |
| 115 |
produces all executables for <TT>WanT</TT> in |
| 116 |
<TT>WANT/bin</TT>. |
| 117 |
</LI> |
| 118 |
<LI><TT>make yambo</TT> downloads <TT>yambo</TT>, |
| 119 |
unpacks it, runs its <TT>configure</TT>, |
| 120 |
produces all <TT>yambo</TT> executables in |
| 121 |
<TT>YAMBO/bin</TT> |
| 122 |
</LI> |
| 123 |
<LI><TT>make gipaw</TT> downloads <TT>GIPAW</TT>, |
| 124 |
unpacks it, runs its <TT>configure</TT>, |
| 125 |
produces all <TT>GIPAW</TT> executables in |
| 126 |
<TT>GIPAW/bin</TT> and in main <TT>bin</TT> directory. |
| 127 |
</LI> |
| 128 |
<LI><TT>make plumed</TT> unpacks <TT>PLUMED</TT>, patches several routines |
| 129 |
in <TT>PW/</TT>, <TT>CPV/</TT> and <TT>clib/</TT>, |
| 130 |
recompiles <TT>PWscf</TT> and <TT>CP</TT> with <TT>PLUMED</TT> |
| 131 |
support |
| 132 |
</LI> |
| 133 |
</UL> |
| 134 |
For the setup of the GUI, refer to the <TT>PWgui-X.Y.Z /INSTALL</TT> file, where |
| 135 |
X.Y.Z stands for the version number of the GUI (should be the same as the |
| 136 |
general version number). If you are using sources from the git repository, see |
| 137 |
the <TT>GUI/README</TT> file instead. |
| 138 |
|
| 139 |
<P> |
| 140 |
If <TT>make</TT> refuses for some reason to download additional |
| 141 |
packages, manually download them into subdirectory |
| 142 |
<TT>archive/</TT>, <EM>not</EM> unpacking or uncompressing them, |
| 143 |
and try <TT>make</TT> again. Also see Sec.(<A HREF="node8.html#SubSec:Download">2.1</A>). |
| 144 |
|
| 145 |
<P> |
| 146 |
<HR> |
| 147 |
<!--Navigation Panel--> |
| 148 |
<A |
| 149 |
HREF="node14.html"> |
| 150 |
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> |
| 151 |
<A |
| 152 |
HREF="node7.html"> |
| 153 |
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> |
| 154 |
<A |
| 155 |
HREF="node12.html"> |
| 156 |
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> |
| 157 |
<A ID="tex2html186" |
| 158 |
HREF="node1.html"> |
| 159 |
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A> |
| 160 |
<BR> |
| 161 |
<B> Next:</B> <A |
| 162 |
HREF="node14.html">2.7 Running tests and</A> |
| 163 |
<B> Up:</B> <A |
| 164 |
HREF="node7.html">2 Installation</A> |
| 165 |
<B> Previous:</B> <A |
| 166 |
HREF="node12.html">2.5 Libxc library</A> |
| 167 |
<B> <A ID="tex2html187" |
| 168 |
HREF="node1.html">Contents</A></B> |
| 169 |
<!--End of Navigation Panel--> |
| 170 |
|
| 171 |
</BODY> |
| 172 |
</HTML> |