【问题标题】:How to use Intel Pin on MPI code如何在 MPI 代码上使用 Intel Pin
【发布时间】:2014-05-24 16:08:10
【问题描述】:

我对 MPI 和 Intel Pin 很陌生。我已经在我的 linux 环境中安装了 pin-2.13-62732-gcc.4.4.7-linux,我不需要在 MPI 代码上使用这个工具。例如,我想获取 MPI 代码(如 imul.c)的指令数(如 pin 中已存在的 inscount0)。你能告诉我我能做什么吗?

【问题讨论】:

    标签: mpi instrumentation intel-pin


    【解决方案1】:

    我发现最不痛苦的方法是使用 tau_pin。 https://www.cs.uoregon.edu/research/tau/docs/old/re39.html

    【讨论】:

      【解决方案2】:

      您可以通过以下方式开始分析您的 MPI 应用程序:

      mpirun –np $NPROCS pin -t $PIN_TOOL -- $APP
      

      与 Valgrind 的情况相同:Using valgrind to spot error in mpi code

      【讨论】:

        猜你喜欢
        • 2019-08-25
        • 2013-03-06
        • 2020-01-21
        • 2016-03-30
        • 2013-10-06
        • 2018-08-08
        • 2018-06-12
        • 2019-11-11
        • 2020-01-04
        相关资源
        最近更新 更多