-
Notifications
You must be signed in to change notification settings - Fork 80
Егашин Кирилл. Технология SEQ-MPI. Метод простой итерации. Вариант 20. #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Егашин Кирилл. Технология SEQ-MPI. Метод простой итерации. Вариант 20. #171
Conversation
|
I'm not sure what are you trying to do in this PR. You have submitted your tasks, haven't you? |
aobolensk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 PR - 1 task, this PR contains several tasks
|
просьба исправить конфликты |
…t for cognitive-complexity
…tTestParam, rename kTestParam to kTests, remove custom test names
4e3bbf5 to
6de0f20
Compare
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (87.11%) is below the target coverage (95.00%). You can increase the patch coverage or adjust the target coverage.
Additional details and impacted files@@ Coverage Diff @@
## master #171 +/- ##
===========================================
- Coverage 94.03% 16.78% -77.26%
===========================================
Files 15 190 +175
Lines 486 7359 +6873
Branches 181 2859 +2678
===========================================
+ Hits 457 1235 +778
- Misses 0 6037 +6037
- Partials 29 87 +58 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Описание
Алгоритм решения системы линейных алгебраических уравнений методом простой итерации (метод Ричардсона). Логика работы: на каждой итерации вычисляем невязку r = b - Ax и обновляем решение x_new = x + tau * r, где tau - итерационный параметр. Процесс повторяется до достижения заданной точности или максимального числа итераций. Распараллеливание: строки матрицы распределяются между процессами с помощью MPI_Scatterv. Каждый процесс вычисляет свою часть произведения Ax и обновляет локальную часть вектора x. Результаты собираются через MPI_Allgatherv на каждой итерации. Проверка сходимости выполняется на нулевом процессе, результат рассылается всем.
Чек-лист
<фамилия>_<первая_буква_имени>_<короткое_название_задачи>clang-formatлокально в моем форке (нет ошибок форматирования)clang-tidyлокально в моем форке (нет предупреждений/ошибок)nesterov_a_vector_sum), а не вmaster