Installing error on Stampede2

Posted on
No user picture. jhl12 Joined: 12/14/2020
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

Replied on Sun, 02/21/2021 - 15:03
No user picture. AdminJosh Joined: 12/12/2012

I don't think anybody has tried to build with the proprietary Intel compiler. Try gcc
Replied on Sun, 02/21/2021 - 16:02
Picture of user. AdminRobK Joined: 01/24/2014

In reply to by AdminJosh

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?
Replied on Sun, 02/21/2021 - 21:58
No user picture. jhl12 Joined: 12/14/2020

In reply to by AdminRobK

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!