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>_FOUND
defined
- linking against
Kokkos::kokkos
withKokkos_ENABLE_OPENMP
defined
- linking against
Threads::Threads
withCMAKE_USE_PTHREADS_INIT
defined
- linking against
MPI::MPI_<lang>
withMPI_<lang>_FOUND
defined
UNIX
is set toTrue
-
the instrumented language is
CUDA
-
linking against
Kokkos::kokkos
withKokkos_ENABLE_CUDA
defined
-
the instrumented language is
HIP
-
linking against
Kokkos::kokkos
withKokkos_ENABLE_HIP
defined
- linking against
OpenCL::OpenCL
withOpenCL_FOUND
defined
- linking against
OpenACC::OpenACC_<lang>
withOpenACC_<lang>_FOUND
defined
- linking against
Kokkos::kokkos
withKokkos_FOUND
defined
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