-
Notifications
You must be signed in to change notification settings - Fork 16
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
MUMPs seg faults #21
Comments
Thanks for the report. What version of OSX and Julia are you using? If I understand well, you're able to use MUMPS.jl but it occasionally crashes when doing multiple solves with the same factorization? The latest bottle in Homebrew is for MUMPS 5.0.2 (you're using 5.0.1). Version 5.1.1 is out but I've seen reports of it having issues on the mailing list. If crashes keep happening with the 5.0.2 bottle, could you try and build it from source ( |
Thanks for the suggestions. But after installing MUMPS 5.0.2 and building from source I still have the same problems. OSX 10.11.5. |
Thanks for confirming. Without an example, it's going to be difficult for me to help... If I try using MUMPS
using MPI
MPI.Init()
icntl = get_icntl(verbose=false)
A = sprand(10, 10, .2) + speye(10)
mumps = Mumps{Float64}(mumps_unsymmetric, icntl, default_cntl64)
associate_matrix!(mumps, A)
factorize!(mumps)
for _ = 1:10
rhs = rand(10)
associate_rhs!(mumps, rhs)
solve!(mumps)
x = get_solution(mumps)
println(norm(x - A \ rhs) / norm(x))
end
finalize(mumps)
MPI.Finalize() all seems well:
|
yeah. I have struggled to create a simple example. also the segfaults are not deterministic (but my algorithm is). I will try some more ... |
Do you have a program I could run to see if I also experience the segfaults? |
The following misuse of MUMPS.jl seems to segfault reliably:
I assume the problem is trying to use |
Thank you. I agree that segfaults shouldn't happen. This needs to be fixed. |
Closing this as MUMPS evolved significantly since this issue was open and the segfault doesn't seem to happen any more. Thank you for the reports! |
When I solve multiple linear systems with mumps I often get seg faults. However, I cannot seem to produce a minimal example.
The error occurs after I call solve.
The text was updated successfully, but these errors were encountered: