EN Bereichsnavigation EN

Performance > Scalasca

 

Quick start guide

The following instructions are for those who want to get Scalasca up and running quickly.

  • module load PrgEnv-xxx where xxx=cray or pgi or intel or gnu.
  • module load scalasca
  • module help scalasca
  • scalasca -instrument ftn -c fcode.f90
  • scalasca -instrument ftn -o myprogram fcode.o
  • /usr/bin/time -p scalasca -analyze aprun -n128 ./myprogram
  • scalasca -examine epik*

Read on for complete details.

Description

Scalasca is a performance analysis tool developed by FZ Juelich for CSCS production systems.


Scalasca is a portable profiling and tracing toolkit for performance analysis of parallel programs written in Fortran, C, C++.

Usage

    • First, load the modulefile to get the correct environment variables set :

                       module load scalasca

    • Compile and link your application for measurement :

                       scalasca -instrument ftn -c fcode.f90 ; scalasca -instrument ftn -o fexe fcode.o

    or

                       scalasca -instrument cc -c ccode.c     ; scalasca -instrument cc -o cexe ccode.o

    The alias for "scalasca -instrument" is skin

    • Run the instrumented executable :

                       /usr/bin/time -p scalasca -analyze aprun -n 128 ./fexe

    The alias for "scalasca -analyze" is scan

    • Upon successful execution, the report directory will be generated and will start with epik. Explore the scalasca report with

                       scalasca -examine epik*/

    The alias for "scalasca -examine" is square

    For more information, see Troubleshooting below.

    Troubleshooting

    This page describes the basics of Scalasca. For further information please check :

    To top