编译和安装

操作步骤

  1. 执行以下命令解压源码。

    cd /path/to/tau
    tar xf tau-2.32.tar.gz
    cd tau-2.32

  2. 执行以下命令生成makefile。

    ./configure -prefix=/path/to/tau -mpi -bfd=/usr -unwind=/usr -zlib=/usr

  3. 执行以下命令编译安装。

    make -j
    make install

  4. 执行以下命令设置环境变量。

    export PATH=/path/to/tau/arm64_linux/bin:$PATH
    export TAU_MAKEFILE=/path/to/tau/arm64_linux/lib/Makefile.tau-mpi