-
Notifications
You must be signed in to change notification settings - Fork 1
/
nersc_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": "ahern@ornl.gov"},
#
"js9": {"name" : "Jeremy Meredith",
"afil" : "Oak Ridge National Laboratory",
"email": "jsmeredith@gmail.com"},
#
"hrchilds": {"name" : "Hank Childs",
"afil" : "University of Oregon",
"email": "hank@uoregon.edu"},
#
"miller86": {"name" : "Mark Miller",
"afil" : "Lawrence Livermore National Laboratory",
"email": "miller86@llnl.gov"},
#
"whitlocb": {"name" : "Brad Whitlock",
"afil" : "Intelligent Light",
"email": "bjw@ilight.com"},
#
"cyrush": {"name" : "Cyrus Harrison",
"afil" : "Lawrence Livermore National Laboratory",
"email": "cyrush@llnl.gov"},
#
"dbremer": {"name" : "David Bremer",
"afil" : "Lawrence Livermore National Laboratory",
"email": "bremer4@llnl.gov"},
#
"ghweber": {"name" : "Gunther Weber",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "ghweber@lbl.gov"},
#
"bonnell": {"name" : "Kathleen Bonnell",
"afil" : "Lawrence Livermore National Laboratory",
"email": "bonnell2@llnl.gov"},
#
"brugger": {"name" : "Eric Brugger",
"afil" : "Lawrence Livermore National Laboratory",
"email": "brugger1@llnl.gov"},
#
"kgriffin": {"name" : "Kevin Griffin",
"afil" : "Lawrence Livermore National Laboratory",
"email": "griffin28@llnl.gov"},
#
"fogal1": {"name" : "Tom Fogal",
"afil" : "SCI Institute, University of Utah",
"email": "tfogal@sci.utah.edu"},
#
"pugmire": {"name" : "Dave Pugmire",
"afil" : "Oak Ridge National Laboratory",
"email": "pugmire@ornl.gov"},
#
"stratton": {"name" : "Josh Stratton",
"afil" :"SCI Institute, University of Utah",
"email": "strattonbrazil@gmail.com"},
#
"rhudson": {"name" : "Randy Hudson",
"afil" : "University of Chicago, Argonne National Laboratory",
"email": "hudson@mcs.anl.gov"},
#
"camp": {"name" : "David Camp",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "dcamp@lbl.gov"},
#
"semeraro": {"name" : "Dave Semeraro",
"afil" : "NCSA, University of Illinois",
"email": "semeraro@ncsa.uiuc.edu"},
#
"pnav": {"name" : "Paul Navratil",
"afil" :"TACC, University of Texas",
"email": "pnav@tacc.utexas.edu"},
#
"mdurant": {"name" : "Marc Durant",
"afil" :"Tech-X Corp",
"email": "mdurant@txcorp.com"},
#
"hkrishna": {"name" : "Harinarayan(Hari) Krishnan",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "hkrishnan@lbl.gov"},
#
"cook47": {"name" : "Rich Cook",
"afil" : "Lawrence Livermore National Laboratory",
"email": "rcook@llnl.gov"},
#
"loring": {"name" : "Burlen Loring",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "bloring@lbl.gov"},
#
"allens": {"name" : " Allen Sanderson",
"afil" : "SCI Institute, University of Utah",
"email": "allen@sci.utah.edu"},
#
"oruebel": {"name" : "Oliver Ruebel",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "allen@sci.utah.edu"},
#
"iuri": {"name" : "Iuri Prilepov",
"afil" : "UC Davis & Lawrence Berkeley National Laboratory",
"email": "iprilepov@lbl.gov"},
#
"wheeler": {"name" : "Matthew Wheeler",
"afil" : "AWE UK",
"email": "Matthew.Wheeler@awe.co.uk"},
#
"maheswar": {"name" : "Satheesh Maheswaran",
"afil" : "AWE UK",
"email": "Satheesh.Maheswaran@awe.co.uk"},
#
"selby": {"name" : "Paul Selby",
"afil" : "AWE UK",
"email": "paul.selby@awe.co.uk"},
#
"kbensema": {"name" : "Kevin Bensema",
"afil" : "UC Davis",
"email": "kbensema@ucdavis.edu"},
#
"camc": {"name" : "Cameron Christensen",
"afil" : "SCI Institute, University of Utah",
"email": "cam@sci.utah.edu"},
#
"rbleile": {"name" : "Ryan Bleile",
"afil" : "University of Oregon",
"email": "rbleile@cs.uoregon.edu"},
#
"jimeliot": {"name" : "Jim Eliot",
"afil" : "AWE UK",
"email": "jim.eliot@awe.co.uk"},
#
"iulian": {"name" : "Iulian Grindeanu",
"afil" : "Argonne National Laboratory",
"email": "iulian@anl.gov"},
#
"gmorriso": {"name" : "Garrett Morrison",
"afil" : "University of Oregon",
"email": "gmorriso@uoregon.edu"},
#
"alister": {"name" : "Alister Maguire",
"afil" : "Lawrence Livermore National Laboratory",
"email": "maguire7@llnl.gov"},
#
"laney": {"name" : "Dan Laney",
"afil" : "Lawrence Livermore National Laboratory",
"email": "laney1@llnl.gov"},
#
"mlarsen": {"name" : "Matt Larsen",
"afil" : "Lawrence Livermore National Laboratory",
"email": "larsen30@llnl.gov"},
#
"tarwater": {"name" : "Ellen Tarwater-Clower",
"afil" : "Lawrence Livermore National Laboratory",
"email": "tarwaterclow1@llnl.gov"},
#
"treadway": {"name" : "Tom Treadway",
"afil" : "Lawrence Livermore National Laboratory",
"email": "treadway1@llnl.gov"},
#
"shelly": {"name" : "Shelly Prevost",
"afil" : "Lawrence Livermore National Laboratory",
"email": "prevost3@llnl.gov"},
#
"mblair": {"name" : "Mark Blair",
"afil" : "Lawrence Livermore National Laboratory",
"email": "mblair@llnl.gov"},
#
"prabhat": {"name" : "Prabhat",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "prabhat@lbl.gov"},
#
"sisneros": {"name" : "Robert Sisneros",
"afil" : "NCSA, University of Illinois",
"email": "sisneros@illinois.edu"},
#
"knolla": {"name" : "Aaron Knoll",
"afil" : "SCI Institute, University of Utah",
"email": "knolla@sci.utah.edu "},
#
"pascal": {"name" : "Pascal Grosset",
"afil" : "SCI Institute, University of Utah",
"email": "pgrosset@sci.utah.edu"},
#
"brownlee": {"name" : "Carson Brownlee",
"afil" : "SCI Institute, University of Utah",
"email": "brownlee@cs.utah.edu"},
#
"garth": {"name" : "Christoph Garth",
"afil" : "UC Davis",
"email": "cgarth@ucdavis.edu"},
#
"dskinner": {"name" : "David Skinner",
"afil" : "Lawrence Berkeley National Laboratory",
"email": "deSkinner@lbl.gov"},
#
"sveta": {"name" : "Svetlana Shasharina",
"afil" : "Tech-X Corp",
"email": "sveta@txcorp.com"},
#
"cary": {"name" : "John R. Cary",
"afil" : "Tech-X Corp",
"email": "cary@txcorp.com"},
#
"apletzer": {"name" : "Alexander Pletzer",
"afil" : "Tech-X Corp",
"email": "pletzer@txcorp.com"},
#
"alexanda": {"name" : "David Alexander",
"afil" : "Tech-X Corp",
"email": "alexanda@txcorp.com"},
#
"gmorris2": {"name" : "Garrett Morrison",
"afil" : "University of Oregon",
"email": "gmorriso@cs.uoregon.edu"},
#
"kdawes": {"name" : "Kirsten Dawes",
"afil" : "University of Oregon",
"email": "kdawes@uoregon.edu"},
#
"hota": {"name" : "Alok Hota",
"afil" : "University of Tennessee",
"email": "alok@utk.edu"},
#
"spetruzz": {"name" : "Steve Petruzza",
"afil" : "SCI Institute, University of Utah",
"email": "spetruzza@sci.utah.edu"},
#
"eewing": {"name" : "Elliott Ewing",
"afil" : "University of Oregon",
"email": "eewing@cs.uoregon.edu"},
#
"sidshank": {"name" : "Siddharth Shankar",
"afil" : "SCI Institute, University of Utah",
"email": "sshankar@cs.utah.edu"},
#
"jcanders": {"name" : "John C. Anderson",
"afil" : "UC Davis & Lawrence Livermore National Laboratory",
"email": "anderson@cs.ucdavis.edu"},
#
"deines": {"name" : "Eduard Deines",
"afil" : "UC Davis",
"email": "edeines@ucdavis.edu"},
#
"rusu1": {"name" : "Edward Rusu",
"afil" : "Lawrence Livermore National Laboratory",
"email": "rusu1@llnl.gov"},
}
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)