Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation failed #360

Open
beew opened this issue Jan 31, 2023 · 2 comments
Open

Installation failed #360

beew opened this issue Jan 31, 2023 · 2 comments

Comments

@beew
Copy link

beew commented Jan 31, 2023

I tried to install openmx with the script

source('https://vipbg.vcu.edu/vipbg/OpenMx2/software/getOpenMx.R')

After building for a long time, it failed with

MarkovExpectation.o MarkovFF.o asa.o asubnp.o ba81quad.o dmvnorm.o fitMultigroup.o general.o glue.o matlogexp.o matrix.o mvbvn.o nanotimer.o omxAlgebra.o omxAlgebraFitFunction.o omxData.o omxExpectation.o omxExpectationBA81.o omxExportBackendState.o omxFIMLFitFunction.o omxFitFunction.o omxFitFunctionBA81.o omxGREMLExpectation.o omxGREMLfitfunction.o omxHessianCalculation.o omxImportFrontendState.o omxLISRELExpectation.o omxMLFitFunction.o omxMatrix.o omxNLopt.o omxNPSOLSpecific.o omxNormalExpectation.o omxRAMExpectation.o omxRFitFunction.o omxRowFitFunction.o omxState.o omxStateSpaceExpectation.o omxSymbolTable.o omxWLSFitFunction.o optimize.o options.o penalty.o povRAM.o sadmvn.o slsqp.o ssMLFit.o stop.o -fopenmp -L../src -lnpsol -llapack -lblas -lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
../src/libnpsol.a: file not recognized: file format not recognized
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: OpenMx.so] Error 1
ERROR: compilation failed for package ‘OpenMx’
* removing ‘/usr/lib/R/library/OpenMx’

R 4.2.2, OS is Ubuntu 22.04, tried build with gcc 11.3 as well as gcc9

@RMKirkpatrick
Copy link
Contributor

I just committed dab591c. It won't fix your issue with the getOpenMx.R script, but you should now be able to build OpenMx from a clone of the OpenMx git repository. You'd be building from the master branch. Are you willing/able to do that? I can provide some guidance if so.

Also, which specific version of gcc9 did you try?

@beew
Copy link
Author

beew commented Jan 31, 2023

Hi,

Yes, I can try that if you give me the instructions. It is gcc-9.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants