slurm: add separate function to extract slurm job PPN and convinence
function to calculate np for slurm when nnodes is needed