SST macro installation

March 03, 2017 | 2 Minute Read

In this post, we are going to install hpc modeling software.

What is sst-macro?

A HPC simulator for interconnection and application performance prediction.

Goal of this post:

Install sst-macro with sst-core .

  • and sst-elements modeling support for detailed simulation.

Details Installation Instruction:

My machine Spec:

  • UBUNTU 14.04, x86_64


  1. gcc, g++ 4.9, 5.+
  2. openmpi 1.8.8 (Make from source)
    • Note: mpich from apt-get didnt work for me
  3. boost 1.59
  4. sst-core 6.0.1
  5. sst-elements

Installing gcc 4.9

From :

sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9

Configure ~/.bashrc OR env file

export MPICC=mpicc
export MPICXX=mpicxx

export MPIHOME=/usr/local/packages/OpenMPI-1.8.8
export BOOST_HOME=/usr/local/packages/boost-1.59
export SST_CORE_HOME=/local/sst/sstcore
export SST_ELEMENTS_HOME=/local/sst/sstelements
export SST_MACRO_HOME=/local/sst/sstmacro


Now, source .bashrc

source ~/.bashrc

Installing Dependency: (1) openmpi

sudo su -
cd /local/scratch/src
scp*.tar.gz .
scp*.tar.bz2 .
tar -zxf openmpi-1.8.8.tar.gz
cd openmpi-1.8.8
./configure --prefix=$MPIHOME
make all install

Installing Dependency: (2) boost

cd /local/scratch/src/boost_1_59_0
./ --prefix=$BOOST_HOME
./b2 install
#...updated 12357 targets...; NO ERROR? WOW

Installing Dependency: (3) sst-core & (4)sst-elements

cd /local/scratch/src/sstcore-6.1.0
./configure --prefix=$SST_CORE_HOME --with-boost=$BOOST_HOME
make all
make install

@installing sst-elements
cd /local/scratch/src/sst-elements-library-6.1.0
./configure --prefix=$SST_ELEMENTS_HOME --with-sst-core=$SST_CORE_HOME
make all
make install

# Test sst installation
sst --version
# Should see the sst version 6.1.0
sst /local/scratch/src/sst-elements-library-6.1.0/src/sst/elements/simpleElementExample/tests/

sst-macro installation

There is a bug with the –with-sst flag, we need to ignore that. Developers think macro would work with default parameters.

cd /local/scratch/src
git clone
cd sst-macro
mkdir build 
cd build
../configure --prefix=$SST_MACRO_HOME --disable-regex CC=$MPICC CXX=$MPICXX
# Ubuntu Bug [as mentioned in the documentation] , you might need
#   LDFLAGS="-Wl,-no-as-needed" 
# Doesnt work[BUG], c++ issue:
#   --with-sst-core=$SST_CORE_HOME

make install

# check sst++ --version
sst++ --version

# Test sst-macro
cd ../skeletons/sendrcv
make all
#Should see some output from the simulator

Feel free to get in touch with the developers(not me!) if you get in trouble.