Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doku:monitoring [2022/06/23 13:17] – [CPU Load] msiegel | doku:monitoring [2024/07/18 14:25] (current) – [Live] grokyta | ||
---|---|---|---|
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? |
a '' | a '' | ||
- | job runs; say n372-007. Type '' | + | job runs; say n4905-007. Type '' |
node. Type '' | node. Type '' | ||
<code sh> | <code sh> | ||
- | [myuser@l32]$ sbatch job.sh | + | [myuser@l42]$ sbatch job.sh |
- | [myuser@l32]$ squeue -u myuser | + | [myuser@l42]$ squeue -u myuser |
JOBID PARTITION | JOBID PARTITION | ||
- | 1098917 | + | 1098917 |
- | [myuser@l32]$ ssh n372-007 | + | [myuser@l42]$ ssh n4905-007 |
- | [myuser@n372-007]$ top | + | [myuser@n4905-007]$ top |
</ | </ | ||
Line 82: | Line 82: | ||
=== mpi.h === | === mpi.h === | ||
- | < | + | < |
#include " | #include " | ||
... MPI_Get_processor_name(processor_name, | ... MPI_Get_processor_name(processor_name, | ||
Line 89: | Line 89: | ||
=== sched.h (scheduling parameters) === | === sched.h (scheduling parameters) === | ||
- | < | + | < |
#include < | #include < | ||
... CPU_ID = sched_getcpu(); | ... CPU_ID = sched_getcpu(); | ||
Line 96: | Line 96: | ||
=== hwloc.h (Hardware locality) === | === hwloc.h (Hardware locality) === | ||
- | < | + | < |
#include < | #include < | ||
... | ... |