Dear Forum,
I have been trying to install OpenMx on the TACC Stampede2 server and it kept failing. Could you please help?
I need OpenMx primarily to use metaSEM package.
Here is the information you may need.
Platform: x86_64-pc-linux-gnu (64-bit)
R version 4.0.3 (2020-10-10)
I have tried: (1) install.packages(OpenMx) & (2) source('https://vipbg.vcu.edu/vipbg/OpenMx2/software/getOpenMx.R')
Both did not work. The main error message I received was:
[compilation aborted for omxMLFitFunction.cpp (code 2)
make: *** [omxMLFitFunction.o] Error 2
ERROR: compilation failed for package ‘OpenMx’
Warning message:
In install.packages(pkgs = c("OpenMx"), contriburl = contrib.url(repos, :
installation of package ‘OpenMx’ had non-zero exit status]
- I also tried to use R version 3.5 in the server but didn't work as well.
Thank you so much!
Best,
Jihyun
You need to post the entire compile output, maybe as an attachment.
Thank you for the comment.
I attached the terminal output after I did "install.packages("OpenMx")"
Thank you!
I don't think anybody has tried to build with the proprietary Intel compiler. Try gcc
I've tried, actually. I couldn't get it to work. I don't remember why exactly, but I think it had to do with lack of support for GNU-specific extensions to the C++ standard?
Thank you for the comments. It sounds like it is not a simple problem. I may try to figure out other routes to make it work.
Thank you!