File: node5.html

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

<!--Converted with LaTeX2HTML 2019.2 (Released June 5, 2019) -->
<HTML lang="EN">
<HEAD>
<TITLE>3.1 Running examples</TITLE>
<META NAME="description" CONTENT="3.1 Running examples">
<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="previous" HREF="node4.html">
<LINK REL="next" HREF="node6.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A
 HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 
<A
 HREF="node4.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 
<A
 HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html33"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node6.html">4 Parallelism</A>
<B> Up:</B> <A
 HREF="node4.html">3 Compilation</A>
<B> Previous:</B> <A
 HREF="node4.html">3 Compilation</A>
 &nbsp; <B>  <A ID="tex2html34"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A ID="SECTION00041000000000000000"></A>
<A ID="SubSec:Examples"></A>
<BR>
3.1 Running examples
</H2>
As a final check that compilation was successful, you may want to run some or
all of the examples (presently only one). To run the examples, you should follow this procedure:

<OL>
<LI>Edit the <TT>environment_variables</TT> file in the main Q<SMALL>UANTUM </SMALL>ESPRESSO directory,
 setting the following variables as needed: 
<BLOCKQUOTE>
BIN_DIR: directory where executables reside
<BR>
PSEUDO_DIR: directory where pseudopotential files reside
<BR>
TMP_DIR: directory to be used as temporary storage area

</BLOCKQUOTE>
</LI>
</OL>
The default values of BIN_DIR and PSEUDO_DIR should be fine, 
unless you have installed things in nonstandard places. The TMP_DIR 
variable must point to a directory where you have read and write permissions, 
with enough available space to host the temporary files produced by the 
example runs, and possibly offering good I/O performance (i.e., don't 
use an NFS-mounted directory). <B>N.B.</B> Use a dedicated directory,
because the example script will automatically delete all data inside TMP_DIR.
If you have compiled the parallel version of Q<SMALL>UANTUM </SMALL>ESPRESSO (this
is the default if parallel libraries are detected), you will usually
have to specify a driver program (such as <TT>mpirun</TT> or <TT>mpiexec</TT>) 
and the number of processors: see Sec.<A HREF="node7.html#SubSec:para">4.1</A> for
details. In order to do that, edit again the <TT>environment_variables</TT> 
file
and set the PARA_PREFIX and PARA_POSTFIX variables as needed. 
Parallel executables will be started with a command line like this: 
<PRE>
      $PARA_PREFIX neb.x $PARA_POSTFIX -inp file.in &gt; file.out
</PRE>
For example, the command for IBM's POE looks like this:
<PRE>
      poe neb.x -procs 4 -inp file.in &gt; file.out
</PRE>
therefore you will need to set PARA_PREFIX="poe", PARA_POSTFIX="-procs 4". 
Furthermore, if your machine does not support interactive use, you
must run the commands specified below through the batch queuing
system installed on that machine. Ask your system administrator for
instructions. 

<P>
Go to <TT>NEB/examples/examplex01</TT> and execute:
<PRE>
      ./run_example
</PRE>
This will create a subdirectory <TT>results/</TT> containing the input and
output files generated by the calculation.

<P>
The <TT>reference/</TT> subdirectory contains
verified output files, that you can check your results against. They
were generated on a Linux PC using the Intel compiler. On different
architectures the precise numbers could be slightly different, in
particular if different FFT dimensions are automatically selected. For
this reason, a plain diff of your results against the reference data
doesn't work, or at least, it requires human inspection of the
results.

<P>
<HR>
<!--Navigation Panel-->
<A
 HREF="node6.html">
<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A> 
<A
 HREF="node4.html">
<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A> 
<A
 HREF="node4.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html33"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node6.html">4 Parallelism</A>
<B> Up:</B> <A
 HREF="node4.html">3 Compilation</A>
<B> Previous:</B> <A
 HREF="node4.html">3 Compilation</A>
 &nbsp; <B>  <A ID="tex2html34"
  HREF="node1.html">Contents</A></B> 
<!--End of Navigation Panel-->

</BODY>
</HTML>