Install SST Simulator in Ubuntu

11 May 2017

This document intended to make the installation of SST Simulator on Ubuntu 16.04 LTS more easier and quicker.

1. Requirements

$ sudo apt install gcc g++ libopenmpi-dev python-dev make automake autoconf libtool-bin

Note: In Ubuntu 14.04, use the following command:

$ sudo apt install gcc g++ libopenmpi-dev openmpi-bin python-dev make automake autoconf libtool

2. Bash Environments

Put SST binary files where it sould go by add these lines in .profile:

# sst simulator start #
export SST_CORE_HOME=$HOME/local/sstcore-7.0.0
export SST_ELEMENTS_HOME=$HOME/local/sstelements-7.0.0
# sst simulator stop #


source ~/.profile

3. Download and Extract

tar xf sstcore-7.0.0.tar.gz
tar xf sstelements-7.0.0.tar.gz

4. Build and install

cd sstcore-7.0.0
./configure --prefix=$SST_CORE_HOME
make all
make install
cd ../sst-elements-library-7.0.0
./configure --prefix=$SST_ELEMENTS_HOME --with-sst-core=$SST_CORE_HOME
make all
make install
cd ..