-
Notifications
You must be signed in to change notification settings - Fork 838
/
pymatgen.io.abinit.qjobs.html
515 lines (456 loc) · 34.1 KB
/
pymatgen.io.abinit.qjobs.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
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>pymatgen.io.abinit.qjobs module — pymatgen 2019.9.16 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="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.9.16 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.qjobs">
<span id="pymatgen-io-abinit-qjobs-module"></span><h1>pymatgen.io.abinit.qjobs module<a class="headerlink" href="#module-pymatgen.io.abinit.qjobs" title="Permalink to this headline">¶</a></h1>
<p>Objects and methods to contact the resource manager to get info on the status of the job and useful statistics.
Note that this is not a wrapper for the C API but a collection of simple wrappers around the shell commands
provided by the resource manager (qsub, qdel and qstat for PBS, sinfo, squeue… for Slurm).
The main goal indeed is providing a simplified common interface for different resource managers without
having to rely on external libraries.</p>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.BlueGeneJob">
<em class="property">class </em><code class="sig-name descname">BlueGeneJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#BlueGeneJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.BlueGeneJob" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.qjobs.QueueJob</span></code></a></p>
<p>Not supported</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.BlueGeneJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = 'bluegene'</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.BlueGeneJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.JobStatus">
<em class="property">class </em><code class="sig-name descname">JobStatus</code><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#JobStatus"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.JobStatus" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">int</span></code></p>
<p>This object is an integer representing the status of a <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">QueueJob</span></code></a>.</p>
<p>Slurm API, see <cite>man squeue</cite>.</p>
<dl class="simple">
<dt>JOB STATE CODES</dt><dd><p>Jobs typically pass through several states in the course of their execution. The typical states are
PENDING, RUNNING, SUSPENDED, COMPLETING, and COMPLETED. An explanation of each state follows.</p>
</dd>
<dt>BF BOOT_FAIL Job terminated due to launch failure, typically due to a hardware failure (e.g.</dt><dd><p>unable to boot the node or block and the job can not be requeued).</p>
</dd>
<dt>CA CANCELLED Job was explicitly cancelled by the user or system administrator.</dt><dd><p>The job may or may not have been initiated.</p>
</dd>
</dl>
<p>CD COMPLETED Job has terminated all processes on all nodes.
CF CONFIGURING Job has been allocated resources, but are waiting for them to become ready for use (booting).
CG COMPLETING Job is in the process of completing. Some processes on some nodes may still be active.
F FAILED Job terminated with non-zero exit code or other failure condition.
NF NODE_FAIL Job terminated due to failure of one or more allocated nodes.
PD PENDING Job is awaiting resource allocation.
PR PREEMPTED Job terminated due to preemption.
R RUNNING Job currently has an allocation.
S SUSPENDED Job has an allocation, but execution has been suspended.
TO TIMEOUT Job terminated upon reaching its time limit.
SE SPECIAL_EXIT The job was requeued in a special state. This state can be set by users, typically</p>
<blockquote>
<div><p>in EpilogSlurmctld, if the job has terminated with a particular exit value.</p>
</div></blockquote>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.JobStatus.from_string">
<em class="property">classmethod </em><code class="sig-name descname">from_string</code><span class="sig-paren">(</span><em class="sig-param">s</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#JobStatus.from_string"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.JobStatus.from_string" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a <a class="reference internal" href="#pymatgen.io.abinit.qjobs.JobStatus" title="pymatgen.io.abinit.qjobs.JobStatus"><code class="xref py py-class docutils literal notranslate"><span class="pre">JobStatus</span></code></a> instance from its string representation.</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.MoabJob">
<em class="property">class </em><code class="sig-name descname">MoabJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#MoabJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.MoabJob" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.qjobs.QueueJob</span></code></a></p>
<p>Not supported</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.MoabJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = 'moab'</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.MoabJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.PbsProJob">
<em class="property">class </em><code class="sig-name descname">PbsProJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#PbsProJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.PbsProJob" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.qjobs.QueueJob</span></code></a></p>
<p>Handler for PbsPro Jobs.</p>
<p>See also <a class="reference external" href="https://github.com/plediii/pbs_util">https://github.com/plediii/pbs_util</a> for a similar project.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.PbsProJob.PBSSTAT_TO_SLURM">
<code class="sig-name descname">PBSSTAT_TO_SLURM</code><em class="property"> = {'E': <JobStatus: FAILED, at 120822872496>, 'F': <JobStatus: COMPLETED, at 120822873936>, 'Q': <JobStatus: PENDING, at 120816575424>, 'R': <JobStatus: RUNNING, at 120816576544>, 'S': <JobStatus: SUSPENDED, at 120822873616>}</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.PbsProJob.PBSSTAT_TO_SLURM" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.PbsProJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = 'pbspro'</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.PbsProJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.PbsProJob.estimated_start_time">
<code class="sig-name descname">estimated_start_time</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#PbsProJob.estimated_start_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.PbsProJob.estimated_start_time" title="Permalink to this definition">¶</a></dt>
<dd><p>Return date with estimated start time. None if it cannot be detected</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.PbsProJob.get_info">
<code class="sig-name descname">get_info</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#PbsProJob.get_info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.PbsProJob.get_info" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.QueueJob">
<em class="property">class </em><code class="sig-name descname">QueueJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob" 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>This object provides methods to contact the resource manager to get info on the status
of the job and useful statistics. This is an abstract class.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = None</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_CANCELLED">
<code class="sig-name descname">S_CANCELLED</code><em class="property"> = <JobStatus: CANCELLED, at 120822871856></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_CANCELLED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_COMPLETED">
<code class="sig-name descname">S_COMPLETED</code><em class="property"> = <JobStatus: COMPLETED, at 120822873936></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_COMPLETED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_FAILED">
<code class="sig-name descname">S_FAILED</code><em class="property"> = <JobStatus: FAILED, at 120822872496></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_FAILED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_NODEFAIL">
<code class="sig-name descname">S_NODEFAIL</code><em class="property"> = <JobStatus: NODEFAIL, at 120822872016></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_NODEFAIL" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_PENDING">
<code class="sig-name descname">S_PENDING</code><em class="property"> = <JobStatus: PENDING, at 120816575424></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_PENDING" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_PREEMPTED">
<code class="sig-name descname">S_PREEMPTED</code><em class="property"> = <JobStatus: PREEMPTED, at 120822870096></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_PREEMPTED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_RESIZING">
<code class="sig-name descname">S_RESIZING</code><em class="property"> = <JobStatus: RESIZING, at 120816574944></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_RESIZING" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_RUNNING">
<code class="sig-name descname">S_RUNNING</code><em class="property"> = <JobStatus: RUNNING, at 120816576544></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_RUNNING" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_SUSPENDED">
<code class="sig-name descname">S_SUSPENDED</code><em class="property"> = <JobStatus: SUSPENDED, at 120822873616></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_SUSPENDED" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_TIMEOUT">
<code class="sig-name descname">S_TIMEOUT</code><em class="property"> = <JobStatus: TIMEOUT, at 120822873776></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_TIMEOUT" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.S_UNKNOWN">
<code class="sig-name descname">S_UNKNOWN</code><em class="property"> = <JobStatus: UNKNOWN, at 120816577104></em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.S_UNKNOWN" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.estimated_start_time">
<code class="sig-name descname">estimated_start_time</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.estimated_start_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.estimated_start_time" title="Permalink to this definition">¶</a></dt>
<dd><p>Return date with estimated start time. None if it cannot be detected</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.from_qtype_and_id">
<em class="property">static </em><code class="sig-name descname">from_qtype_and_id</code><span class="sig-paren">(</span><em class="sig-param">qtype</em>, <em class="sig-param">queue_id</em>, <em class="sig-param">qname=None</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.from_qtype_and_id"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.from_qtype_and_id" title="Permalink to this definition">¶</a></dt>
<dd><p>Return a new istance of the appropriate subclass.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>qtype</strong> – String specifying the Resource manager type.</p></li>
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.get_info">
<code class="sig-name descname">get_info</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.get_info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.get_info" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.get_nodes">
<code class="sig-name descname">get_nodes</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.get_nodes"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.get_nodes" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.get_stats">
<code class="sig-name descname">get_stats</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.get_stats"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.get_stats" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.has_node_failures">
<em class="property">property </em><code class="sig-name descname">has_node_failures</code><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.has_node_failures" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.is_completed">
<em class="property">property </em><code class="sig-name descname">is_completed</code><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.is_completed" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.is_failed">
<em class="property">property </em><code class="sig-name descname">is_failed</code><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.is_failed" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.is_running">
<em class="property">property </em><code class="sig-name descname">is_running</code><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.is_running" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.likely_code_error">
<code class="sig-name descname">likely_code_error</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.likely_code_error"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.likely_code_error" title="Permalink to this definition">¶</a></dt>
<dd><p>See <a class="reference external" href="http://man7.org/linux/man-pages/man7/signal.7.html">http://man7.org/linux/man-pages/man7/signal.7.html</a></p>
<p>SIGHUP 1 Term Hangup detected on controlling terminal or death of controlling process
SIGINT 2 Term Interrupt from keyboard
SIGQUIT 3 Core Quit from keyboard
SIGILL 4 Core Illegal Instruction
SIGABRT 6 Core Abort signal from abort(3)
SIGFPE 8 Core Floating point exception
SIGKILL 9 Term Kill signal
SIGSEGV 11 Core Invalid memory reference
SIGPIPE 13 Term Broken pipe: write to pipe with no readers
SIGALRM 14 Term Timer signal from alarm(2)
SIGTERM 15 Term Termination signal
SIGUSR1 30,10,16 Term User-defined signal 1
SIGUSR2 31,12,17 Term User-defined signal 2
SIGCHLD 20,17,18 Ign Child stopped or terminated
SIGCONT 19,18,25 Cont Continue if stopped
SIGSTOP 17,19,23 Stop Stop process
SIGTSTP 18,20,24 Stop Stop typed at terminal
SIGTTIN 21,21,26 Stop Terminal input for background process
SIGTTOU 22,22,27 Stop Terminal output for background process</p>
<p>The signals SIGKILL and SIGSTOP cannot be caught, blocked, or ignored.</p>
<p>Next the signals not in the POSIX.1-1990 standard but described in
SUSv2 and POSIX.1-2001.</p>
<p>Signal Value Action Comment
SIGBUS 10,7,10 Core Bus error (bad memory access)
SIGPOLL Term Pollable event (Sys V).</p>
<blockquote>
<div><p>Synonym for SIGIO</p>
</div></blockquote>
<p>SIGPROF 27,27,29 Term Profiling timer expired
SIGSYS 12,31,12 Core Bad argument to routine (SVr4)
SIGTRAP 5 Core Trace/breakpoint trap
SIGURG 16,23,21 Ign Urgent condition on socket (4.2BSD)
SIGVTALRM 26,26,28 Term Virtual alarm clock (4.2BSD)
SIGXCPU 24,24,30 Core CPU time limit exceeded (4.2BSD)
SIGXFSZ 25,25,31 Core File size limit exceeded (4.2BSD)</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.received_signal">
<code class="sig-name descname">received_signal</code><span class="sig-paren">(</span><em class="sig-param">sig_name</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.received_signal"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.received_signal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.set_status_exitcode_signal">
<code class="sig-name descname">set_status_exitcode_signal</code><span class="sig-paren">(</span><em class="sig-param">status</em>, <em class="sig-param">exitcode</em>, <em class="sig-param">signal</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#QueueJob.set_status_exitcode_signal"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.set_status_exitcode_signal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.timeout">
<em class="property">property </em><code class="sig-name descname">timeout</code><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.timeout" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.QueueJob.unknown_status">
<em class="property">property </em><code class="sig-name descname">unknown_status</code><a class="headerlink" href="#pymatgen.io.abinit.qjobs.QueueJob.unknown_status" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.SgeJob">
<em class="property">class </em><code class="sig-name descname">SgeJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#SgeJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.SgeJob" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.qjobs.QueueJob</span></code></a></p>
<p>Not supported</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.SgeJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = 'sge'</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.SgeJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.ShellJob">
<em class="property">class </em><code class="sig-name descname">ShellJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#ShellJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.ShellJob" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.qjobs.QueueJob</span></code></a></p>
<p>Handler for Shell jobs.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.ShellJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = 'shell'</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.ShellJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.SlurmJob">
<em class="property">class </em><code class="sig-name descname">SlurmJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#SlurmJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.SlurmJob" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.qjobs.QueueJob</span></code></a></p>
<p>Handler for Slurm jobs.</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.SlurmJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = 'slurm'</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.SlurmJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.SlurmJob.estimated_start_time">
<code class="sig-name descname">estimated_start_time</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#SlurmJob.estimated_start_time"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.SlurmJob.estimated_start_time" title="Permalink to this definition">¶</a></dt>
<dd><p>Return date with estimated start time. None if it cannot be detected</p>
</dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.SlurmJob.get_info">
<code class="sig-name descname">get_info</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#SlurmJob.get_info"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.SlurmJob.get_info" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="pymatgen.io.abinit.qjobs.SlurmJob.get_stats">
<code class="sig-name descname">get_stats</code><span class="sig-paren">(</span><em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#SlurmJob.get_stats"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.SlurmJob.get_stats" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="class">
<dt id="pymatgen.io.abinit.qjobs.TorqueJob">
<em class="property">class </em><code class="sig-name descname">TorqueJob</code><span class="sig-paren">(</span><em class="sig-param">queue_id</em>, <em class="sig-param">qname='UnknownQueue'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pymatgen/io/abinit/qjobs.html#TorqueJob"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pymatgen.io.abinit.qjobs.TorqueJob" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference internal" href="#pymatgen.io.abinit.qjobs.QueueJob" title="pymatgen.io.abinit.qjobs.QueueJob"><code class="xref py py-class docutils literal notranslate"><span class="pre">pymatgen.io.abinit.qjobs.QueueJob</span></code></a></p>
<p>Not supported</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters</dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>queue_id</strong> – Job identifier.</p></li>
<li><p><strong>qname</strong> – Name of the queue (optional).</p></li>
</ul>
</dd>
</dl>
<dl class="attribute">
<dt id="pymatgen.io.abinit.qjobs.TorqueJob.QTYPE">
<code class="sig-name descname">QTYPE</code><em class="property"> = 'torque'</em><a class="headerlink" href="#pymatgen.io.abinit.qjobs.TorqueJob.QTYPE" title="Permalink to this definition">¶</a></dt>
<dd></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.qjobs.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3 id="searchlabel">Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="search.html" method="get">
<input type="text" name="q" aria-labelledby="searchlabel" />
<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.9.16 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.2.0.
</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>