How to use Scalasca on CRESCO

For using Scalasca on CRESCO, users have to load the appropriate environment by typing in at the prompt the command scalasca-2.3.1. Detailed information can be found in the /doc directory as suggested by the command itself. Once loaded the Scalasca environment, a cursory look at the main features can be done by giving the command scalasca -h.

The basic steps in using Scalasca for analyzing a program involve three phases: program instrumentation, measurement execution and analysis report:

  • scorep mpicc mympiprog.c -o mympiprog
  • scalasca -analyze mpirun -np #cores ./mympiprog

After successful execution of the job analysis a summary report file is created within a measurement directory called scorep_*. The summary analysis report can be postprocessed by typing the command:

  • scalasca -examine scorep_*

Scalasca comes with the GUI CUBE which allows the programmer to analyse the main metrics of the executable for eventually proceeding with further investigations.


A snapshot of CUBE

It is possible to submit a Scalasca job to CRESCO in batch mode. This is accomplished by following the simple procedure described below.