Programming Taskbook


E-mail:

Password:

User registration   Restore password

Russian

SFedU SMBU

1100 training tasks on programming

©  M. E. Abramyan (Southern Federal University, Shenzhen MSU-BIT University), 1998–2024

 

PT for MPI-2 | Task groups | MPIDebug

PrevNext


MPI program debugging

The aim of this group is to simplify the development and debugging any parallel MPI program. Each task of this group provides parallel program running with the specific amount of processes; the amount of processes is determined by the task number and may vary in the range 1 to 36.

The following forms of the Show procedure may be used for data output to the debugging panel of the Programming Taskbook window:

Show(S) — output a string S;
Show(S, A, W) or Show(A, W) — output a number A with or without a string comment S; the width of output field is equal to W;
Show(S, A) or Show(A) — output a number A with the default width of output field and with or without a string comment S.

The similar forms of the ShowLine procedure provide the additional line break in the debugging panel after the data output. The form of the ShowLine procedure without parameters is also available.

The SetPrecision(N) procedure determines the amount of fractional digits in the fixed point format of real numbers that are output in the debugging panel; it affects all subsequent calls of the Show and ShowLine procedures. The floating point format is used when N ≤ 0. The amount of fractional digits in the floating point format is determined by the width of the output field W of the Show and ShowLine procedures in Pascal programs and is equal to absolute value of the parameter N in C++ programs (if N = 0 then the amount of fractional digits is equal to default value 6 in C++ programs).

The HideTask procedure hides all panels of the Programming Taskbook window except of the debugging panel.

The popup menu of the Programming Taskbook window contains commands intended to customize the debugging panel.

MPIDebug1°. The task provides running and debugging non-parallel programs.

MPIDebug2°. The task provides running and debugging parallel MPI programs with 2 processes.

MPIDebug3°. The task provides running and debugging parallel MPI programs with 3 processes.

MPIDebug4°. The task provides running and debugging parallel MPI programs with 4 processes.

MPIDebug5°. The task provides running and debugging parallel MPI programs with 5 processes.

MPIDebug6°. The task provides running and debugging parallel MPI programs with 6 processes.

MPIDebug7°. The task provides running and debugging parallel MPI programs with 7 processes.

MPIDebug8°. The task provides running and debugging parallel MPI programs with 8 processes.

MPIDebug9°. The task provides running and debugging parallel MPI programs with 9 processes.

MPIDebug10°. The task provides running and debugging parallel MPI programs with 10 processes.

MPIDebug11°. The task provides running and debugging parallel MPI programs with 11 processes.

MPIDebug12°. The task provides running and debugging parallel MPI programs with 12 processes.

MPIDebug13°. The task provides running and debugging parallel MPI programs with 13 processes.

MPIDebug14°. The task provides running and debugging parallel MPI programs with 14 processes.

MPIDebug15°. The task provides running and debugging parallel MPI programs with 15 processes.

MPIDebug16°. The task provides running and debugging parallel MPI programs with 16 processes.

MPIDebug17°. The task provides running and debugging parallel MPI programs with 17 processes.

MPIDebug18°. The task provides running and debugging parallel MPI programs with 18 processes.

MPIDebug19°. The task provides running and debugging parallel MPI programs with 19 processes.

MPIDebug20°. The task provides running and debugging parallel MPI programs with 20 processes.

MPIDebug21°. The task provides running and debugging parallel MPI programs with 21 processes.

MPIDebug22°. The task provides running and debugging parallel MPI programs with 22 processes.

MPIDebug23°. The task provides running and debugging parallel MPI programs with 23 processes.

MPIDebug24°. The task provides running and debugging parallel MPI programs with 24 processes.

MPIDebug25°. The task provides running and debugging parallel MPI programs with 25 processes.

MPIDebug26°. The task provides running and debugging parallel MPI programs with 26 processes.

MPIDebug27°. The task provides running and debugging parallel MPI programs with 27 processes.

MPIDebug28°. The task provides running and debugging parallel MPI programs with 28 processes.

MPIDebug29°. The task provides running and debugging parallel MPI programs with 29 processes.

MPIDebug30°. The task provides running and debugging parallel MPI programs with 30 processes.

MPIDebug31°. The task provides running and debugging parallel MPI programs with 31 processes.

MPIDebug32°. The task provides running and debugging parallel MPI programs with 32 processes.

MPIDebug33°. The task provides running and debugging parallel MPI programs with 33 processes.

MPIDebug34°. The task provides running and debugging parallel MPI programs with 34 processes.

MPIDebug35°. The task provides running and debugging parallel MPI programs with 35 processes.

MPIDebug36°. The task provides running and debugging parallel MPI programs with 36 processes.


PrevNext

 

  Ðåéòèíã@Mail.ru

Designed by
M. E. Abramyan and V. N. Braguilevsky

Last revised:
01.01.2024