Miscellaneous

Index

API

LIKWID.setverbosityFunction

Set the verbosity level of the LIKWID library. Returns true on success.

Options are:

  • LIKWID.LibLikwid.DEBUGLEV_ONLY_ERROR or 0

  • LIKWID.LibLikwid.DEBUGLEV_INFO or 1

  • LIKWID.LibLikwid.DEBUGLEV_DETAIL or 2

  • LIKWID.LibLikwid.DEBUGLEV_DEVELOP or 3

source
LIKWID.gpusupportFunction

Returns whether LIKWID has been compiled with GPU support (i.e. has been compiled with NVIDIA_INTERFACE=true).

source
LIKWID.pinmaskFunction
pinmask(N::Integer) -> mask

Generates a mask that can be supplied to likwid pin -s <mask> to pin N Julia threads.

Taken from https://discourse.julialang.org/t/thread-affinitization-pinning-julia-threads-to-cores/58069/8.

source
LIKWID.accessmodeFunction

Query the access mode used by LIKWID, i.e. either ACCESSMODE_PERF, ACCESSMODE_DAEMON, or ACCESSMODE_DIRECT.

source
LIKWID.LIKWID_FORCEFunction

Enables the overwriting of counters that are detected to be in-use. The environment variable is similar to the -f/--force command line switch for likwid-perfctr.

source
LIKWID.LIKWID_NO_ACCESSFunction

The execution does not require the access layer (access to hardware counters). For example, this variable is set by likwid-topology or likwid-pin.

source
LIKWID.LIKWID_PINFunction

The comma-separated list contains the CPUs the application threads should be pinned to. Careful, the first CPU in the cpuset must be the last entry because the application is pinned to this CPU per default.

source
LIKWID.LIKWID_SILENTFunction

Disable stdout output caused by the library and the scripts. Some scripts provide the -q/--quiet command line switch which provides the same functionality.

source
LIKWID.LIKWID_SKIPFunction

Variable content must be a hexmask. This hexmask describes which threads should be skipped while pinning. This function is required to avoid pinning the shepherd threads used by some OpenMP and MPI implementations. The version 4.3.1 introduced an automatic detection of the shepherd threads. In most cases the detection works, but if not, the hexmask overwrites the automatic detection.

source
LIKWID.LIKWID_IGNORE_CPUSETFunction

LIKWID respects the CPUset of the calling process. If you want to measure/run outside of this CPUset, use this environment variable. It will not ignore the CPUset but create a new CPUset internally which contains sysconf(_SC_NPROCESSORS_CONF) hardware threads.

source
LIKWID.LIKWID_EVENTSFunction

Event string or performance group name. Multiple event strings or performance group names can be separated by |.

source