Skip to content

Commit 9a49be2

Browse files
committed
feat: add JOB_REQUEUE_CRON, NODE_STATE_DYNAMIC, NODE_STATE_REBOOT_ISSUED
1 parent d54e8df commit 9a49be2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyslurm/slurm.pxd

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ cdef extern from "slurm/slurm.h":
300300
enum:
301301
SLURM_VERSION_NUMBER
302302

303-
304-
305303
uint8_t SYSTEM_DIMENSIONS
306304
uint8_t HIGHEST_DIMENSIONS
307305

@@ -344,6 +342,7 @@ cdef extern from "slurm/slurm.h":
344342
uint32_t JOB_RESV_DEL_HOLD
345343
uint32_t JOB_SIGNALING
346344
uint32_t JOB_STAGE_OUT
345+
uint32_t JOB_REQUEUE_CRON
347346

348347
uint8_t READY_JOB_ERROR
349348
uint8_t READY_JOB_FATAL
@@ -429,6 +428,8 @@ cdef extern from "slurm/slurm.h":
429428
uint32_t NODE_STATE_REBOOT
430429
uint32_t NODE_STATE_CANCEL_REBOOT
431430
uint32_t NODE_STATE_POWERING_DOWN
431+
uint32_t NODE_STATE_DYNAMIC
432+
uint32_t NODE_STATE_REBOOT_ISSUED
432433

433434
uint8_t SHOW_ALL
434435
uint8_t SHOW_DETAIL
@@ -512,7 +513,6 @@ cdef extern from "slurm/slurm.h":
512513
uint32_t JOB_WAS_RUNNING
513514
uint32_t RESET_ACCRUE_TIME
514515

515-
516516
uint32_t JOB_MEM_SET
517517
uint32_t JOB_RESIZED
518518
uint32_t USE_DEFAULT_ACCT
@@ -4238,7 +4238,6 @@ cdef extern from "slurm/slurmdb.h":
42384238
List slurmdb_wckeys_remove(void* db_conn, slurmdb_wckey_cond_t* wckey_cond)
42394239

42404240

4241-
42424241
#
42434242
# PySlurm helper functions
42444243
#

0 commit comments

Comments
 (0)