Ticket 8328 - --ntasks-per-node incorrectly displayed in verbose
Summary: --ntasks-per-node incorrectly displayed in verbose
Status: RESOLVED FIXED
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 19.05.5
Hardware: Linux Linux
: 4 - Minor Issue
Assignee: Marcin Stolarek
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2020-01-13 11:13 MST by Nate Rini
Modified: 2020-05-06 03:53 MDT (History)
1 user (show)

See Also:
Site: Jülich
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: 20.11.0pre1
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 Nate Rini 2020-01-13 11:13:06 MST
> $ srun -vvv -N 1 -n2 --ntasks-per-node=4 hostname
> srun: defined options
> srun: -------------------- --------------------
> srun: nodes               : 1
> srun: ntasks              : 2
> srun: ntasks-per-node     : -2
> srun: verbose             : 3
> srun: -------------------- --------------------
>

'--ntasks-per-node=4' -> 'ntasks-per-node: -2'
Comment 9 Marcin Stolarek 2020-05-06 03:53:40 MDT
The behavior is now changed[1], when ntasks-per-node is reset it's not displayed in -v :

# srun -v -N1 -n2 --ntasks-per-node=4 hostname  |& head 
srun: defined options
srun: -------------------- --------------------
srun: nodes               : 1
srun: ntasks              : 2
srun: verbose             : 1
srun: -------------------- --------------------

cheers,
Marcin
[1]https://github.com/SchedMD/slurm/commit/90ab9444d862501cd6a79d24315e6d68a23acae4