SST-Core Install

From UFRC
Revision as of 14:50, 16 August 2017 by Moskalenko (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to SST-Core page

For this example we will use a directory /home/${USER}/SST/6.0.0/core as the install target and do the build in /home/${USER}/SST/build under RHEL-6.4.

Version 6.0.0
  • Log in and start a developmental session
module load ufrc
srundev -t 60
  • Create directory structure
cd 
mkdir -p SST/{build,core}
cd SST/build
  • Download the sstcore-6.0.0.tar.gz release tarball and unpack it
wget https://github.com/sstsimulator/sst-core/releases/download/v6.0.0_Final/sstcore-6.0.0.tar.gz
tar zxvf sstcore-6.0.0.tar.gz
cd sstcore-6.0.0
  • Load environment modules
module load gcc/5.2.0 openmpi/1.10.2 boost/1.63.0 python/2.7.10 libz/1.2.8
  • Set build variables
export CC=/apps/compilers/gcc/5.2.0/bin/gcc
export CXX=/apps/compilers/gcc/5.2.0/bin/g++
export MPICC=/apps/mpi/gcc/5.2.0/openmpi/1.10.2/bin/mpicc
export MPICXX=/apps/mpi/gcc/5.2.0/openmpi/1.10.2/bin/mpicxx
export SST_CORE_HOME=/home/${USER}/SST/6.0.0/core
export CPPFLAGS="-I${HPC_PYTHON_DIR}/include -I${HPC_BOOST_INC}/include -I${HPC_LIBZ_INC}"
export LDFLAGS="-L${HPC_PYTHON_LIB} -L${HPC_BOOST_LIB} -I${HPC_LIBZ_LIB}"
./configure --prefix=${SST_CORE_HOME} --with-boost=${BOOST_ROOT}
make all
make install
  • Set path
export PATH=${SST_CORE_HOME}/bin:$PATH