Miscellaneous
Index
LIKWID.LIKWID_DEBUG
LIKWID.LIKWID_EVENTS
LIKWID.LIKWID_FILEPATH
LIKWID.LIKWID_FORCE
LIKWID.LIKWID_IGNORE_CPUSET
LIKWID.LIKWID_MODE
LIKWID.LIKWID_MPI_CONNECT
LIKWID.LIKWID_NO_ACCESS
LIKWID.LIKWID_PIN
LIKWID.LIKWID_SILENT
LIKWID.LIKWID_SKIP
LIKWID.LIKWID_THREADS
LIKWID.accessmode
LIKWID.clearenv
LIKWID.env
LIKWID.gpusupport
LIKWID.pinmask
LIKWID.setverbosity
API
LIKWID.setverbosity
— FunctionSet the verbosity level of the LIKWID library. Returns true
on success.
Options are:
LIKWID.LibLikwid.DEBUGLEV_ONLY_ERROR
or0
LIKWID.LibLikwid.DEBUGLEV_INFO
or1
LIKWID.LibLikwid.DEBUGLEV_DETAIL
or2
LIKWID.LibLikwid.DEBUGLEV_DEVELOP
or3
LIKWID.gpusupport
— FunctionReturns whether LIKWID has been compiled with GPU support (i.e. has been compiled with NVIDIA_INTERFACE=true
).
LIKWID.pinmask
— Functionpinmask(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.
LIKWID.accessmode
— FunctionQuery the access mode used by LIKWID, i.e. either ACCESSMODE_PERF
, ACCESSMODE_DAEMON
, or ACCESSMODE_DIRECT
.
LIKWID.env
— FunctionList the values of LIKWID_*
environment variables.
LIKWID.clearenv
— FunctionUnset all LIKWID_*
environment variables (for the current session).
LIKWID.LIKWID_FORCE
— FunctionEnables 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
.
LIKWID.LIKWID_NO_ACCESS
— FunctionThe execution does not require the access layer (access to hardware counters). For example, this variable is set by likwid-topology
or likwid-pin
.
LIKWID.LIKWID_PIN
— FunctionThe 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.
LIKWID.LIKWID_SILENT
— FunctionDisable stdout output caused by the library and the scripts. Some scripts provide the -q
/--quiet
command line switch which provides the same functionality.
LIKWID.LIKWID_SKIP
— FunctionVariable 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.
LIKWID.LIKWID_DEBUG
— FunctionVerbosity settings for the LIKWID library.
LIKWID.LIKWID_IGNORE_CPUSET
— FunctionLIKWID 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.
LIKWID.LIKWID_FILEPATH
— FunctionFilepath for the result file of the MarkerAPI.
LIKWID.LIKWID_MODE
— FunctionAccess mode for MarkerAPI. 1
is the code for the access daemon.
LIKWID.LIKWID_EVENTS
— FunctionEvent string or performance group name. Multiple event strings or performance group names can be separated by |
.
LIKWID.LIKWID_THREADS
— FunctionThe CPUs LIKWID is configured to run on (comma-separated list).
LIKWID.LIKWID_MPI_CONNECT
— FunctionConnection method for Intel MPI. Default is ssh
, see option -r
of mpdboot
or similar.