forked from mpi-forum/mem-alloc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmpi-report.tex
259 lines (227 loc) · 7.22 KB
/
mpi-report.tex
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
% Version as of 25 March 1997 by Steve Huss-Lederman
% Version as of 06 January 2008 by Rainer Keller (using pdflatex)
% Version as of 19 February 2008 by Rolf Rabenseifner (combining 1.3+2.0)
%
% The top-level LaTeX file for MPI-2.1 and further versions.
% latex this file to get complete document
%
% To print only one chapter, use either the MAKE-MPI-CHAPTER
% utilities provided in this directory, or put an \includeonly{}
% command in (see Lamport, page 76)
% -- Steve Otto
%
%
\documentclass[twoside,11pt,fleqn]{book}
\pagestyle{plain}
\setcounter{tocdepth}{3}
\marginparwidth 0pt
\oddsidemargin=.25in
\evensidemargin .25in
\marginparsep 0pt
\topmargin=-.5in
\textwidth=6.0in
\textheight=9.0in
\parindent=2em
% Index generation, please see "man makeindex" and README
\usepackage{makeidx}
\usepackage{mdwlist}
\usepackage{fancyhdr}
\usepackage{comment}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\usepackage[edtable]{lineno}
% Use this same disclaimer line in several places
\def\disclaim{{%\em The interface described in this document is not part
%of the official MPI specification
}}
% For the "plain" style
\fancypagestyle{plain}{%
\fancyhf{}
%\fancyhead[C]{\disclaim}
\fancyfoot[C]{\thepage \\
\disclaim}
}
% For the "plain with line numbers" style, used for \chapter
\fancypagestyle{plainwithlinenumbers}{%
\fancyhf{}
%\fancyhead[C]{\disclaim}
\fancyfoot[C]{\thepage \\
\disclaim}
}
\usepackage{ifpdf}
\ifpdf
% JMS This doesn't seem to work on Macs
% \usepackage{color}
\else
\usepackage[dvips]{color}
\fi
\usepackage[outerbars,color]{changebar}
\usepackage{xspace}
\include{mpi-macs}
%%%%% Packages Depending on whether we are using pdflatex or latex %%%%%%%%%%%%
\ifpdf
\typeout{ }
\typeout{Loading PDF-Graphicx packages ... }
\typeout{-------------------------------------------------------------------}
\usepackage[pdftex]{graphicx} % graphics extension
\DeclareGraphicsExtensions{.pdf} % In case of using pdflatex set ext.
\ifusecolor
\usepackage[pdftex, % For PDF output
a4paper,
backref,
baseurl={http://www.mpi-forum.org},
colorlinks=true,
filecolor=black,
% for normal and reviewcolors versions:
linkcolor=blue,
citecolor=red,
urlcolor=blue,
% for normal and reviewcolors versions:
% (colorlinks is not changed, to be absolutely sure that all spacing is the same)
% linkcolor=black,
% citecolor=black,
% urlcolor=black,
hypertexnames=true,
pdfauthor={MPI-Forum},
pdftitle={The MPIR Process Acquisition Interface},
pdfsubject={The MPIR Process Acquisition Interface},
pdfkeywords={MPI, MPIR, Process Acquisition},
pdfpagelabels,
plainpages=false,
pagebackref=false
]{hyperref} % For hyperlinks
\else
\usepackage[pdftex, % For PDF output
a4paper,
backref,
baseurl={http://www.mpi-forum.org},
colorlinks=true,
filecolor=black,
% (colorlinks is not changed, to be absolutely sure that all spacing is the same)
linkcolor=black,
citecolor=black,
urlcolor=black,
hypertexnames=true,
pdfauthor={MPI-Forum},
pdftitle={The MPIR Process Acquisition Interface},
pdfsubject={The MPIR Process Acquisition Interface},
pdfkeywords={MPI, MPIR, Process Acquisition},
pdfpagelabels,
plainpages=false,
pagebackref=false
]{hyperref} % For hyperlinks
\fi
% \usepackage{color}
\else
\typeout{ }
\typeout{Loading EPS-Graphicx packages ... }
\typeout{-------------------------------------------------------------------}
\usepackage{graphicx} % graphics extension
\DeclareGraphicsExtensions{.eps} % In case of using pdflatex set ext.
\usepackage[
dvips, % For PS output
a4paper,
backref,
colorlinks=true,
filecolor=black,
% for normal and reviewcolors versions:
linkcolor=blue,
citecolor=red,
urlcolor=blue,
% for normal and reviewcolors versions:
% (colorlinks is not changed, to be absolutely sure that all spacing is the same)
% linkcolor=black,
% citecolor=black,
% urlcolor=black,
hypertexnames=false]{hyperref} % For hyperlinks
% \usepackage[dvips]{color}
\fi
% Watermark. Be obnoxious with the -45 rotation so that we get an X.
%\usepackage{type1cm}
%\usepackage{eso-pic}
%\makeatletter
%\AddToShipoutPicture{%
% \setlength{\@tempdimb}{.5\paperwidth}%
% \setlength{\@tempdimc}{.5\paperheight}%
% \setlength{\unitlength}{1pt}%
% \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){%
% \makebox(0,0){\rotatebox{45}{\textcolor[gray]{0.75}%
% {\fontsize{0.7cm}{0.7cm}\selectfont{\disclaim}}}}%
% }%
% \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){%
% \makebox(0,0){\rotatebox{-45}{\textcolor[gray]{0.75}%
% {\fontsize{0.7cm}{0.7cm}\selectfont{\disclaim}}}}%
% }%
%}
%\makeatother
\makeindex
\begin{document}
\pagenumbering{roman}
\title{Memory Allocation Kinds \\
{\Large An MPI Side Document}\\
{\Large Version \MEMALLOCVERSION/}\\
}
\author{
}
\date{
MPI Forum Hybrid Working Group\\
%Accepted by the Message Passing Interface Forum\\
(\MEMALLOCDATE/)\\[2ex]
%Acknowledgments\\[1.5ex]
%Authors\\
%Contributing Authors\\
%Rohit Zambre, James Dinan,
%Maria Garzaran, Daniel Holmes,
%Edgar Gabriel, Michael Klemm, and Pedram Alizadeh%\\[1.2ex]
%Editor\\
%Martin Schulz\\[1.2ex]
%Reviewers\\
%Bronis de Supinski, William Gropp, Marc-Andr\'{e} Hermanns, David Lecomber, Ashley Pittman, Alexander Supalov, and Greg Watson
\vspace{0.2in}
}
% included for use of documenttype 'book'
\frontmatter
\maketitle
\pagestyle{plain}
\setcounter{page}{2}
\hfuzz=5pt
\newpage
\pagestyle{empty}
\pdfbookmark[0]{Abstract}{Abstract}
\include{abstract}
% a \newpage is done by \include
\pdfbookmark[0]{History}{History}
\include{history}
% a \newpage is done by \include
\include{credits}
% Turning off \withlinenumbers here causes the contents pages to be
% printed without the rulers
\contentstrue
\pagestyle{plain}
\pdfbookmark[0]{Contents}{Contents}
\tableofcontents
\contentsfalse
% If there have been an odd number of pages, we need to eject another
% page before we change the page counter
\ifodd\value{page}\else\hbox{}\thispagestyle{empty}\newpage\fi
\mainmatter % included for use of documenttype 'book'
\withlinenumbers
\setpagewiselinenumbers
\linenumbers
\pagestyle{fancy}
% The interface described in this document is not part of the official
% MPI specification
\fancyhf{}
%\fancyhead[C]{\disclaim}
\fancyfoot[C]{\thepage\\
\disclaim}
\startchap
\include{mem_alloc}
\newpage
%\appendix
%\include{changelog}
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
\bibliography{refs}
\end{document}