Out of space in MKL

Out of space in MKL

What happens if MKL cannot allocate space for internal buffers.Does it crash?Does it use a simple version that does not require any buffers?Is there anyto know if MKL ran out of buffer space?Is this documented anywhere?Erling

Quoting erling_andersenDoes that mean if it runs out of space the result is invalid.Or does it compute the result by a simpler method requiring no extra space? If MKL functioncalls XERBLA or retuns error code on user levelthen calculations are aborted and function result is invalid. However, in some cases MKL functions can or coulduse different implementations depending on available resources.

So if you call say dgemm from multiple threads threads you will not know in which thread it failed? Right?If the answer is yes, then you have to conclude all dgemms failed in order to be safe.[I know you did not design BLAS, but it make it very hard to build rock solid applications.]