Crashing R in OS X

Posted on
Picture of user. pdeboeck Joined: 08/04/2009
Forums
Here's an interesting one...

So I've recently been working on converting an mx script to OpenMx (file attached). I might be doing something I shouldn't, but the script caused R on my Mac to close w/out explanation or warning. Everything goes fine until I hit "mxRun." I ran this under Windows XP and got the following error:

> EstModel <- mxRun(CoupledModel)
Running CoupledModel
Error in mxRun(CoupledModel) :
BLAS/LAPACK routine 'DGEMM ' gave error code -13

So the first problem is this error code, the second is that R did not give this warning in OS X but rather terminated the program. I used source() to get OpenMx, so I'm still on version 708.

Replied on Sun, 08/23/2009 - 12:17
Picture of user. tbrick Joined: 07/31/2009

Thanks for the submission.

Looks like the error is being thrown somewhere in the quadratic product calculation. I've created an issue ticket (http://openmx.psyc.virginia.edu/issue/2009/08/dgemm-error-quadratic-calculation) for it, and am digging in on fixing it.

With your permission, I'll add this script to the test bank so that we can catch it if we ever hit this error again.

Thanks!