OpenMx Error Messages
spanosal
Joined: 06/02/2010
Code Red Error message NPSOL
I am running a series of univariate models before I combine my variables into a trivariate cholesky. I am running a full ACE model as well as nested AE, CE and E models and my AE is best fitting (not sure if this is important but I am only requesting CIs for my AE model since it is best-fitting). The following error messages consistently pop up under the output for AE. The output for the full ACE and other nested models does not show this error message.
- Read more about Code Red Error message NPSOL
- 7 comments
- Log in or register to post comments
bverhulst
Joined: 03/08/2010
Strange Error Message
Hi All:
I just got this strange error message when I ran the script below (trying to use a covariance matrix rather than raw data).
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
BLAS/LAPACK routine 'DSYMM ' gave error code -9
Here is the script that generated the error:
require(OpenMx)
source("http://www.vipbg.vcu.edu/~vipbg/Tc24/GenEpiHelperFunctions.R")
mzCov <- matrix(c(1, .6, .6, 1), 2,
dimnames=list(c("y1", "y2"), c("y1", "y2")))
dzCov <- matrix(c(1, .4, .4, 1), 2,
dimnames=list(c("y1", "y2"), c("y1", "y2")))
- Read more about Strange Error Message
- 13 comments
- Log in or register to post comments
Jean
Joined: 11/10/2009
Error: Illegal label 'Rand[data.ID,1]' detected in matrix 'A'. Square brackets must contain numeric literals when used inside of
Hi,
I met with the error when I was running a Random Coefficient model:
Error: Illegal label 'Rand[data.ID,1]' detected in matrix 'A'. Square brackets must contain numeric literals when used inside of labels.
So, can we use the definition variable inside of the square brackets? Or maybe there is something wrong with my script. The related script is as below, and the variable ID is numeric (1:100).
-----------------------------------------------------------------------------------------
RandVals <- matrix(c(-0.2, -0.2), numSubjects, 2, byrow=TRUE)
...
...
...
MNivard
Joined: 12/09/2010
argument is missing, with no default
I get the following error messeage from openMX:
Error in mxModel("ACE", mxMatrix(type = "Iden", nrow = 4, ncol = 4, name = "I"), :
argument is missing, with no default
this "ACE" mxModel object contains only mxMatrix and MxAlgebra ellements.
It is one of six submodels in a bigger model this bigger model contains an mx Algebraobjective the other 5 submodels contain data and a mxFIMLObjective each for the different groups.
Which argument am i missing in this ACE mxModel? which are the required model arguments anyway?
- Read more about argument is missing, with no default
- 2 comments
- Log in or register to post comments
brandmaier
Joined: 02/04/2010
No dataset associated with a model
Hi everybody!
It seems that OpenMx does not allow specifying a model without a dataset (see error message (1)). Sure, we will eventually need a dataset to run the model but at design time, I might not have a dataset yet. Only later in the program I might decide to load different datasets and associate them with the same model while at first the dataset reference could be NULL.
Shouldn't OpenMx allow NULL or some kind of empty dataset and test only within run() whether there is a valid dataset available?
- Read more about No dataset associated with a model
- 2 comments
- Log in or register to post comments
pgseye
Joined: 10/13/2009
Error in Slot
Hi,
Some scripts which I'm sure have run without problems a couple of months ago are now giving me the following error:
> equateAEModelFit <- mxRun(equateAEModel)
Running equateAE
Error in slot(model, name) :
no slot of name ".newobjects" for this object of class "MxModel"
Any ideas what's happening?
Thanks,
Paul
- Read more about Error in Slot
- 4 comments
- Log in or register to post comments
Ryne
Joined: 07/31/2009
Scientific Notation in Object Names
I got a rather funny error message from a simulation I was running, and would like to share to prompt a bug fix, discussion and laughter.
Error in checkForRemoteErrors(val):
one node produced an error: The name 'untitled1e+05' is illegal because it contains the '+' character in mxMatrix("Full", values = value, name = localName)
- Read more about Scientific Notation in Object Names
- 8 comments
- Log in or register to post comments
SarahWard
Joined: 03/08/2010
error: "A cycle has been detected in model 'rGE' involving the following elements"
Hi there, I was trying to modify a script I found online, from http://www.vipbg.vcu.edu/~vipbg/OpenMx/, called "InteractionGxE_rGE-hm2.R:. I keep getting the message "Error: A cycle has been detected in model 'rGE' involving the following elements: 'DZ.min2sumll' and 'DZ.objective'". I haven't seen that error before, I'm having trouble finding my error in the syntax. Any pointers for fixing this?
alena.d
Joined: 11/27/2010
In model 'Similarity Model' NPSOL returned a non-zero status code 6
Hello all,
when I want to fit my model, I receive this warning message:
In model 'Similarity Model' NPSOL returned a non-zero status code 6. The model does not satisfy the first-order optimality conditions to the required accuracy, and no improved point for the merit function could be found during the final linesearch (Mx status RED)
and when I then summary my fit, some values are missing.
Below, you can see, my model and also results from summary.
I am a begginer, so I would be really happy, if someone helped me.
Alena
simModel<-mxModel("Similarity Model",
type="RAM",
bverhulst
Joined: 03/08/2010
Error message with mxConstraint
Hi All,
I am having an issue with the mxConstraint command.
I am getting an error when I try and constrain the sum of the squared real and imaginary eigenvalues to be less than a unit matrix.
The algebra and constraint commands are:
mxAlgebra( expression=(eigenval(ACE.bm)^2) + (ieigenval(ACE.bm)^2), name="eigen"), Here are the matrices under question: Real Eigenvalue Matrix
mxMatrix( type="Full", nrow=2, ncol=1, free=FALSE, values= 1, name="unit"),
mxConstraint(eigen
[,1]
[1,] 0
[2,] 0
- Read more about Error message with mxConstraint
- 8 comments
- Log in or register to post comments
Pagination
- Previous page
- Page 11
- Next page