Skip to content

SST Installation

Patrick Lavin edited this page Feb 23, 2023 · 3 revisions

This is a way to get SST installed that what is listed on the SST website.

Dependencies

Mac

brew install autoconf automake libtool

Installation

Step 0. Create a directory to hold SST files

mkdir sst
cd sst

Part 1. Environment File

You will source this anytime you want to work with SST.

echo "export SST_INSTALL=$(pwd)/install" > env.sh
echo "export PATH=$(pwd)/install/bin:\$PATH" >> env.sh
chmod +x env.sh
source env.sh

Part 2. Install SST-Core

We'll install without MPI. You should change the ./configure options to suit your needs.

git clone git@github.com:sstsimulator/sst-core.git 
cd sst-core
./autogen.sh
./configure --prefix=$SST_INSTALL --disable-mpi
make install -j8

Part 3. Install SST-Elements

cd .. # You should be in the sst/ directory
git clone git@github.com:sstsimulator/sst-elements.git
cd sst-elements
./autogen.sh
./configure --prefix=$SST_INSTALL
make install -j8

Part 4. Testing

You can test your installation with the following commands. These can be slow, especially elements. Use the -c <N> flag to run N tests in parallel.

sst-test-core
sst-test-elements