Skip to content

[Issue]: Omnitrace not instrumenting MPI calls (Fortran) #426

@xaguilar

Description

@xaguilar

Problem Description

Hi,

I have a Fortran code that I'm trying to analyse. I instrument the code with:

omnitrace-instrument --mpi -o program.inst -- program.x

but omnitrace does not intrument the MPI calls. The binary contains MPI symbols, just checking with nm:

             U mpi_aint_diff_f08_
             U mpi_allreduce_
             U MPI_Allreduce
             U mpi_allreduce_f08ts_
             U mpi_barrier_f08_
             U mpi_bcast_f08ts_
             U mpi_comm_dup_f08_
             U mpi_comm_free_f08_
             U mpi_comm_rank_f08_
             U mpi_comm_size_f08_
             U mpi_exscan_f08ts_
             U mpi_file_close_f08_
             U mpi_file_open_f08_
             U mpi_file_read_all_f08ts_
             U mpi_file_read_at_all_f08ts_
             U mpi_file_sync_
             U mpi_file_sync_f08_
             U mpi_file_write_all_f08ts_
             U mpi_file_write_at_all_f08ts_
             U mpi_file_write_at_f08ts_
             U mpi_finalize_f08_
             U mpi_gather_f08ts_
             U mpi_gatherv_f08ts_
             U mpi_get_address_f08ts_
             U mpi_get_count_f08_
             U mpi_iallreduce_f08ts_
             U mpi_init_f08_
             U mpi_initialized_f08_
             U mpi_init_thread_f08_
             U MPI_Irecv
             U mpi_irecv_f08ts_
             U MPI_Isend
             U mpi_isend_f08ts_
             U mpi_reduce_
             U mpi_reduce_f08ts_

I compiled omnitrace from scratch with support for MPI. If I for example instrument one of the OSU MPI benchmarks, it works and intercepts the MPI calls, but not with this fortran code. Any ideas why this can be happening?

Thanks a lot in advance.

Cheers,
Xavier

Operating System

SLES 15-SP5

CPU

AMD EPYC 7A53 64-Core Processor

GPU

AMD Instinct MI250X

ROCm Version

ROCm 6.0.0

ROCm Component

No response

Steps to Reproduce

No response

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions