Pyslurm Versions Save

Python Interface to Slurm

v23.11.0

3 months ago

Added

  • Support for Slurm 23.11.x
  • Add truncate_time option to pyslurm.db.JobFilter, which is the same as -T / --truncate from sacct.
  • Add new attributes to pyslurm.db.Jobs that help gathering statistics for a collection of Jobs more convenient.
  • Add new attribute gres_tasks_per_sharing to pyslurm.Job and pyslurm.JobSubmitDescription

Fixed

  • Fix allocated_gres attribute in the pyslurm.Node Class returning nothing.
  • Add new idle_memory and allocated_tres attributes to pyslurm.Node class
  • Fix Node State being displayed as ALLOCATED when it should actually be MIXED.
  • Fix crash for the gres_per_node attribute of the pyslurm.Job class when the GRES String received from Slurm contains no count.

Removed

  • route_plugin, job_credential_private_key and job_credential_public_certificate keys are removed from the output of pyslurm.config().get()
  • Some deprecated and unused Slurm constants

v21.8.1

9 months ago

Check here for the full Changelog

v22.5.3

9 months ago

Check here for the full Changelog

v23.2.2

10 months ago

Check here for the full Changelog

v22.5.2

11 months ago

See here for the full Changelog.

v23.2.1

1 year ago

Check here for the full Changelog

v23.2.0

1 year ago

Changes

  • Support for Slurm 23.02.X
  • Remove Elasticsearch from get_debug_flags, as it does not exist anymore.
  • Remove launch_type, launch_params and slurmctld_plugstack from the config.get() output, as they do not exist anymore
  • Remove some constants (mostly ESLURM_* constants that do not exist anymore)

v22.5.1

1 year ago

Changes

  • Add wait_finished method to jobs class, which blocks until a specified job is finished (#242 by @JonaOtto)
  • fix some typos (#243 by @schluenz)
  • fix not being able to create RPMs with bdist_rpm (#248)
  • fix formatting erros, add end_time to slurm_update_reservation and raise a proper ValueError when updating the reservation fails (#257, #256, #255 by @pllopis)
  • actually retrieve and return the batch script as a string, instead of just printing it (#258)
  • bring possible RPC strings in sync with slurm 22.05 when getting Slurm statistics via the statistics class (#261 by @wresch)

v22.5.0

1 year ago

Changes

  • Support for Slurm 22.05.X (#238)
  • Now actually link to libslurm.so instead of libslurmfull.so (#238)
  • Add a pyproject.toml to ease installation (#239)
  • Allow specifying Slurm lib-dir and include-dir via environment variables on install (#239):
    • SLURM_INCLUDE_DIR
    • SLURM_LIB_DIR
  • Removes the stats key from the job-allocation dictionary itself when doing slurmdb_jobs.get(). Support for it was removed upstream here. (stats for job-steps are still accessible though)

Check out this and this commit description for all changes.

v21.08.4

2 years ago