-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
executable file
·174 lines (151 loc) · 6.04 KB
/
main.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
\documentclass[sigconf]{acmart}
%\documentclass[sigconf, authordraft]{acmart}
\usepackage{listings}
\usepackage{booktabs} % For formal tables
\usepackage{hyperref}
\newcommand\fnurl[2]{%
\href{#2}{#1}\footnote{\url{#2}}%
}
\usepackage[acronym,nonumberlist]{glossaries}
\makeglossaries
\lstdefinelanguage{Fortran2015}{%
language = [08]Fortran,
morekeywords = {
co_sum,
co_broadcast,
co_min,
co_max,
co_reduce,
event_type,
event_query,
event wait,
event post,
team_umber,
team_type,
form team,
change team,
end team,
},
}
\lstset{ %
basicstyle=\footnotesize, % the size of the fonts that are used for the code
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
breaklines=true, % sets automatic line breaking
captionpos=b, % sets the caption-position to bottom
escapeinside={\%*}{*)}, % if you want to add LaTeX within your code
frame=single, % adds a frame around the code
keepspaces=true, % keeps spaces in text, useful for keeping indentation of code (possibly needs columns=flexible)
language=Fortran2015, % the language of the code
morekeywords={procedure,iso_fortran_env}, % if you want to add more keywords to the set
numbers=left, % where to put the line-numbers; possible values are (none, left, right)
numbersep=5pt, % how far the line-numbers are from the code
numberstyle=\tiny, % the style that is used for the line-numbers
showspaces=false, % show spaces everywhere adding particular underscores; it overrides 'showstringspaces'
showstringspaces=false, % underline spaces within strings only
showtabs=false, % show tabs within strings adding particular underscores
keywordstyle=\color{brown}\ttfamily,
commentstyle=\color{cyan}\ttfamily,
stringstyle=\color{orange}\ttfamily,
%title=\lstname % show the filename of files included with \lstinputlisting; also try caption instead of title
}
% Copyright
%\setcopyright{none}
%\setcopyright{acmcopyright}
%\setcopyright{acmlicensed}
\setcopyright{rightsretained}
%\setcopyright{usgov}
%\setcopyright{usgovmixed}
%\setcopyright{cagov}
%\setcopyright{cagovmixed}
\input glossary/glossary.tex
\input glossary/acronyms.tex
\begin{document}
\copyrightyear{2017}
\acmYear{2017}
\setcopyright{acmlicensed}
\acmConference[PAW17]{PAW17: Second Annual PGAS Applications Workshop}{November 12--17, 2017}{Denver, CO, USA}
%\acmBooktitle{P A W17: P A W17: Second Annual PGAS Applications Workshop, November 12--17, 2017, Denver, CO, USA}
\acmPrice{15.00}
\acmDOI{10.1145/3144779.3169110}
\acmISBN{978-1-4503-5123-2/17/11}
\title{Incremental caffeination of a terrestrial hydrological modeling framework using Fortran 2018 teams}
%\titlenote{Produces the permission block, and
% copyright information}
\subtitle{Extended Abstract}
%\subtitlenote{The full version of the author's guide is available as
% \texttt{acmart.pdf} document}
\author{Damian Rouson}
\orcid{0000-0002-2234-868X}
\affiliation{%
\institution{\normalsize Sourcery Institute}
\streetaddress{\normalsize 2323 Broadway}
\city{\normalsize Oakland}
\state{\normalsize California}
\postcode{\normalsize 94612}
}
\email{[email protected]}
\renewcommand{\shortauthors}{D. Rouson et al.}
\author{James L. McCreight}
\orcid{0000-0001-6018-425X}
\affiliation{%
\institution{\normalsize National Center for Atmospheric Research}
\streetaddress{\normalsize 3450 Mitchell Ln.}
\city{\normalsize Boulder}
\state{\normalsize Colorado}
\postcode{\normalsize 80301}
}
\email{[email protected]}
\author{Alessandro Fanfarillo}
\orcid{0000-0003-3487-7452}
\affiliation{%
\institution{\normalsize National Center for Atmospheric Research}
\streetaddress{ 1850 Table Mesa Dr.}
\city{Boulder}
\state{Colorado}
\postcode{80305}
}
\email{[email protected]}
\begin{abstract}
We present Fortran 2018 teams (grouped processes) running a parallel ensemble of simulations
built from a pre-existing \gls{mpi} application. A challenge arises
around the Fortran standard's eschewing any direct reference to lower-level communication
substrates, such as \gls{mpi}, leaving any interoperability between Fortran's
parallel programming model, \gls{caf}, and the supporting substrate to the quality of the
compiler implmentation. Our approach introduces \gls{caf} incrementally, a process we term
``caffeination.'' By letting \gls{caf} initiate execution and exposing
the underlying \gls{mpi} communicator to the original application
code, we create a one-to-one correspondence between \gls{mpi} group colors and Fortran
teams. We apply our approach to the \gls{ncar}'s \gls{wrf-hydro}.
The newly caffeinated main program replaces batch job submission scripts and forms teams
that each execute one ensemble member. To support this work, we developed the first
compiler front-end and parallel runtime library support for teams. This paper describes
the required modifications to a public \gls{gcc} fork, an
OpenCoarrays~\cite{fanfarillo2014opencoarrays} \gls{abi} branch, and a \gls{wrf-hydro}
branch.
\end{abstract}
%
% The code below was generated by the tool at
% http://dl.acm.org/ccs.cfm
%
\begin{CCSXML}
<ccs2012>
<concept>
<concept_id>10011007.10011006.10011008.10011009.10010175</concept_id>
<concept_desc>Software and its engineering~Parallel programming languages</concept_desc>
<concept_significance>500</concept_significance>
</concept>
<concept>
<concept_id>10010405.10010432.10010437.10010438</concept_id>
<concept_desc>Applied computing~Environmental sciences</concept_desc>
<concept_significance>300</concept_significance>
</concept>
</ccs2012>
\end{CCSXML}
\ccsdesc[500]{Software and its engineering~Parallel programming languages}
\ccsdesc[300]{Applied computing~Environmental sciences}
\keywords{coarray Fortran, computational hydrology, parallel programming}
\maketitle
\input{body}
\bibliographystyle{ACM-Reference-Format}
\bibliography{bibliography}
\end{document}