Skip to content

slurm_job_batch_script can't return string #250

@Autumn-Roy

Description

@Autumn-Roy

Details

  • Slurm Version:
  • 21.08.4
  • Python Version:
  • Python 3.6.8
  • Cython Version:
  • Cython (0.29.30)
  • PySlurm Branch:
  • pyslurm (21.8.4.0)
  • Linux Distribution:
  • Linux version 3.10.0-1062.el7.x86_64

Issue

When I try to get the batch_script by job().slurm_job_batch_script(jobid), it only returns 0 or -1, and print the scripts one the screen. But in the doc, a str will return here.
image
So, any problem on my usage? Or, can I get the script by other way?
image

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