wiki:Documentation/UserGuide/ProfileDDTmap

Profiling with Allinea Map

Objective

Background of this item: Allinea Map is a type of tool for profiling the performance of C, C++, Fortran 90 and Python software. It was available on Curie and it has been successfully used to analyze multi-processor jobs. Profiling allows you to learn where your program spent its time and which functions called which other functions while it was executing. This information can show you which pieces of your program are slower than you expected and might be candidates for rewriting to make your program execute faster.

Allinea Map on Curie

Authors: A. Jornet
Last revision: A. Jornet (2014/04/18)

Make sure to compile ORCHIDEE with -g flag

Then create a bash file to send your job to the Cluster. Copy and paste the lines below.

ddtmap.sh:

#!/bin/bash
#MSUB -r testJob     # Request name
#MSUB -n 16          # Number of tasks to use
#MSUB -T 15000       # Elapsed time limit in seconds
#MSUB -o orchid_%I.o # Standard output. %I is the job id
#MSUB -e orchid_%I.e # Error output. %I is the job id
#MSUB -Q normal
#MSUB -X             # enable window
#MSUB -D
#MSUB -q standard    # Queue type

# Print all steps
set -x

# Load necessary modules
module load map/6.0.2
module load netcdf/4.2_hdf5_parallel

# next line might not be necessary
cd /to/your/path

map -n 16 ./orchidee_ol

Send your job to Curie ccc_msub ddtmap.sh

Last modified 4 years ago Last modified on 2020-03-19T16:44:09+01:00