OpenMx Error Messages
Please read before posting: Help us help you!
- The actual text of the error message.
- The version of OpenMx you're running (enter
mxVersion()
at the R prompt). - The version of R you're running.
- Your operating system and architecture (e.g., "x86_64 Linux").
- OpenMx's default optimizer (which will always be NPSOL for OpenMx versions 1.4 or older).
- Read more about Please read before posting: Help us help you!
- Log in or register to post comments
General strategies
- Use the traceback() function in R after an error occurs.
It will print out the sequence of function calls that lead to the error. - Simplify your code. This may help you locate an error more easily. For example, replace the following:
foo <- mxModel(mxMatrix('Full', 1, 2, name = 'a'), mxAlgebra(a + a, 'b'), mxAlgebraObjective('b'))
with:
- Read more about General strategies
- Log in or register to post comments
NPSOL is not available in this build
I experienced the below error message when I am running the ACE model:
==========================================================
Running oneSATc with 10 parameters
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NPSOL is not available in this build. See ?omxGetNPSOL() to download this optimizer
==========================================================
This is the version of my MacOS and OpenMX:
- Read more about NPSOL is not available in this build
- Log in or register to post comments
NPSOL is not available in this build
I experienced the below error message when I am running the ACE model:
==========================================================
Running oneSATc with 10 parameters
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NPSOL is not available in this build. See ?omxGetNPSOL() to download this optimizer
==========================================================
This is the version of my MacOS and OpenMX:
- Read more about NPSOL is not available in this build
- 1 comment
- Log in or register to post comments
Error Code 6
I have written up a script using a RAM formulation and so is maximizing the likelihood using the mxExpectationRAM() function with raw data. I have got a warning message with status code 6 when I ran my model in openMX. The model was identified, which was tested by mxCheckIdentification().
- Read more about Error Code 6
- 3 comments
- Log in or register to post comments
Error only occurring on Amazon linux instance
library(devtools)
#install_github("sciarraseb/nonlinSims", dependencies = T, force=T)
library(easypackages)
library(nonlinSims)
library(parallel)
library(tidyverse)
library(OpenMx)
library(data.table)
- Read more about Error only occurring on Amazon linux instance
- 6 comments
- Log in or register to post comments
Error: [...] fit is not finite
I am using an ACE univariate script with AE, CE and E nested models. I think that the script itself is good and makes sense, however, using a relatively small dataset (40 MZ pairs; 25 DZ pairs) (this is fMRI data), I get the following error message:
- Read more about Error: [...] fit is not finite
- 3 comments
- Log in or register to post comments
NPSOL Optimizer error
Code: https://ibg.colorado.edu/cdrom2018/deleeuw/sexLimitation/oneACE5cSOLVED.R
source: https://ibg.colorado.edu/cdrom2018/deleeuw/sexLimitation/miFunctions.R
data: https://ibg.colorado.edu/cdrom2018/deleeuw/sexLimitation/sexLimACE.dat
The following happens :
###what I type
source("miFunctions.R")
- Read more about NPSOL Optimizer error
- 9 comments
- Log in or register to post comments
Error Message - LCGA 1 Class
Could you help me understanding the following error message when fitting a 1class LCGA (Script and summary attached)?
Eventually, I obtain the results, but I am a bit skeptical due to the error message.
Fit attempt 10, fit=364650.77991012, new current best! (was 366100.551846931)Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), :
'data' must be of a vector type, was 'NULL'
Retry limit reached; solution not found. Best fit=364650.78 (started at 1881335.6) (11 attempt(s): 9 valid, 2 errors)
- Read more about Error Message - LCGA 1 Class
- 4 comments
- Log in or register to post comments
Error Message - Quadratic Growth Model (Even after mxTryHard)
-> Can you help me understanding why I get this error message when fitting this unconditional quadratic growth model?
-> Once running the script attached, I get this error:
Running Quadratic Growth Model, Path Specification with 10 parameters
Error: The job for model 'Quadratic Growth Model, Path Specification' exited abnormally with the error message: fit is not finite (The continuous part of the model implied covariance (loc2) is not positive definite in data 'Quadratic Growth Model, Path Specification.data' row 8664.
Pagination
- Page 1
- Next page