Difference between revisions of "SST-Core Install"

From UFRC
Jump to navigation Jump to search
(Created page with "Back to SST-Core pageCategory:Software For this example we will use a directory <code>/home/${USER}/SST/6.0.0/core</code> as the install target and do the bu...")
 
Line 25: Line 25:
 
  make all
 
  make all
 
  make install
 
  make install
 +
* Set path
 +
export PATH=${SST_CORE_HOME}/bin:$PATH

Revision as of 19:16, 26 July 2017

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 python/2.7.10 boost/1.63.0  libz/1.2.8
  • Set build variables
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