Skip to content
Snippets Groups Projects
Select Git revision
  • 0209c81efc51b311449e0a8567022a32baa0b1c1
  • master default protected
  • lifecycle
  • kru0052-master-patch-91081
  • chat
  • 20180621-revision
  • 20180621-before_revision
7 results

intel-mkl.md

Blame
  • scalasca.md 2.76 KiB

    Scalasca

    Introduction

    Scalasca is a software tool that supports the performance optimization of parallel programs by measuring and analyzing their runtime behavior. The analysis identifies potential performance bottlenecks – in particular those concerning communication and synchronization – and offers guidance in exploring their causes.

    Scalasca supports profiling of MPI, OpenMP and hybrid MPI+OpenMP applications.

    Installed versions

    There are currently two versions of Scalasca 2.0 modules installed on Anselm:

    Usage

    Profiling a parallel application with Scalasca consists of three steps:

    1. Instrumentation, compiling the application such way, that the profiling data can be generated.
    2. Runtime measurement, running the application with the Scalasca profiler to collect performance data.
    3. Analysis of reports

    Instrumentation

    Instrumentation via " scalasca -instrument" is discouraged. Use Score-P instrumentation.

    Runtime measurement

    After the application is instrumented, runtime measurement can be performed with the " scalasca -analyze" command. The syntax is:

    scalasca -analyze [scalasca options][launcher] [launcher options][program] [program options]

    An example :

        $ scalasca -analyze mpirun -np 4 ./mympiprogram

    Some notable Scalasca options are:

    -t Enable trace data collection. By default, only summary data are collected. -e <directory> Specify a directory to save the collected data to. By default, Scalasca saves the data to a directory with prefix scorep_, followed by name of the executable and launch configuration.

    !!! Note "Note" Scalasca can generate a huge amount of data, especially if tracing is enabled. Please consider saving the data to a scratch directory.