You are here

Crashing R in OS X

7 posts / 0 new
Last post
pdeboeck's picture
Offline
Joined: 08/04/2009 - 15:55
Crashing R in OS X
AttachmentSize
Binary Data CoupledOscillator.R3.71 KB

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.

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

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

tbrick's picture
Offline
Joined: 07/31/2009 - 15:10
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!

tbrick's picture
Offline
Joined: 07/31/2009 - 15:10
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-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!

tbrick's picture
Offline
Joined: 07/31/2009 - 15:10
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 - 15:55
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 - 14:03
Next binary release will be

Next binary release will be later this week.