-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnersc_uname_info.py
executable file
·296 lines (282 loc) · 10.3 KB
/
nersc_uname_info.py
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
#
# provides name, email, and affiliation for nersc unames
# that were used to develop visit
#
import sys
import json
from svn_utils import *
# details pulled from: src/svn_bin/nersc_username_to_email
def uname_info():
r = {
"ahern": {"name" : "Sean Ahern",
"afil" : "Oak Ridge National Laboratory",
"email": "[email protected]"},
#
"js9": {"name" : "Jeremy Meredith",
"afil" : "Oak Ridge National Laboratory",
"email": "[email protected]"},
#
"hrchilds": {"name" : "Hank Childs",
"afil" : "University of Oregon",
"email": "[email protected]"},
#
"miller86": {"name" : "Mark Miller",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"whitlocb": {"name" : "Brad Whitlock",
"afil" : "Intelligent Light",
"email": "[email protected]"},
#
"cyrush": {"name" : "Cyrus Harrison",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"dbremer": {"name" : "David Bremer",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"ghweber": {"name" : "Gunther Weber",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"bonnell": {"name" : "Kathleen Bonnell",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"brugger": {"name" : "Eric Brugger",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"kgriffin": {"name" : "Kevin Griffin",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"fogal1": {"name" : "Tom Fogal",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected]"},
#
"pugmire": {"name" : "Dave Pugmire",
"afil" : "Oak Ridge National Laboratory",
"email": "[email protected]"},
#
"stratton": {"name" : "Josh Stratton",
"afil" :"SCI Institute, University of Utah",
"email": "[email protected]"},
#
"rhudson": {"name" : "Randy Hudson",
"afil" : "University of Chicago, Argonne National Laboratory",
"email": "[email protected]"},
#
"camp": {"name" : "David Camp",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"semeraro": {"name" : "Dave Semeraro",
"afil" : "NCSA, University of Illinois",
"email": "[email protected]"},
#
"pnav": {"name" : "Paul Navratil",
"afil" :"TACC, University of Texas",
"email": "[email protected]"},
#
"mdurant": {"name" : "Marc Durant",
"afil" :"Tech-X Corp",
"email": "[email protected]"},
#
"hkrishna": {"name" : "Harinarayan(Hari) Krishnan",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"cook47": {"name" : "Rich Cook",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"loring": {"name" : "Burlen Loring",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"allens": {"name" : " Allen Sanderson",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected]"},
#
"oruebel": {"name" : "Oliver Ruebel",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"iuri": {"name" : "Iuri Prilepov",
"afil" : "UC Davis & Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"wheeler": {"name" : "Matthew Wheeler",
"afil" : "AWE UK",
"email": "[email protected]"},
#
"maheswar": {"name" : "Satheesh Maheswaran",
"afil" : "AWE UK",
"email": "[email protected]"},
#
"selby": {"name" : "Paul Selby",
"afil" : "AWE UK",
"email": "[email protected]"},
#
"kbensema": {"name" : "Kevin Bensema",
"afil" : "UC Davis",
"email": "[email protected]"},
#
"camc": {"name" : "Cameron Christensen",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected]"},
#
"rbleile": {"name" : "Ryan Bleile",
"afil" : "University of Oregon",
"email": "[email protected]"},
#
"jimeliot": {"name" : "Jim Eliot",
"afil" : "AWE UK",
"email": "[email protected]"},
#
"iulian": {"name" : "Iulian Grindeanu",
"afil" : "Argonne National Laboratory",
"email": "[email protected]"},
#
"gmorriso": {"name" : "Garrett Morrison",
"afil" : "University of Oregon",
"email": "[email protected]"},
#
"alister": {"name" : "Alister Maguire",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"laney": {"name" : "Dan Laney",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"mlarsen": {"name" : "Matt Larsen",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"tarwater": {"name" : "Ellen Tarwater-Clower",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"treadway": {"name" : "Tom Treadway",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"shelly": {"name" : "Shelly Prevost",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"mblair": {"name" : "Mark Blair",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"prabhat": {"name" : "Prabhat",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"sisneros": {"name" : "Robert Sisneros",
"afil" : "NCSA, University of Illinois",
"email": "[email protected]"},
#
"knolla": {"name" : "Aaron Knoll",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected] "},
#
"pascal": {"name" : "Pascal Grosset",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected]"},
#
"brownlee": {"name" : "Carson Brownlee",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected]"},
#
"garth": {"name" : "Christoph Garth",
"afil" : "UC Davis",
"email": "[email protected]"},
#
"dskinner": {"name" : "David Skinner",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "[email protected]"},
#
"sveta": {"name" : "Svetlana Shasharina",
"afil" : "Tech-X Corp",
"email": "[email protected]"},
#
"cary": {"name" : "John R. Cary",
"afil" : "Tech-X Corp",
"email": "[email protected]"},
#
"apletzer": {"name" : "Alexander Pletzer",
"afil" : "Tech-X Corp",
"email": "[email protected]"},
#
"alexanda": {"name" : "David Alexander",
"afil" : "Tech-X Corp",
"email": "[email protected]"},
#
"gmorris2": {"name" : "Garrett Morrison",
"afil" : "University of Oregon",
"email": "[email protected]"},
#
"kdawes": {"name" : "Kirsten Dawes",
"afil" : "University of Oregon",
"email": "[email protected]"},
#
"hota": {"name" : "Alok Hota",
"afil" : "University of Tennessee",
"email": "[email protected]"},
#
"spetruzz": {"name" : "Steve Petruzza",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected]"},
#
"eewing": {"name" : "Elliott Ewing",
"afil" : "University of Oregon",
"email": "[email protected]"},
#
"sidshank": {"name" : "Siddharth Shankar",
"afil" : "SCI Institute, University of Utah",
"email": "[email protected]"},
#
"jcanders": {"name" : "John C. Anderson",
"afil" : "UC Davis & Lawrence Livermore National Laboratory",
"email": "[email protected]"},
#
"deines": {"name" : "Eduard Deines",
"afil" : "UC Davis",
"email": "[email protected]"},
#
"rusu1": {"name" : "Edward Rusu",
"afil" : "Lawrence Livermore National Laboratory",
"email": "[email protected]"},
}
return r
def uncovered_authors():
res = []
umap = uname_info()
for author in svn_ls_authors():
if not author in umap.keys():
res.append(author)
return res
def authors_missing_email():
res = []
umap = uname_info()
for k,v in uname_info().items():
if v["email"].count("@") == 0:
res.append(k)
return res
if __name__ == "__main__":
if len(sys.argv) > 1:
print json.dumps(uname_info()[sys.argv[1]],indent=2)
else:
print json.dumps(uname_info(),indent=2)
ua = uncovered_authors()
if len(ua) > 0:
print "warning: uncovered authors:"
print json.dumps(ua,indent=2)
me = authors_missing_email()
if len(me) > 0:
print "warning: authors missing email:"
print json.dumps(me,indent=2)