// Xotirani taqsimlash va ma’lumotlarni initsializatsiyalash
ProcessInitialization(pMatrix, pVector, pResult,
pProcRows, pProcVector, pProcResult, Size, RowNum);
// Dastlabki ma’lumotlarni taqsimlash
DataDistribution(pMatrix, pProcRows, pVector, pProcVector,
Size, RowNum);
// Gauss algoritmini parallel bajarish
ParallelResultCalculation(pProcRows, pProcVector, pProcResult, Size,
RowNum);
// Yetakchi jarayon boʻyicha noma’lumlarning topilgan vektorini yigʻish
ResultCollection(pProcResult, pResult);
// Hisoblash jarayonini yakunlash
ProcessTermination(pMatrix, pVector, pResult, pProcRows,
pProcVector, pProcResult);
MPI_Finalize();
Do'stlaringiz bilan baham: |