Skip to content

error: ‘KILL_JOB_ARRAY’ undeclared #324

Closed
@btravouillon

Description

@btravouillon

Details

  • Slurm Version: 23.02.6
  • Python Version: 3.7.3
  • Cython Version: 0.29.14
  • PySlurm Branch: v23.2.2
  • Linux Distribution: Debian 10 buster

Issue

The installation fails with:

      pyslurm/pyslurm.c:90547:40: error: ‘KILL_JOB_ARRAY’ undeclared (first use in this function); did you mean ‘KILL_JOB_RESV’?
         __pyx_t_2 = __Pyx_PyInt_From_uint8_t(KILL_JOB_ARRAY); if (unlikely(!__pyx_t_2)) __PYX_ERR(7, 412, __pyx_L1_error)
                                              ^~~~~~~~~~~~~~
                                              KILL_JOB_RESV
      pyslurm/pyslurm.c:90547:40: note: each undeclared identifier is reported only once for each function it appears in
      error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

This is related to this change in Slurm: Rename KILL_JOB_ARRAY to KILL_ARRAY_TASK

The build completes with this patch: main...btravouillon:pyslurm:fix/KILL_JOB_ARRAY_not_found

I can open a PR if requested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions