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

Compilation on Linux (RHEL7) #2

Open
luc-girod opened this issue Dec 1, 2020 · 0 comments
Open

Compilation on Linux (RHEL7) #2

luc-girod opened this issue Dec 1, 2020 · 0 comments

Comments

@luc-girod
Copy link

Hello!

I am trying to compile this for one of my users and am running into issues.

My system has GCC 7.2.0 and OpenMPI 1.8.8. I have downloaded the submodules and the rj-MCMC 1.1.0.

The code seems to expect the rj-MCMC .h files to be in src, so I put the compiled version in there (cp -r ${RJMCMCHOME}/include/rjmcmc/ src/).

From there, I had to add "-lm" to the makefiles as otherwise it was complaining about the libraries not being there, and now I am getting thousands of "undefined references".

Any tips on how to compile this from scratch on Linux? The readme is pretty incomplete...

Thanks!!

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

1 participant