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...")
 
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
 
  cd sstcore-6.0.0
 
  cd sstcore-6.0.0
 
* Load environment modules
 
* 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
+
  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
 
* 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 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 CPPFLAGS="-I${HPC_PYTHON_DIR}/include -I${HPC_BOOST_INC}/include -I${HPC_LIBZ_INC}"
Line 25: Line 29:
 
  make all
 
  make all
 
  make install
 
  make install
 +
* Set path
 +
export PATH=${SST_CORE_HOME}/bin:$PATH

Latest revision as of 14:50, 16 August 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 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