It looks as if there is no way currently to update the cpus_per_task of
a pending job.  I'm trying to do it using the perl bindings with
something similar to the code snippet below, but it looks as though
scontrol doesn't do it either.  Can I make a feature request to allow
cpus_per_task to be updatable?


#!/usr/bin/perl
use Slurm;
my $slurm = Slurm::new();

...

my $update_desc_msg = {
                    'job_id' => $jobid,
                    'cpus_per_task' => 4,
                   };
my $resp = $slurm->update_job($update_desc_msg);


-JE


Reply via email to