Closed JakobAsslaender closed 2 years ago
I would say this is either a Julia bug or a Julia limitation. So probably open a bug in Julia. This will, however, require that you make a very small example, where you basically extract the code in question into something like a 10 lines example.
Other than that you could test https://github.com/JuliaLinearAlgebra/MKL.jl
Yeah, that is the problem: I was not able to create a minimal working example. On smaller datasets, e.g. the test suit of MRIReco, it works just fine. And creating a large dataset with random numbers also did not trigger the issue in the particular way I tried. But maybe I'll submit an issue w/o MWE and see if anyone has an idea.
I keep getting segfault errors in ESPIRiT. They only seem to happen on large 3D datasets and a 40-core HPC machine. Most of the times, the error message is unspecific, but one time I get a bit more of a specific error message:
which seems to point at the SVD in this line: https://github.com/MagneticResonanceImaging/MRIReco.jl/blob/62afb3cd455078a5d0ff8164557090e297d77483/src/Tools/CoilSensitivity.jl#L209
The error is not reproducible and I so far failed to create a MWE. But it seems to occur with both
@batch
and@threads
multithreading and is not related to to the@view
macro. I still have to try out single-threaded, but this is going to be slllooooowwww on such large datasets. Just wanted to create a track record in case anyone else is experience this problem, or has a suggestion on how to fix it.