The ScorepUtilities module allows to automatically detect arguments and components required for Score-P instrumentation.
Since generator expressions are only evaluated during build system generation the autodetection ignores dependencies containing them.
The following paragraphs list all automatically detected arguments and the conditions which trigger them.
Since generator expressions can not be evaluated dependencies specified by them are ignored!
- linking against
OpenMP::OpenMP_<lang>withOpenMP_<lang>_FOUNDdefined
- linking against
Kokkos::kokkoswithKokkos_ENABLE_OPENMPdefined
- linking against
Threads::ThreadswithCMAKE_USE_PTHREADS_INITdefined
- linking against
MPI::MPI_<lang>withMPI_<lang>_FOUNDdefined
UNIXis set toTrue
-
the instrumented language is
CUDA -
linking against
Kokkos::kokkoswithKokkos_ENABLE_CUDAdefined
-
the instrumented language is
HIP -
linking against
Kokkos::kokkoswithKokkos_ENABLE_HIPdefined
- linking against
OpenCL::OpenCLwithOpenCL_FOUNDdefined
- linking against
OpenACC::OpenACC_<lang>withOpenACC_<lang>_FOUNDdefined
- linking against
Kokkos::kokkoswithKokkos_FOUNDdefined
The following paragraphs list all automatically detected components for the find module and the Score-P arguments or CMake variables which trigger them.
Some arguments are regular expressions to signify that multiple arguments are matched.
- inferred from
CMAKE_<LANG>_COMPILER
- inferred from
MPI_<LANG>_COMPILER
--thread=omp:opari2
--thread=omp:ompt
-
--thread=omp(:.+)? -
--openmp
--thread=pthread
--mpp=mpi
--mpp=shmem
--io=posix
--compiler
--cuda
--pdt
--opencl
--openacc
--memory
--kokkos
--hip