Dear LAPACK team,
Thank you for your excellent work on this fantastic library!
I have a question regarding routines like DORMQR. This routine modifies one of its input arguments (A), and then restores it on exit. As I understand it, this means that DORMQR is *not* thread-safe; if two different threads try to use the same matrix as the input argument (A), then at least one of the threads may compute the wrong answer. If thread one tries to restore "A" before thread two is done using it, then thread two will compute the wrong answer. Is this reasoning correct?
The MKL documentation (at http://www.intel.com/software/products/ ... ormqr.html ) doesn't mention modifying or restoring input arguments, so I assume their version *is* thread-safe.
Am I wrong here? Could someone please straighten me out? I couldn't find any mention of this issue on the web.
Thanks in advance,
Patrick O. Perry
Department of Statistics
Stanford University

