필터 지우기
필터 지우기

Is it possible to solve linear system of equations with parallel computing?

조회 수: 14 (최근 30일)
Giovanni
Giovanni 2014년 10월 23일
편집: Matt J 2014년 10월 24일
I am interested in solving big systems of equations with parallel computing. I have an old script that use the LU decomposition to solve it, but i was trying to speed it up using parallel computation. Do you have any suggestion?

답변 (2개)

Sean de Wolski
Sean de Wolski 2014년 10월 23일
It sounds like you have multiple systems to solve, so I would suggest parallelizing over systems of equations. If you can provide more details, we might be able to help.

Giovanni
Giovanni 2014년 10월 23일
my problem is that the script i am using works for a K matrix that can be constant or not (for different loops over K*u=f the k matrix can change). In the case the K matrix is constant, the LU decomposition is perfect because I just evaluate once L and U and i solve several time the analysis. For that problem i don't care that much, so I am interested in solving K*u=f where K is a very big matrix. I am interested, because the computational cost, to use parallel processing also with different methods than the LU decomposition. Thanks
  댓글 수: 1
Matt J
Matt J 2014년 10월 24일
편집: Matt J 2014년 10월 24일
For the constant K case, it might be better to gather up your different f into the columns of a matrix [f1,f2,...fn] and solve as
K\[f1,f2,...fn]
If done this way, MATLAB's internal parallelization of mldivide will kick in.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by