1. Ensure you have the required components specified in the System Requirements.
2. Install CodeXL using one of the following methods:
Windows
Run CodeXL_Win_x.x.x.exe
Linux – plain tar
Extract CodeXL tarball using: tar -xvzf CodeXL_Linux_x86_64_x.x.x.tar.gz
On Linux systems, the CodeXL Debian and RPM packages perform the driver installation automatically.
However, if you’ve downloaded the CodeXL tar archive, you have to install the Power Profiler’s Linux driver manually. This includes a simple step of running <codexl-install-dir>/AMDTPwrProfDriverInstall.run with su credentials.
Example:
sudo ./AMDTPwrProfDriverInstall.run
Red Hat Linux (including CentOS, Fedora)
Install the CodeXL RPM package using: rpm -Uvh CodeXL_Linux.x.x.x-0.x86_64.rpm
Ubuntu and other Debian based Linux distributions
Install the CodeXL Debian package using:
sudo dpkg -i codexl_x.x.x_64.deb
followed by
sudo apt-get -f install
Confirm Installation
Assuming you used the default install location, confirm the CodeXL binaries installation with the following steps.
Windows
· The C:\Program Files (C:\Program Files (x86) on 64-bit machines) folder should have a new sub-folder named “CodeXL” (the full path of the CodeXL folder should be: C:\Program Files\CodeXL, or C:\Program Files (x86)\CodeXL on 64-bit machines)
· A CodeXL shortcut has been created (unless you chose not to have shortcut).
· The Control Panel shows CodeXL in the list of installed Programs.
Linux using tarball
1. Navigate to <CodeXL Directory>
2.
Launch CodeXL using ./CodeXL.
A GUI appears.
Linux RPM / Debian
1. Navigate to /opt/AMD/CodeXL_X.Y-ZZZZ/
2. Launch CodeXL using ./CodeXL.
A GUI appears.
Confirm Visual Studio Extension
For Windows, to confirm that the Visual Studio Extension has been installed successfully:
1. Start Microsoft Visual Studio.
- Click on Help > About Microsoft Visual Studio from the Visual Studio main menu bar.
- Under Installed products:, find CodeXL x.x.