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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<!--Converted with LaTeX2HTML 2019.2 (Released June 5, 2019) -->
<HTML lang="EN">
<HEAD>
<TITLE>4.1 Running on parallel machines</TITLE>
<META NAME="description" CONTENT="4.1 Running on parallel machines">
<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="node8.html">
<LINK REL="previous" HREF="node6.html">
<LINK REL="next" HREF="node8.html">
</HEAD>
<BODY >
<!--Navigation Panel-->
<A
HREF="node8.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A>
<A
HREF="node6.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A>
<A
HREF="node6.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
<A ID="tex2html39"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A
HREF="node8.html">4.2 Parallelization levels</A>
<B> Up:</B> <A
HREF="node6.html">4 Parallelism</A>
<B> Previous:</B> <A
HREF="node6.html">4 Parallelism</A>
<B> <A ID="tex2html40"
HREF="node1.html">Contents</A></B>
<BR>
<BR>
<!--End of Navigation Panel-->
<H2><A ID="SECTION00051000000000000000"></A>
<A ID="SubSec:para"></A>
<BR>
4.1 Running on parallel machines
</H2>
<P>
Parallel execution is strongly system- and installation-dependent.
Typically one has to specify:
<OL>
<LI>a launcher program (not always needed),
such as <TT>poe</TT>, <TT>mpirun</TT>, <TT>mpiexec</TT>,
with the appropriate options (if any);
</LI>
<LI>the number of processors, typically as an option to the launcher
program, but in some cases to be specified after the name of the
program to be
executed;
</LI>
<LI>the program to be executed, with the proper path if needed: for
instance, <TT>./neb.x</TT>, or <TT>$HOME/bin/neb.x</TT>, or
whatever applies;
</LI>
<LI>other <TT>PWscf</TT>-specific parallelization options, to be
read and interpreted by the running code;
</LI>
<LI>the number of image groups used by NEB (see next subsection).
</LI>
</OL>
Items 1) and 2) are machine- and installation-dependent, and may be
different for interactive and batch execution. Note that large
parallel machines are often configured so as to disallow interactive
execution: if in doubt, ask your system administrator.
Item 3) also depend on your specific configuration (shell, execution
path, etc).
Item 4) is optional but may be important: see the following section
for the meaning of the various options.
<P>
For illustration, here is how to run <TT>neb.x</TT> on 16 processors partitioned into
4 image groups (4 processors each), for a path containing at least 4 images with POE:
<PRE>
poe neb.x -procs 16 -ni 4 -i input
</PRE>
<P>
<HR>
<!--Navigation Panel-->
<A
HREF="node8.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A>
<A
HREF="node6.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A>
<A
HREF="node6.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
<A ID="tex2html39"
HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
<BR>
<B> Next:</B> <A
HREF="node8.html">4.2 Parallelization levels</A>
<B> Up:</B> <A
HREF="node6.html">4 Parallelism</A>
<B> Previous:</B> <A
HREF="node6.html">4 Parallelism</A>
<B> <A ID="tex2html40"
HREF="node1.html">Contents</A></B>
<!--End of Navigation Panel-->
</BODY>
</HTML>
|