Skip to content

Open|SpeedShop is a community effort by The Krell Institute with current direct funding from DOE’s NNSA and Office of Science. It is building on top of a broad list of community infrastructures, most notably Dyninst and MRNet from UW, libmonitor from Rice, and PAPI from UTK. Open|SpeedShop is an open source multi platform Linux performance tool …

License

Notifications You must be signed in to change notification settings

schulzm/openspeedshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please see the BuildInstallGuide.txt in the release directory for the latest build
and install information.  That document is based on the "pdf" version 
of the Build and Install Guide that is available in the Files download 
area for this OpenSpeedShop release on sourceforge.

Both documents have valid Open|SpeedShop-2.2 release information.

These are some sample cmake build scripts to use as an example:

-------------------------------------------------------------------
BUILDING OPENSPEEDSHOP for the offline instrumentor:
-------------------------------------------------------------------

LISTING OF THE SCRIPT:

$ cat run_cmake_ossoff_laptop.sh
rm -rf build_off
mkdir build_off
pushd build_off

export KRELL_ROOT=/opt/krellroot_v2.2.2
export OPENSS_INSTALL_DIR=/opt/ossoff_222
export OPENMPI_ROOT=/opt/openmpi-1.8.2

cmake .. \
       -DCMAKE_BUILD_TYPE=None \
       -DCMAKE_CXX_FLAGS="-g -O2" \
       -DCMAKE_C_FLAGS="-g -O2" \
       -DINSTRUMENTOR="offline" \
       -DRESOLVE_SYMBOLS=symtabapi \
       -DCMAKE_INSTALL_PREFIX=${OPENSS_INSTALL_DIR} \
       -DCMAKE_PREFIX_PATH=${KRELL_ROOT} \
       -DBINUTILS_DIR=${KRELL_ROOT} \
       -DLIBELF_DIR=${KRELL_ROOT} \
       -DLIBDWARF_DIR=${KRELL_ROOT} \
       -DLIBUNWIND_DIR=${KRELL_ROOT} \
       -DLIBMONITOR_DIR=${KRELL_ROOT} \
       -DPAPI_DIR=${KRELL_ROOT} \
       -DDYNINST_DIR=${KRELL_ROOT} \
       -DVT_DIR=${KRELL_ROOT} \
       -DOTF_DIR=${KRELL_ROOT} \
       -DOPENMPI_DIR=${OPENMPI_ROOT}

make clean
make
make install

RUN THE SCRIPT TO BUILD:
$ sh run_cmake_ossoff_laptop.sh

-------------------------------------------------------------------

-------------------------------------------------------------------
BUILDING OPENSPEEDSHOP for the cbtf instrumentor:
-------------------------------------------------------------------

LISTING OF THE SCRIPT:

$ cat run_cmake_osscbtf_laptop.sh
rm -rf build-cbtf
mkdir build-cbtf
pushd build-cbtf

export KRELL_ROOT=/opt/krellroot_v2.2.2
export MRNET_ROOT=/opt/krellroot_v2.2.2
export DYNINST_ROOT=/opt/krellroot_v2.2.2
export CBTF_KRELL_INSTALL_DIR=/opt/cbtf_v2.2.2
export CBTF_ARGO_INSTALL_DIR=/opt/cbtf_v2.2.2
export CBTF_INSTALL_DIR=/opt/cbtf_v2.2.2
export OSS_CBTF_INSTALL_DIR=/opt/osscbtf_v2.2.2

# Locate the find package files in the locations that cmake expects
export MY_CMAKE_PREFIX_PATH="${CBTF_INSTALL_DIR}:${CBTF_KRELL_INSTALL_DIR}:${KRELL_ROOT}"
cmake .. \
       -DCMAKE_BUILD_TYPE=None \
       -DCMAKE_CXX_FLAGS="-g -O2" \
       -DCMAKE_C_FLAGS="-g -O2" \
       -DCMAKE_INSTALL_PREFIX=${OSS_CBTF_INSTALL_DIR}\
       -DCBTF_DIR=${CBTF_INSTALL_DIR} \
       -DCBTF_KRELL_DIR=${CBTF_KRELL_INSTALL_DIR} \
       -DCBTF_ARGONAVIS_DIR=${CBTF_ARGO_INSTALL_DIR} \
       -DINSTRUMENTOR="cbtf" \
       -DRESOLVE_SYMBOLS=symtabapi \
       -DCMAKE_PREFIX_PATH=${MY_CMAKE_PREFIX_PATH} \
       -DBINUTILS_DIR=${KRELL_ROOT} \
       -DLIBELF_DIR=${KRELL_ROOT} \
       -DLIBDWARF_DIR=${KRELL_ROOT} \
       -DDYNINST_DIR=${DYNINST_ROOT} \
       -DMRNET_DIR=${MRNET_ROOT} 

make clean
make
make install

RUN THE SCRIPT TO BUILD:
$ sh run_cmake_osscbtf_laptop.sh



About

Open|SpeedShop is a community effort by The Krell Institute with current direct funding from DOE’s NNSA and Office of Science. It is building on top of a broad list of community infrastructures, most notably Dyninst and MRNet from UW, libmonitor from Rice, and PAPI from UTK. Open|SpeedShop is an open source multi platform Linux performance tool …

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 42.3%
  • C 38.0%
  • Fortran 5.7%
  • Shell 4.2%
  • Makefile 2.7%
  • M4 2.6%
  • Other 4.5%