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
|
<!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.2 Prerequisites</TITLE>
<META NAME="description" CONTENT="2.2 Prerequisites">
<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="node10.html">
<LINK REL="previous" HREF="node8.html">
<LINK REL="next" HREF="node10.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A
HREF="node10.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="node8.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
<A ID="tex2html160"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A
HREF="node10.html">2.3 configure</A>
<B> Up:</B> <A
HREF="node7.html">2 Installation</A>
<B> Previous:</B> <A
HREF="node8.html">2.1 Download</A>
<B> <A ID="tex2html161"
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A ID="SECTION00032000000000000000"></A>
<A ID="Sec:Installation"></A>
<BR>
2.2 Prerequisites
</H2>
<P>
To install Q<SMALL>UANTUM </SMALL>ESPRESSO from source, you need first of all a minimal Unix
environment, that is: a command shell (e.g., bash, sh) and utilities <TT>make</TT>,
<TT>awk</TT>, <TT>sed</TT>. For MS-Windows, see Sec.<A HREF="node15.html#SubSec:Windows">2.8.4</A>.
<P>
Note that the scripts contained
in the distribution assume that the local language is set to the
standard, i.e. "C"; other settings
may break them. Use <TT>export LC_ALL=C</TT> (sh/bash) or
<TT>setenv LC_ALL C</TT> (csh/tcsh) to prevent any problem
when running scripts (including installation scripts).
<P>
Second, you need C and Fortran compilers, compliant with C89 and
F2003 standards<A ID="tex2html1"
HREF="footnode.html#foot291"><SUP>1</SUP></A>. For parallel
execution, you will also need MPI libraries and a parallel
(i.e. MPI-aware) compiler. For massively parallel machines, or
for simple multicore parallelization, an OpenMP-aware compiler
and libraries are also required. For GPU's, you will need the
CUDA Fortran version and to compile with the PGI compiler and
run with CUDA run-time environment.
<P>
As a rule, Q<SMALL>UANTUM </SMALL>ESPRESSO tries to keep compatibility with older compilers,
avoiding nonstandard extensions and newer features that
are not widespread or stabilized. If however your compiler is very
old (say older than ∼5 years or so) it is quite likely that
something will not work. The same applies to mathematical
and MPI libraries.
<P>
Big machines with
specialized hardware (e.g. IBM SP, CRAY, etc) typically have a
Fortran compiler with MPI and OpenMP libraries bundled with
the software. Workstations or ``commodity'' machines, using PC
hardware, may or may not have the needed software. If not, you need
either to buy a commercial product (e.g Intel, NAG, PGI) or to
use an open-source compiler like gfortran from the gcc distribution.
Some commercial compilers (e.g. PGI) may be available free of charge
under some conditions (e.g. academic or personal usage).
<P>
<HR>
<!--Navigation Panel-->
<A
HREF="node10.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="node8.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
<A ID="tex2html160"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A
HREF="node10.html">2.3 configure</A>
<B> Up:</B> <A
HREF="node7.html">2 Installation</A>
<B> Previous:</B> <A
HREF="node8.html">2.1 Download</A>
<B> <A ID="tex2html161"
HREF="node1.html">Contents</A></B>
<!--End of Navigation Panel-->
</BODY>
</HTML>
|