Ticket 8023 - Expose node-count as a % filename pattern
Summary: Expose node-count as a % filename pattern
Status: RESOLVED INVALID
Alias: None
Product: Slurm
Classification: Unclassified
Component: Accounting (show other tickets)
Version: 20.02.x
Hardware: Linux Linux
: 6 - No support contract
Assignee: Jacob Jenson
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2019-10-30 06:51 MDT by Carl Ponder
Modified: 2019-10-30 06:51 MDT (History)
0 users

See Also:
Site: -Other-
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 Carl Ponder 2019-10-30 06:51:51 MDT
I'm running a scaling study, with a sequence of jobs that vary by node count.
I'd like to be able to include the node counts in the names of the log files that I generate, i.e.

     #SBATCH -o %j.log.medium.%N_nodes

would generate log files with names like

     8635.log.4_nodes
     8359.log.8_nodes

etc. While you could argue that studies like this could vary any parameter, and how could you expose them all (?), but the node-count is controlled on the "sbatch" command-line (or batch control-file header) and should be available at the job startup just like the %j Job ID.