Installing ROCTracer#
This topic provides information on installing ROCTracer.
Prerequisites#
ROCm software installed
Install packages as per your system:
apt install python3 python3-pip gcc g++ libatomic1 make \
cmake doxygen graphviz texlive-full
yum install -y python3 python3-pip gcc gcc-g++ make \
cmake libatomic doxygen graphviz texlive \
texlive-xtab texlive-multirow texlive-sectsty \
texlive-tocloft texlive-tabu texlive-adjustbox
zypper in python3 python3-pip gcc gcc-g++ make \
cmake libatomic doxygen graphviz \
texlive-scheme-medium texlive-hanging texlive-stackengine \
texlive-tocloft texlive-etoc texlive-tabu
Install Python libraries such as CppHeaderParser and argparse for Python modules:
pip3 install CppHeaderParser argparse
Build and test from source#
Follow these steps to build ROCTracer:
Clone development branch of
roctracer
:git clone -b amd-master https://github.com/ROCm/roctracer
Build ROCTracer library:
cd <your path>/roctracer ./build.sh
Build and run test:
cd <your path>/roctracer/build make mytest run.sh
Installation#
Install using:
make install
or
make package && dpkg -i *.deb