summer school - mpi (scorep cube plugins heatmap)
Issue #62
new
Setup
- git clone https://github.com/bcumming/summer-school.git summer-school.git
- cd summer-school.git/mpi/fortran/
- module swap PrgEnv-cray PrgEnv-gnu
- module load scorep/1.4.2
Instrument (operators.f90)
module operators
...
#ifdef _SCOREP
#include "scorep/SCOREP_User.inc"
#endif
...
contains
subroutine diffusion
#ifdef _SCOREP
SCOREP_USER_REGION_DEFINE( my_region_handle_i )
#endif
...
#ifdef _SCOREP
SCOREP_USER_REGION_BEGIN( my_region_handle_i, "operators.interiors",
SCOREP_USER_REGION_TYPE_DYNAMIC )
#endif
...
#ifdef _SCOREP
SCOREP_USER_REGION_END( my_region_handle_i )
#endif
...
end subroutine diffusion
end module operators
Compile
- make clean
- make FTN="scorep --user ftn" FFLAGS="-D_SCOREP -cpp"
- mv main GNU+sc142+user
Run
- aprun -n 24 -N 8 -d 1 -j 1 ./GNU+sc142+user 1024 1024 50 0.001
========================================
Welcome to mini-stencil!
MPI : pid 24
mesh :: 1024 * 1024 dx = 9.7751710563898087E-004
time :: 50 time steps from 0 .. 1.0000000000000000E-003
========================================
--------------------------------------------------------------------------------
simulation took 1.0000000000000000 seconds
5031 conjugate gradient iterations 5031. per second
226 nonlinear newton iterations
Report
- module rm ddt # libQT conflicts => Cube will fail to load plugins
- cube */profile.cubex
Comments (1)
-
reporter - Log in to comment
Loop work estimates (CCE compiler only)