forked from materialsproject/pymatgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pymatgen.io.abinit.scheduler_error_parsers.html
425 lines (374 loc) · 33.4 KB
/
pymatgen.io.abinit.scheduler_error_parsers.html
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
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>pymatgen.io.abinit.scheduler_error_parsers module — pymatgen 2019.5.1 documentation</title>
<link rel="stylesheet" href="_static/proBlue.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/language_data.js"></script>
<script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="shortcut icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-33990148-1']);
_gaq.push(['_trackPageview']);
</script>
</head><body>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">pymatgen 2019.5.1 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="module-pymatgen.io.abinit.scheduler_error_parsers">
<span id="pymatgen-io-abinit-scheduler-error-parsers-module"></span><h1>pymatgen.io.abinit.scheduler_error_parsers module<a class="headerlink" href="#module-pymatgen.io.abinit.scheduler_error_parsers" title="Permalink to this headline">¶</a></h1>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractError">
<em class="property">class </em><code class="descname">AbstractError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#AbstractError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Error base class</p>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractError.application_adapter_solutions">
<code class="descname">application_adapter_solutions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError.application_adapter_solutions" title="Permalink to this definition">¶</a></dt>
<dd><p>to be implemented by concrete errors returning a list of tuples defining corrections. The First element of the
tuple should be a string of one of the methods in CorrectorProtocolApplication, the second element should
contain the arguments.</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractError.last_resort_solution">
<code class="descname">last_resort_solution</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#AbstractError.last_resort_solution"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError.last_resort_solution" title="Permalink to this definition">¶</a></dt>
<dd><p>what to do if every thing else fails…</p>
</dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractError.name">
<code class="descname">name</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractError.scheduler_adapter_solutions">
<code class="descname">scheduler_adapter_solutions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError.scheduler_adapter_solutions" title="Permalink to this definition">¶</a></dt>
<dd><p>to be implemented by concrete errors returning a list of tuples defining corrections. The First element of the
tuple should be a string of one of the methods in CorrectorProtocolScheduler, the second element should
contain the arguments.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser">
<em class="property">class </em><code class="descname">AbstractErrorParser</code><span class="sig-paren">(</span><em>err_file</em>, <em>out_file=None</em>, <em>run_err_file=None</em>, <em>batch_err_file=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#AbstractErrorParser"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Abstract class for parsing errors originating from the scheduler system and error that are not reported by the
program itself, i.e. segmentation faults.</p>
<p>A concrete implementation of this class for a specific scheduler needs a class attribute ERRORS for containing a
dictionary specifying error:</p>
<dl>
<dt>ERRORS = {ErrorClass: {</dt><dd><dl class="simple">
<dt>‘file_specifier’<span class="classifier">{</span></dt><dd><p>‘string’: “the string to be looked for”,
‘meta_filter’: “string specifing the regular expression to obtain the meta data”
}</p>
</dd>
</dl>
<p>}</p>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.error_definitions">
<code class="descname">error_definitions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.error_definitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="staticmethod">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.extract_metadata">
<em class="property">static </em><code class="descname">extract_metadata</code><span class="sig-paren">(</span><em>lines</em>, <em>meta_filter</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#AbstractErrorParser.extract_metadata"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.extract_metadata" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.parse">
<code class="descname">parse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#AbstractErrorParser.parse"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.parse" title="Permalink to this definition">¶</a></dt>
<dd><p>Parse for the occurens of all errors defined in ERRORS</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.parse_single">
<code class="descname">parse_single</code><span class="sig-paren">(</span><em>errmsg</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#AbstractErrorParser.parse_single"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser.parse_single" title="Permalink to this definition">¶</a></dt>
<dd><p>Parse the provided files for the corresponding strings.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication">
<em class="property">class </em><code class="descname">CorrectorProtocolApplication</code><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolApplication"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Abstract class to define the protocol / interface for correction operators. The client code quadapters / submission
script generator method / … should implement these methods.</p>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication.decrease_mem">
<code class="descname">decrease_mem</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolApplication.decrease_mem"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication.decrease_mem" title="Permalink to this definition">¶</a></dt>
<dd><p>Method to increase then memory in the calculation. It is called when a calculation seemed to have been crashed
due to a insufficient memory.</p>
<p>returns True if the memory could be increased False otherwise</p>
</dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication.name">
<code class="descname">name</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication.speed_up">
<code class="descname">speed_up</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolApplication.speed_up"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolApplication.speed_up" title="Permalink to this definition">¶</a></dt>
<dd><p>Method to speed_up the calculation. It is called when a calculation seemed to time limits being broken.</p>
<p>returns True if the memory could be increased False otherwise</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler">
<em class="property">class </em><code class="descname">CorrectorProtocolScheduler</code><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolScheduler"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">object</span></code></p>
<p>Abstract class to define the protocol / interface for correction operators. The client code quadapters / submission
script generator method / … should implement these methods.</p>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.exclude_nodes">
<code class="descname">exclude_nodes</code><span class="sig-paren">(</span><em>nodes</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolScheduler.exclude_nodes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.exclude_nodes" title="Permalink to this definition">¶</a></dt>
<dd><p>Method to exclude certain nodes from being used in the calculation. It is called when a calculation seemed to
have been crashed due to a hardware failure at the nodes specified.</p>
<blockquote>
<div><p>nodes: list of node numbers that were found to cause problems</p>
</div></blockquote>
<p>returns True if the memory could be increased False otherwise</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.increase_cpus">
<code class="descname">increase_cpus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolScheduler.increase_cpus"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.increase_cpus" title="Permalink to this definition">¶</a></dt>
<dd><p>Method to increse the number of cpus being used in the calculation. It is called when a calculation seemed to
have been crashed due to time or memory limits being broken.</p>
<p>returns True if the memory could be increased False otherwise</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.increase_mem">
<code class="descname">increase_mem</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolScheduler.increase_mem"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.increase_mem" title="Permalink to this definition">¶</a></dt>
<dd><p>Method to increase then memory in the calculation. It is called when a calculation seemed to have been crashed
due to a insufficient memory.</p>
<p>returns True if the memory could be increased False otherwise</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.increase_time">
<code class="descname">increase_time</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#CorrectorProtocolScheduler.increase_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.increase_time" title="Permalink to this definition">¶</a></dt>
<dd><p>Method to increase te time for the calculation. It is called when a calculation seemed to
have been crashed due to a time limit.</p>
<p>returns True if the memory could be increased False otherwise</p>
</dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.name">
<code class="descname">name</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.CorrectorProtocolScheduler.name" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.DiskError">
<em class="property">class </em><code class="descname">DiskError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#DiskError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.DiskError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<p>Errors involving problems writing to disk.</p>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.FullQueueError">
<em class="property">class </em><code class="descname">FullQueueError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#FullQueueError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.FullQueueError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<p>Errors occurring at submission. To many jobs in the queue / total cpus / .. .</p>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.MasterProcessMemoryCancelError">
<em class="property">class </em><code class="descname">MasterProcessMemoryCancelError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#MasterProcessMemoryCancelError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.MasterProcessMemoryCancelError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<p>Error due to exceeding the memory limit for the job on the master node.</p>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError">
<em class="property">class </em><code class="descname">MemoryCancelError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#MemoryCancelError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<dl class="simple">
<dt>Error due to exceeding the memory limit for the job.</dt><dd><p>.limit will return a list of limits that were broken, None if it could not be determined.</p>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError.application_adapter_solutions">
<code class="descname">application_adapter_solutions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError.application_adapter_solutions" title="Permalink to this definition">¶</a></dt>
<dd><p>to be implemented by concrete errors returning a list of tuples defining corrections. The First element of the
tuple should be a string of one of the methods in CorrectorProtocolApplication, the second element should
contain the arguments.</p>
</dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError.limit">
<code class="descname">limit</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError.limit" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError.scheduler_adapter_solutions">
<code class="descname">scheduler_adapter_solutions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.MemoryCancelError.scheduler_adapter_solutions" title="Permalink to this definition">¶</a></dt>
<dd><p>to be implemented by concrete errors returning a list of tuples defining corrections. The First element of the
tuple should be a string of one of the methods in CorrectorProtocolScheduler, the second element should
contain the arguments.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.NodeFailureError">
<em class="property">class </em><code class="descname">NodeFailureError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#NodeFailureError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.NodeFailureError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<dl class="simple">
<dt>Error due the hardware failure of a specific node.</dt><dd><p>.node will return a list of problematic nodes, None if it could not be determined.</p>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.NodeFailureError.nodes">
<code class="descname">nodes</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.NodeFailureError.nodes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.NodeFailureError.scheduler_adapter_solutions">
<code class="descname">scheduler_adapter_solutions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.NodeFailureError.scheduler_adapter_solutions" title="Permalink to this definition">¶</a></dt>
<dd><p>to be implemented by concrete errors returning a list of tuples defining corrections. The First element of the
tuple should be a string of one of the methods in CorrectorProtocolScheduler, the second element should
contain the arguments.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.PBSErrorParser">
<em class="property">class </em><code class="descname">PBSErrorParser</code><span class="sig-paren">(</span><em>err_file</em>, <em>out_file=None</em>, <em>run_err_file=None</em>, <em>batch_err_file=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#PBSErrorParser"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.PBSErrorParser" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser</span></code></a></p>
<dl class="simple">
<dt>Implementation for the PBS scheduler</dt><dd><p>PBS: job killed: walltime 932 exceeded limit 900
PBS: job killed: walltime 46 exceeded limit 30
PBS: job killed: vmem 2085244kb exceeded limit 1945600kb</p>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.PBSErrorParser.error_definitions">
<code class="descname">error_definitions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.PBSErrorParser.error_definitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.SlaveProcessMemoryCancelError">
<em class="property">class </em><code class="descname">SlaveProcessMemoryCancelError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#SlaveProcessMemoryCancelError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.SlaveProcessMemoryCancelError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<p>Error due to exceeding the memory limit for the job on a node different from the master.</p>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.SlurmErrorParser">
<em class="property">class </em><code class="descname">SlurmErrorParser</code><span class="sig-paren">(</span><em>err_file</em>, <em>out_file=None</em>, <em>run_err_file=None</em>, <em>batch_err_file=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#SlurmErrorParser"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.SlurmErrorParser" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractErrorParser</span></code></a></p>
<p>Implementation of the error definitions for the Slurm scheduler</p>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.SlurmErrorParser.error_definitions">
<code class="descname">error_definitions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.SlurmErrorParser.error_definitions" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.SubmitError">
<em class="property">class </em><code class="descname">SubmitError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#SubmitError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.SubmitError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<p>Errors occurring at submission. The limits on the cluster may have changed.</p>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError">
<em class="property">class </em><code class="descname">TimeCancelError</code><span class="sig-paren">(</span><em>errmsg</em>, <em>meta_data</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#TimeCancelError"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.scheduler_error_parsers.AbstractError" title="pymatgen.io.abinit.scheduler_error_parsers.AbstractError"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.scheduler_error_parsers.AbstractError</span></code></a></p>
<dl class="simple">
<dt>Error due to exceeding the time limit for the job.</dt><dd><p>.limit will return a list of limits that were broken, None if it could not be determined.</p>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError.application_adapter_solutions">
<code class="descname">application_adapter_solutions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError.application_adapter_solutions" title="Permalink to this definition">¶</a></dt>
<dd><p>to be implemented by concrete errors returning a list of tuples defining corrections. The First element of the
tuple should be a string of one of the methods in CorrectorProtocolApplication, the second element should
contain the arguments.</p>
</dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError.limit">
<code class="descname">limit</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError.limit" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError.scheduler_adapter_solutions">
<code class="descname">scheduler_adapter_solutions</code><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.TimeCancelError.scheduler_adapter_solutions" title="Permalink to this definition">¶</a></dt>
<dd><p>to be implemented by concrete errors returning a list of tuples defining corrections. The First element of the
tuple should be a string of one of the methods in CorrectorProtocolScheduler, the second element should
contain the arguments.</p>
</dd></dl>
</dd></dl>
<dl class="function">
<dt id="pymatgen.io.abinit.scheduler_error_parsers.get_parser">
<code class="descname">get_parser</code><span class="sig-paren">(</span><em>scheduler</em>, <em>err_file</em>, <em>out_file=None</em>, <em>run_err_file=None</em>, <em>batch_err_file=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/scheduler_error_parsers.html#get_parser"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.scheduler_error_parsers.get_parser" title="Permalink to this definition">¶</a></dt>
<dd><p>Factory function to provide the parser for the specified scheduler. If the scheduler is not implemented None is
returned. The files, string, correspond to file names of the out and err files:
err_file stderr of the scheduler
out_file stdout of the scheduler
run_err_file stderr of the application
batch_err_file stderr of the submission</p>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>None if scheduler is not supported.</p>
</dd>
</dl>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/pymatgen.io.abinit.scheduler_error_parsers.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="nav-item nav-item-0"><a href="index.html">pymatgen 2019.5.1 documentation</a> »</li>
</ul>
</div>
<div class="footer" role="contentinfo">
© Copyright 2011, Pymatgen Development Team.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 2.0.1.
</div>
<div class="footer">This page uses <a href="http://analytics.google.com/">
Google Analytics</a> to collect statistics. You can disable it by blocking
the JavaScript coming from www.google-analytics.com.
<script type="text/javascript">
(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.setAttribute('async', 'true');
document.documentElement.firstChild.appendChild(ga);
})();
</script>
</div>
</body>
</html>