Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
doku:monitoring [2022/06/23 13:17]
msiegel [CPU Load]
doku:monitoring [2022/06/23 13:22]
msiegel
Line 9: Line 9:
 ==== Live ==== ==== Live ====
  
-So we assume your program runs, but could it be faster? SLURM gives you+So we assume your program runs, but could it be faster? [[doku:SLURM]] gives you
 a ''Job ID'', type ''squeue --job myjobid'' to find out on which node your a ''Job ID'', type ''squeue --job myjobid'' to find out on which node your
 job runs; say n372-007. Type ''ssh n372-007'', to connect to the given job runs; say n372-007. Type ''ssh n372-007'', to connect to the given
Line 63: Line 63:
 application. application.
  
-In the following screenshot we can see stats for all 32 threads of a compute node running ''VASP'':+In the following screenshot we can see stats for all 32 threads of a compute node running [[doku:VASP]]:
  
 {{ :doku:top_vasp_2.png }} {{ :doku:top_vasp_2.png }}
Line 82: Line 82:
 === mpi.h === === mpi.h ===
  
-<code C>+<code cpp>
 #include "mpi.h" #include "mpi.h"
 ...  MPI_Get_processor_name(processor_name, &namelen); ...  MPI_Get_processor_name(processor_name, &namelen);
Line 89: Line 89:
 === sched.h (scheduling parameters) === === sched.h (scheduling parameters) ===
  
-<code C>+<code c++>
 #include <sched.h> #include <sched.h>
 ...  CPU_ID = sched_getcpu(); ...  CPU_ID = sched_getcpu();
Line 96: Line 96:
 === hwloc.h (Hardware locality) === === hwloc.h (Hardware locality) ===
  
-<code C>+<code cpp>
 #include <hwloc.h> #include <hwloc.h>
 ... ...
  • doku/monitoring.txt
  • Last modified: 2023/03/14 12:56
  • by goldenberg