Ticket 1958 - scontrol show job does not capture number of tasks user requested (exclusive)
Summary: scontrol show job does not capture number of tasks user requested (exclusive)
Status: RESOLVED DUPLICATE of ticket 1957
Alias: None
Product: Slurm
Classification: Unclassified
Component: slurmd (show other tickets)
Version: 14.11.8
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: David Bigagli
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2015-09-17 08:23 MDT by Rodney Mach
Modified: 2015-09-17 09:02 MDT (History)
3 users (show)

See Also:
Site: TotalCAE
Slinky Site: ---
Alineos Sites: ---
Atos/Eviden Sites: ---
Confidential Site: ---
Coreweave sites: ---
Cray Sites: ---
DS9 clusters: ---
Google sites: ---
HPCnow Sites: ---
HPE Sites: ---
IBM Sites: ---
NOAA SIte: ---
NoveTech Sites: ---
Nvidia HWinf-CS Sites: ---
OCF Sites: ---
Recursion Pharma Sites: ---
SFW Sites: ---
SNIC sites: ---
Tzag Elita Sites: ---
Linux Distro: ---
Machine Name:
CLE Version:
Version Fixed:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Rodney Mach 2015-09-17 08:23:46 MDT
Hi,

Conference was good!

I need to capture with control show jobs the actual number of tasks the user requested. If exclusive is not set, it shows the number of tasks the user requested in NCPUS.

Right now if exclusive is set, it shows the max cores on the node assigned.


I want it obtain the number of tasks the user requested, as that information is lost when they select exclusive it seems.


So a batch job with 
#SBATCH --ntasks=16

shows with scontrol show job

           NumCPUS=<16>

but a job with

        #SBATCH --ntasks=16
        #SBATCH --exclusive

NumCPUS=<maximum number of CPUS on node>

I presume the idea is you want to show the resources assigned to the user with scontrol show job, but I have a need to see what NTASKS was requested in scontrol show job.

I didn't see this info either with -d, attached is what I see

Is there a way to get NTASKS requested in scontrol show job?

Thanks,

-Rod
Comment 1 Nathan Yee 2015-09-17 09:02:28 MDT
looks like bug was submitted twice

*** This ticket has been marked as a duplicate of ticket 1957 ***