How to use extrae

Software
Version
Cluster
extrae
4.0.4-cpeGNU
Dardel

Extrae module

You can see which versions of Extrae are installed using

ml add PDC/22.06
ml av extrae

Using Extrae

Here’s an axample script to use Extrae on Dardel

#!/bin/bash -l # The -l above is required to get the full environment with modules

# Set the allocation to be charged for this job #SBATCH -A <201X-X-XX>

# The name of the script is myjob #SBATCH -J myjob

# 10 hours wall-clock time will be given to this job #SBATCH -t 10:00:00

# Number of nodes #SBATCH –nodes=1 # Number of MPI processes per node #SBATCH –ntasks-per-node=128

# Load Extrae ml add PDC/22.06 ml add extrae/4.0.4-cpeGNU

# Load the Extrae library to intercept application events # For C applications export LD_PRELOAD=${EXTRAE_HOME}/lib/libmpitrace.so

# For Fortran applications # export LD_PRELOAD=${EXTRAE_HOME}/lib/libmpitracef.so

# Set the Extrae configure file (example) export EXTRAE_CONFIG_FILE=${EXTRAE_HOME}/share/example/MPI/extrae.xml

# Run the application srun ./myapp.x

Disclaimer

PDC takes no responsibility for the correctness of results produced with the binaries. Always evaluate the binaries against known results for the systems and properties you are investigating before using the binaries for production jobs.