a job_desc_msg_t structure? Thanks,
John
-Original Message-
From: slurm-users on behalf of Marcus Wagner
Reply-To: Slurm User Community List
Date: Tuesday, March 24, 2020 at 9:49 AM
To: "slurm-users@lists.schedmd.com"
Subject: Re: [slurm-users] Slurm Perl API use an
Reply-To: Slurm User Community List
Date: Tuesday, March 24, 2020 at 9:49 AM
To: "slurm-users@lists.schedmd.com"
Subject: Re: [slurm-users] Slurm Perl API use and examples
[WARNING: External Email - Use Caution]
In fact, we ARE using the perl API, but there are
output, that
may be mixed between stdout and stderr, to understand exactly what happened.
John
From: slurm-users on behalf of Yair
Yarom
Reply-To: Slurm User Community List
Date: Tuesday, March 24, 2020 at 6:05 AM
To: Slurm User Community List
Subject: Re: [slurm-users] Slurm Perl API use and
In fact, we ARE using the perl API, but there are some flaws.
E.g. the array_task_str of the jobinfo structure. Slurm abbreviates long
list of array indices, like scontrol does:
e.g.
1-3,5-8,45-...
yes, you can really find there three dots. In my opinion, this is ok for
a general tool like s
I also haven't got along with the Perl API shipped with slurm. I got it to
work, but there were things missing.
Currently I have some wrapper functions for most of slurm commands, and a
general parsing function to slurm's common outputs (of scontrol, sacctmgr,
etc.).
Not in CPAN, but you can see it
I was never able to figure out how to use the Perl API shipped with Slurm,
but instead have written some wrappers around some of the Slurm commands
for Perl. My wrappers for the sacctmgr and share commands are available at
CPAN:
https://metacpan.org/release/Slurm-Sacctmgr
https://metacpan.org/rele