-
Notifications
You must be signed in to change notification settings - Fork 39
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
Does it support complex number #77
Comments
You need to also pass A and x as complex. |
the matrix A is real, only the x and rhs are complex |
That is not supported, you need to also treat A as complex. |
If only b (and x) are complex, it's more efficient to solve 2 real linear systems: Going into complex arithmetic is more expensive. |
Thank you very much. If matrix A is symmetry but not SPD, do we have a special setting for this condition? I use the defaults seeting |
I didn't find the cuda example in the example directory. is it still in test ?
| |
***@***.***
|
|
***@***.***
|
…---- Replied Message ----
| From | X. Sherry ***@***.***> |
| Date | 10/01/2022 07:56 |
| To | ***@***.***> |
| Cc | ***@***.******@***.***> |
| Subject | Re: [pghysels/STRUMPACK] Does it support complex number (Issue #77) |
If only b (and x) are complex, it's more efficient to solve 2 real linear systems:
A x_r = b_r (real part of b)
A x_i = b_i (imaginary part of b)
Then, the final solution is x = x_r + i * x_i
Going into complex arithmetic is more expensive.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The solver will off-load work to the GPU using CUDA. But the interface takes all input/output matrix and vectors in host/CPU memory. So there is no CUDA code in the examples. |
We do not have special support for symmetry. |
I want to use STRUMPACK to solve Ax=b, where b is complex vector. it seems strumpack doesn't support it?
The text was updated successfully, but these errors were encountered: