... | ... | @@ -167,3 +167,6 @@ If you want to compile LIKWID as static library, you have to set `SHARED_LIBRARY |
|
|
# LIKWID with NVIDIA GPU support
|
|
|
In order to build LIKWID with support for NVIDIA GPUs, you have to change `NVIDIA_INTERFACE` in `config.mk`to `true`. The Makefile uses the environment variable `CUDA_HOME` to determine the paths for the compilations but if needed, you can adjust the paths manually in `CUDAINCLUDE` and `CUPTIINCLUDE`. In case of problems, rebuild (`make distclean && make`) with `BUILDAPPDAEMON` set to `true`.
|
|
|
At runtime, LIKWID uses `dlopen`to load the required functions, so the library paths to CUDA and CUPTI should be in `LD_LIBRARY_PATH`.
|
|
|
|
|
|
# LIKWID build fails with Perl errors in `likwid-bench`
|
|
|
`likwid-bench` uses the Perl Template Toolkit to generate the assembly files that are compiled into. This Perl module is outdated and might cause problems. We have seen errors like `Can't call method "process" on an undefined value at ./perl/generatePas.pl line 202`. The workaround is to delete the included version `rm -r bench/perl/Template*` and install it with the distribution's package manager. For Fedora the package is called `perl-Template-Toolkit`. |