You are here

OpenMx fails to install under R-4.1.3 Linux, omp.h file not found error

4 posts / 0 new
Last post
arinbasu's picture
Offline
Joined: 06/09/2011 - 01:45
OpenMx fails to install under R-4.1.3 Linux, omp.h file not found error

I tried to install OpenMx in Void linux.
The R version is 4.1.3
(I have not installed 4.2.0 as it is not yet available on their servers and I did not want to install myself)
On install.packages("OpenMx"), it halts as it cannot find omp.h file.
However, omp.h file is present in the following location:

/usr/lib/clang/12.0.1/include/omp.h

How can I make sure that OpenMx installation can "see" this file?

Would greatly appreciate your guidance.

Best,
Arin

lf-araujo's picture
Offline
Joined: 11/25/2020 - 13:24
It seems omp-devel is

It seems omp-devel is available in Void's repos: https://voidlinux.org/packages/?arch=x86_64&q=omp-devel

Could you please try installing these listed in the link above and trying again?

Instructions for xbps-install can be found here: https://docs.voidlinux.org/xbps/index.html

arinbasu's picture
Offline
Joined: 06/09/2011 - 01:45
Thanks for solving this!

Thanks for solving this, @if-araujo !
Installing libgomp-devel, libseccomp-devel solved the problem.
Libomp-devel was already installed.
Leaving it here just in case other Void Linux users who'd like to install OpenMx and running into problems may benefit.
Best,
Arin Basu

thenameoftaste's picture
Offline
Joined: 08/13/2022 - 08:28
Aww. I was facing the same

Aww. I was facing the same issue ! I searched "OpenMx fails to install under R-4.1.3 Linux, omp.h file not found error" at Google and landed on this page. Also fixed my problem.

Thank you so much....

Also I love your youtube channel. Keep updating.