Ariel - simulate real applications in SST

12 May 2017

SST simulator is an event based simulator. To simulate real applications, we need to use externel module (PIN tool) to convert the instructions to a set of SST events. This work is doen by the Ariel component.

Ariel is a processor core emulation component which dynamically streams instructions from a running application (via a UNIX-pipe based connection to a PIN-tool based profiling session).

The current version (7.0.7) of Ariel only support pin-2.14. Because of the ABI compatibility issue, I am not able to run it in Ubuntu 16.04. The only solution I find is to install Ubuntu 14.04 instead.

Download Pin Tool

After the installation of Ubuntu 14.04, download the pin tool:

tar xf pin-2.14-71313-gcc.4.4.7-linux.tar.gz
mv pin-2.14-71313-gcc.4.4.7-linux ~/local

Configure sst elements

./configure --prefix=$SST_ELEMENTS_HOME --with-sst-core=$SST_CORE_HOME --with-pin=$HOME/local/pin-2.14-71313-gcc.4.4.7-linux

Then make and install.

Downgrade Linux Kernel

I find the latest Ubuntu 14.04 use Linux Kernel 4.4. This version is not supported by PIN-tool.

To install 3.16 Kernel, use this command:

sudo apt-get install linux-image-generic-lts-utopic

To remove 4.4 Kernel (you can also keep it if you like), use this command:

sudo apt-get remove linux-headers-4.4* linux-image-4.4* linux-image-extra-4.4*