Attachment | Size |
---|---|
OpenMx.sysinfo.txt [6] | 974 bytes |
OpenMx.segfault.txt [7] | 1.25 KB |
OpenMx.install.txt [8] | 11.45 KB |
OpenMax.ubuntu8.install.txt [9] | 22.72 KB |
I just tried installing 0.2.5 on two different x86_64 systems, both running R 2.10.1.
On one, running Red Hat EL 5, I get a memory mapping failure and a segfault, I think from NPSOL. On the other, running Ubuntu 8, the install completes but OpenMx doesnt show up in installed.packages(), and the first tutorial example fails.
Are people running these combinations successfully?
Below is some of my output; I've attached the install logs and other info. The 3 files without system names are from the RHEL5 system;
OpenMax.ubuntu8.install.txt is from the Ubuntu system.
- Mike
==== On the RH EL5 system, I get:
> require(OpenMx)
Loading required package: OpenMx
>
> require(OpenMx)
>
> data(demoOneFactor)
>
> factorModel <- mxModel(name = "One Factor",
+ mxMatrix(type="Full", nrow=5, ncol=1, free=T, values=0.2, name="A"),
+ mxMatrix(type="Symm", nrow=1, ncol=1, free=T, values=1, name="L"),
+ mxMatrix(type="Diag", nrow=5, ncol=5, free=T, values=1, name="U"),
+ mxAlgebra(expression=A %% L %% t(A) + U, name="R"),
+ mxMLObjective(covariance="R", dimnames = names(demoOneFactor)),
+ mxData(observed=cov(demoOneFactor), type="cov", numObs=500))
>
> factorModelFit <- mxRun(factorModel)
Running One Factor
*** caught segfault ***
address 0x81280aa48, cause 'memory not mapped'
Traceback:
1: .Call("callNPSOL", objective, startVals, constraints, matrices, parameters, algebras, data, options, state, PACKAGE = "OpenMx")
2: mxRun(factorModel)
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
==== On the Ubuntu 8 system, I get:
> require(OpenMx)
Loading required package: OpenMx
>
> data(demoOneFactor)
> manifests <- names(demoOneFactor)
> latents <- c("G")
>
> factorModel <- mxModel("One Factor",
+ type="RAM",
+ manifestVars = manifests,
+ latentVars = latents,
+ mxPath(from=latents, to=manifests),
+ mxPath(from=manifests, arrows=2),
+ mxPath(from=latents, arrows=2, free=F, values=1.0),
+ mxData(observed=cov(demoOneFactor), type="cov", numObs=500))
>
> summary(mxRun(factorModel))
Running One Factor
Error in mxVersion() : subscript out of bounds
Error in summary(mxRun(factorModel)) :
error in evaluating the argument 'object' in selecting a method for function 'summary'
> traceback()
1: summary(mxRun(factorModel))
> mxVersion()
Error in mxVersion() : subscript out of bounds
> require(OpenMx)
> mxVersion()
Error in mxVersion() : subscript out of bounds
>