File: node16.html

package info (click to toggle)
espresso 6.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 311,040 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,502; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (182 lines) | stat: -rw-r--r-- 5,481 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!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.9 Cray machines</TITLE>
<META NAME="description" CONTENT="2.9 Cray 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="previous" HREF="node15.html">
<LINK REL="next" HREF="node17.html">
</HEAD>

<BODY >
<!--Navigation Panel-->
<A
 HREF="node17.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="node15.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html203"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node17.html">3 Parallelism</A>
<B> Up:</B> <A
 HREF="node7.html">2 Installation</A>
<B> Previous:</B> <A
 HREF="node15.html">2.8 Installation tricks and</A>
   <B>  <A ID="tex2html204"
  HREF="node1.html">Contents</A></B> 
<BR>
<BR>
<!--End of Navigation Panel-->
<!--Table of Child-Links-->
<A ID="CHILD_LINKS"><STRONG>Subsections</STRONG></A>

<UL>
<LI><A ID="tex2html205"
  HREF="node16.html#SECTION00039100000000000000">2.9.1 Obsolescent architectures</A>
<UL>
<LI><A ID="tex2html206"
  HREF="node16.html#SECTION00039110000000000000">2.9.1.1 Intel Xeon Phi</A>
<LI><A ID="tex2html207"
  HREF="node16.html#SECTION00039120000000000000">2.9.1.2 IBM BlueGene</A>
</UL></UL>
<!--End of Table of Child-Links-->
<HR>

<H2><A ID="SECTION00039000000000000000">
2.9 Cray machines</A>
</H2>

<P>
For Cray XE machines:
<PRE>
$ module swap PrgEnv-cray PrgEnv-pgi
$ ./configure --enable-openmp --enable-parallel --with-scalapack
$ vim make.inc
</PRE>
then manually add <TT>-D__IOTK_WORKAROUND1</TT> at the end of <TT>DFLAGS</TT> line.

<P>
''Now, despite what people can imagine, every CRAY machine deployed can
have different environment. For example on the machine I usually use
for tests [...] I do have to unload some modules to make QE running
properly. On another CRAY [...] there is also Intel compiler as option
and the system is slightly different compared to the other.
So my recipe should work, 99% of the cases.'' (info by Filippo Spiga)

<P>
For Cray XT machines, use <TT>./configure ARCH=crayxt4</TT> or else
<TT>configure</TT> will not recognize the Cray-specific software environment.

<P>
Older Cray machines: T3D, T3E, X1, are no longer supported.

<P>

<H3><A ID="SECTION00039100000000000000">
2.9.1 Obsolescent architectures</A>
</H3>

<P>

<H4><A ID="SECTION00039110000000000000">
2.9.1.1 Intel Xeon Phi</A>
</H4>

<P>
For Intel Xeon CPUs with Phi coprocessor, see this link:
<BR><TT>https://software.intel.com/en-us/articles/explicit-offload-for-quantum-espresso</TT>.

<P>
There are three ways of compiling:

<UL>
<LI><EM>offload</EM> mode, executed on main CPU and offloaded onto coprocessor
"automagically";
</LI>
<LI><EM>native</EM> mode, executed completely on coprocessor;
</LI>
<LI><EM>symmetric</EM> mode, requiring creation of both binaries.
</LI>
</UL>
"You can take advantage of the offload mode using the <TT>libxphi</TT>
library. This library offloads the BLAS/MKL functions on the Xeon Phi
platform hiding the latency times due to the communication. You just
need to compile this library and then to link it dynamically. The
library works with any version of QE. Libxphi is available from
<TT>https://github.com/cdahnken/libxphi</TT>. Some documentation is
available therein.

<P>
Instead, if you want to compile a native version of QE, you just need
to add the <TT>-mmic</TT> flag and cross compile. If you want to use
the symmetric mode, you need to compile twice: with and without the
<TT>-mmic</TT> flag". "[...] everything, i.e. code+libraries, must be
cross-compiled with the <TT>-mmic</TT> flag. In my opinion, it's pretty
unlikely that native mode can outperform the execution on the standard
Xeon cpu. I strongly suggest to use the Xeon Phi in offload mode, for now"
(info by Fabio Affinito, March 2015).

<P>

<H4><A ID="SECTION00039120000000000000">
2.9.1.2 IBM BlueGene</A>
</H4>

<P>
The current <TT>configure</TT> was working on the machines at CINECA and at Jülich.
For other machines, you may need something like
<PRE>
  ./configure ARCH=ppc64-bg BLAS_LIBS=...  LAPACK_LIBS=... \
              SCALAPACK_DIR=... BLACS_DIR=..."
</PRE>
where the various *_LIBS and *_DIR "suggest" where the various libraries
are located.

<P>

<P>
<HR>
<!--Navigation Panel-->
<A
 HREF="node17.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="node15.html">
<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A> 
<A ID="tex2html203"
  HREF="node1.html">
<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>  
<BR>
<B> Next:</B> <A
 HREF="node17.html">3 Parallelism</A>
<B> Up:</B> <A
 HREF="node7.html">2 Installation</A>
<B> Previous:</B> <A
 HREF="node15.html">2.8 Installation tricks and</A>
   <B>  <A ID="tex2html204"
  HREF="node1.html">Contents</A></B> 
<!--End of Navigation Panel-->

</BODY>
</HTML>