GeoscienceAustralia/rjmcmcmt

Compilation on Linux (RHEL7)

luc-girod opened this issue · 0 comments

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!!