Crashing R in OS X

6 replies [Last post]
pdeboeck's picture
Offline
Joined: 08/04/2009

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.

AttachmentSize
CoupledOscillator.R3.71 KB
tbrick's picture
Offline
Joined: 07/31/2009
Thanks for the

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-calc...) 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!

tbrick's picture
Offline
Joined: 07/31/2009
The quadratic product

The quadratic product calculation error has been fixed in revision 746. It should be available in the next binary release.

pdeboeck's picture
Offline
Joined: 08/04/2009
I'm fine with adding the

I'm fine with adding the script to the test bank. How can I get revision 746, so that I can continue testing?

Steve's picture
Offline
Joined: 07/30/2009
Next binary release will be

Next binary release will be later this week.

tbates's picture
Offline
Joined: 07/31/2009
i've had a crash today also,

i've had a crash today also, again (attempting) converting an mx script....

AttachmentSize
crash.log 24.15 KB
tbrick's picture
Offline
Joined: 07/31/2009
This looks like a similar

This looks like a similar problem to the one above. Could you post the R script you were running?

Thanks!