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.
[ROCm/rocprofiler-systems commit: 4fcd8cc78d]
Este commit está contenido en:
+4
-2
@@ -1711,8 +1711,10 @@ main(int argc, char** argv)
|
||||
{ "rocprofsys_user_stop_thread_trace" });
|
||||
#if ROCPROFSYS_USE_MPI > 0 || ROCPROFSYS_USE_MPI_HEADERS > 0
|
||||
// if any of the below MPI functions are found, enable MPI support
|
||||
for(const auto* itr : { "MPI_Init", "MPI_Init_thread", "MPI_Finalize",
|
||||
"MPI_Comm_rank", "MPI_Comm_size" })
|
||||
for(const auto* itr :
|
||||
{ "MPI_Init", "MPI_Init_thread", "MPI_Finalize", "MPI_Comm_rank", "MPI_Comm_size",
|
||||
"MPI_INIT", "mpi_init", "mpi_init_", "mpi_init__", "MPI_INIT_THREAD",
|
||||
"mpi_init_thread", "mpi_init_thread_", "mpi_init_thread__" })
|
||||
{
|
||||
if(find_function(app_image, itr) != nullptr)
|
||||
{
|
||||
|
||||
Referencia en una nueva incidencia
Block a user