| 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.2 Prerequisites</TITLE> |
| 7 |
<META NAME="description" CONTENT="2.2 Prerequisites"> |
| 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="node10.html"> |
| 19 |
<LINK REL="previous" HREF="node8.html"> |
| 20 |
<LINK REL="next" HREF="node10.html"> |
| 21 |
</HEAD> |
| 22 |
|
| 23 |
<BODY > |
| 24 |
<!--Navigation Panel--> |
| 25 |
<A |
| 26 |
HREF="node10.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="node8.html"> |
| 33 |
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> |
| 34 |
<A ID="tex2html160" |
| 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="node10.html">2.3 configure</A> |
| 40 |
<B> Up:</B> <A |
| 41 |
HREF="node7.html">2 Installation</A> |
| 42 |
<B> Previous:</B> <A |
| 43 |
HREF="node8.html">2.1 Download</A> |
| 44 |
<B> <A ID="tex2html161" |
| 45 |
HREF="node1.html">Contents</A></B> |
| 46 |
<BR> |
| 47 |
<BR> |
| 48 |
<!--End of Navigation Panel--> |
| 49 |
|
| 50 |
<H2><A ID="SECTION00032000000000000000"></A> |
| 51 |
<A ID="Sec:Installation"></A> |
| 52 |
<BR> |
| 53 |
2.2 Prerequisites |
| 54 |
</H2> |
| 55 |
|
| 56 |
<P> |
| 57 |
To install Q<SMALL>UANTUM </SMALL>ESPRESSO from source, you need first of all a minimal Unix |
| 58 |
environment, that is: a command shell (e.g., bash, sh) and utilities <TT>make</TT>, |
| 59 |
<TT>awk</TT>, <TT>sed</TT>. For MS-Windows, see Sec.<A HREF="node15.html#SubSec:Windows">2.8.4</A>. |
| 60 |
|
| 61 |
<P> |
| 62 |
Note that the scripts contained |
| 63 |
in the distribution assume that the local language is set to the |
| 64 |
standard, i.e. "C"; other settings |
| 65 |
may break them. Use <TT>export LC_ALL=C</TT> (sh/bash) or |
| 66 |
<TT>setenv LC_ALL C</TT> (csh/tcsh) to prevent any problem |
| 67 |
when running scripts (including installation scripts). |
| 68 |
|
| 69 |
<P> |
| 70 |
Second, you need C and Fortran compilers, compliant with C89 and |
| 71 |
F2003 standards<A ID="tex2html1" |
| 72 |
HREF="footnode.html#foot291"><SUP>1</SUP></A>. For parallel |
| 73 |
execution, you will also need MPI libraries and a parallel |
| 74 |
(i.e. MPI-aware) compiler. For massively parallel machines, or |
| 75 |
for simple multicore parallelization, an OpenMP-aware compiler |
| 76 |
and libraries are also required. For GPU's, you will need the |
| 77 |
CUDA Fortran version and to compile with the PGI compiler and |
| 78 |
run with CUDA run-time environment. |
| 79 |
|
| 80 |
<P> |
| 81 |
As a rule, Q<SMALL>UANTUM </SMALL>ESPRESSO tries to keep compatibility with older compilers, |
| 82 |
avoiding nonstandard extensions and newer features that |
| 83 |
are not widespread or stabilized. If however your compiler is very |
| 84 |
old (say older than ∼5 years or so) it is quite likely that |
| 85 |
something will not work. The same applies to mathematical |
| 86 |
and MPI libraries. |
| 87 |
|
| 88 |
<P> |
| 89 |
Big machines with |
| 90 |
specialized hardware (e.g. IBM SP, CRAY, etc) typically have a |
| 91 |
Fortran compiler with MPI and OpenMP libraries bundled with |
| 92 |
the software. Workstations or ``commodity'' machines, using PC |
| 93 |
hardware, may or may not have the needed software. If not, you need |
| 94 |
either to buy a commercial product (e.g Intel, NAG, PGI) or to |
| 95 |
use an open-source compiler like gfortran from the gcc distribution. |
| 96 |
Some commercial compilers (e.g. PGI) may be available free of charge |
| 97 |
under some conditions (e.g. academic or personal usage). |
| 98 |
|
| 99 |
<P> |
| 100 |
<HR> |
| 101 |
<!--Navigation Panel--> |
| 102 |
<A |
| 103 |
HREF="node10.html"> |
| 104 |
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> |
| 105 |
<A |
| 106 |
HREF="node7.html"> |
| 107 |
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> |
| 108 |
<A |
| 109 |
HREF="node8.html"> |
| 110 |
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> |
| 111 |
<A ID="tex2html160" |
| 112 |
HREF="node1.html"> |
| 113 |
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A> |
| 114 |
<BR> |
| 115 |
<B> Next:</B> <A |
| 116 |
HREF="node10.html">2.3 configure</A> |
| 117 |
<B> Up:</B> <A |
| 118 |
HREF="node7.html">2 Installation</A> |
| 119 |
<B> Previous:</B> <A |
| 120 |
HREF="node8.html">2.1 Download</A> |
| 121 |
<B> <A ID="tex2html161" |
| 122 |
HREF="node1.html">Contents</A></B> |
| 123 |
<!--End of Navigation Panel--> |
| 124 |
|
| 125 |
</BODY> |
| 126 |
</HTML> |