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.