From 028bc4dd55ef3cd4e9a441d19c102f31a1d88e47 Mon Sep 17 00:00:00 2001 From: Natalie Breidenbach <natalie.breidenbach@tu-dresden.de> Date: Tue, 28 Nov 2023 13:38:24 +0100 Subject: [PATCH] Update papi.md --- doc.zih.tu-dresden.de/docs/software/papi.md | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/doc.zih.tu-dresden.de/docs/software/papi.md b/doc.zih.tu-dresden.de/docs/software/papi.md index c5f0e7cfa..6dab577f2 100644 --- a/doc.zih.tu-dresden.de/docs/software/papi.md +++ b/doc.zih.tu-dresden.de/docs/software/papi.md @@ -78,10 +78,10 @@ measurements, especially for MPI applications via environment variable `PAPI_OUT ```bash export PAPI_EVENTS="PAPI_TOT_INS,PAPI_TOT_CYC" - export PAPI_OUTPUT_DIRECTORY="/scratch/measurement" + export PAPI_OUTPUT_DIRECTORY="/data/horse/measurement" ``` -This will generate a directory called `papi_hl_output` in `scratch/measurement` that contains one or +This will generate a directory called `papi_hl_output` in `/data/horse/measurement` that contains one or more output files in JSON format. ### Low-Level API @@ -104,15 +104,15 @@ multiple events, please check which events can be measured concurrently using th The PAPI tools must be run on the compute node, using an interactive shell or job. -!!! example "Example: Determine the events on the partition `romeo` from a login node" +!!! example "Example: Determine the events on the cluster `romeo` from a login node" Let us assume, that you are in project `p_number_crunch`. Then, use the following commands: ```console - marie@login$ module load PAPI - marie@login$ salloc --account=p_number_crunch --partition=romeo + marie@login.romeo$ module load PAPI + marie@login.romeo$ salloc --account=p_number_crunch [...] - marie@compute$ srun papi_avail - marie@compute$ srun papi_native_avail + marie@romeo$ srun papi_avail + marie@romeo$ srun papi_native_avail [...] # Exit with Ctrl+D ``` @@ -124,10 +124,10 @@ compile your application against the PAPI library. Assuming that you are in project `p_number_crunch`, use the following commands: ```console - marie@login$ module load PAPI - marie@login$ gcc app.c -o app -lpapi - marie@login$ salloc --account=p_number_crunch --partition=romeo - marie@compute$ srun ./app + marie@login.romeo$ module load PAPI + marie@login.romeo$ gcc app.c -o app -lpapi + marie@login.romeo$ salloc --account=p_number_crunch + marie@romeo$ srun ./app [...] # Exit with Ctrl+D ``` -- GitLab