check the Slurm job efficiency report after job finished, you can using:
seff <job_id>

seff 59947
Job ID: 59947
Cluster: scc
User/Group: awang/admins
State: COMPLETED (exit code 0)
Cores: 1
CPU Utilized: 00:00:00
CPU Efficiency: 0.00% of 00:00:04 core-walltime
Job Wall-clock time: 00:00:04
Memory Utilized: 0.00 MB (estimated maximum)
Memory Efficiency: 0.00% of 4.00 GB (4.00 GB/node)

If the CPU Efficiency is much lower than Cores number plus 100, your code may not be benefit from multicores

If you are curious about more details of your job, you can look that information with sacct. For example
  • sacct -S `date --date "last month" +%Y-%m-%d` -o "Submit,JobID,JobName,Partition,NCPUS,State,ExitCode,Elapsed,CPUTime,MaxRSS" This will pull some basic stats for all the jobs you ran in the past month.
  • sacct -l -j <job_id> will dump all the information it has about a particular job
  • sacct -l -P -j <job_id> | awk -F\| 'FNR==1 { for (i=1; i<=NF; i++) header[i] = $i; next } { for (i=1; i<=NF; i++) print header[i] ": " $i; print "-----"}' same as above but expands columns to rows

For other available options, see the sacct documentation.