Allinea MAP

Search Software

Allinea MAPis a profiler for serial and parallel applications written in C, C++, FORTRAN 77, Fortran 90. It supports multiple parallel programming paradigms including MPI, and OpenMP.

SW Documentation: 

To run this software in a Linux environment run the commands:

module load allinea-tools intel/12.0 ompi/1.5.4/intel

map

To profile your application, you need to build it with the MAP libraries, for example:

module load allinea-tools intel/12.0 ompi/1.5.4/intel

C:  mpicc -g -O3 your.c -lmap-sampler

C++:  mpicxx -g -O3 your.c -lmap-sampler

FORTRAN:  mpif90 -g -O3 your.c -lmap-sampler

On the login nodes, you can use MAP only up to the number of cores available. For an MPI job to run across nodes, one  need run MAP interactively throught a queue by  " qsub -I -X -q batch ". Here is the procedur for profiling a MPI job to run over  2 nodes:

qsub -I -X -l nodes=2:ppn=8,mem=20gb,walltime=1:00:00

cd your_work_directory

module load allinea-tools intel/12.0 ompi/1.5.4/intel

map

For Platform MPI, the following commands are  used for profiling a MPI application:

module load intel pmpi/8.2.0/intel allinea-tools
export LD_LIBRARY_PATH=/opt/platform_mpi-8.02.00.00-20121216r/MPICH1.2/lib/linux_amd64:$LD_LIBRARY_PATH

export MPICC=mpicc.mpich
mpif90.mpich -g -O3 mpi_hello.f

map -profile -n 4 ./a.out

For intel MPI, please try the following

module load intel impi/intel allinea-tools

map -n 4 -profile -mpiargs "-r ssh -f nodelist" ./a.out

where nodelist is a file containing the name of nodes assigned for running the job,
    node1155
    node1156
    node1154
    node1157

More working examples for building scalar and parallel applications (with a variety of versions of MPI) are in

/soft/allinea-tools/4.1-32296/examples
Short Name: 
MAP
SW Module: 
allinea-tools
Service Level: 
Primary