mxRun

6 replies [Last post]
tbates's picture
Offline
Joined: 07/31/2009
tbates's picture
Offline
Joined: 07/31/2009
Is it possible for mxRun to

Is it possible for mxRun to give some help in locating an error?

i did this
mxRun(model);
and got:

Running common_path_constraint_ACE 
Error in mxRun(model) : Non-conformable matrices in Matrix Subtract.

I don't think I am using matrix subtraction, so it would be v.handy to have the error generator tag the message with where it was up to, like

"I was checking model ‘share’ when I felt I had to tell you:..."

I ran trackback() and got this, which didn't much enlighten me unfortunately.

2: .Call("callNPSOL", objective, startVals, constraints, matrices, 
       parameters, algebras, data, options, state, PACKAGE = "OpenMx")
1: mxRun(model)

mspiegel's picture
Offline
Joined: 07/31/2009
Are you running the latest

Are you running the latest revision from the subversion trunk? This error should have been detected by the front-end.

mspiegel's picture
Offline
Joined: 07/31/2009
Oh I see the ticket request.

Oh I see the ticket request. Yes constraints are currently not checked for dimensional equality. This can be fixed.

mspiegel's picture
Offline
Joined: 07/31/2009
OK try the same script in

OK try the same script in revision 831.

tbates's picture
Offline
Joined: 07/31/2009
Thanks Michael: this program

Thanks Michael: this program is going to be bullet proof!

> fit = mxRun(model)
Running common_path_constraint_ACE
Error: The algebras/matrices 'all.L' and 'all.nFac_IMatrix' in model 'common_path_constraint_ACE' are in constraint 'all.constraint1' and are not of identical dimensions

Steve's picture
Offline
Joined: 07/30/2009
Yeah, that would be a

Yeah, that would be a subtraction behind the scenes. Good catch, Michael!