Enable MPI tracing for Fortran (#185)

- Move the MPI gotcha functionality from Timemory to the repo.
- Add the PMPI Fortran MPI functions to the existing mpi gotcha handle.
This commit is contained in:
Sajina PK authored and GitHub committed 2025-06-04 18:06:18 -04:00
1 parent b98c3c8b86
commit 4fcd8cc78d
13 files changed
+1576 -55

No files matched your search

+2 -2
View File
@@ -159,9 +159,9 @@ as_hex<void*>(void*, size_t);
#endif
#if !defined(ROCPROFSYS_DEBUG_PROCESS_IDENTIFIER)
# if defined(TIMEMORY_USE_MPI)
# if defined(ROCPROFSYS_USE_MPI)
# define ROCPROFSYS_DEBUG_PROCESS_IDENTIFIER static_cast<int>(::tim::dmp::rank())
# elif defined(TIMEMORY_USE_MPI_HEADERS)
# elif defined(ROCPROFSYS_USE_MPI_HEADERS)
# define ROCPROFSYS_DEBUG_PROCESS_IDENTIFIER \
(::tim::dmp::is_initialized()) ? static_cast<int>(::tim::dmp::rank()) \
: static_cast<int>(::tim::process::get_id())