Compile instructions

62 views
Skip to first unread message

Glenn Johnson

unread,
May 11, 2021, 1:24:15 PM5/11/21
to R-inla discussion group
Are there instructions for how to compile the inla binaries from source? I have read many threads here and can not seem to find the steps needed. I tried to piece things together from the make files but without success.

I downloaded the most recent release from github. The build-user directory seems to be the place to start but when the first problem that I hit are references to the mercurial repo, which seems to be unavailable. I changed those to point to github and get further. It is not clear to me why there needs to be a repository within the code that was already retrieved from github. In any event, gmrflib is failing looking for 'amd.h'. I have no idea how to obtain that.

Thanks.

INLA help

unread,
May 11, 2021, 1:25:20 PM5/11/21
to R-inla discussion group, Glenn Johnson
What OS would you compile on?

Haavard Rue
--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/r-inla-discussion-group/d65b88fd-4f11-4950-8aa7-c56d5428064bn%40googlegroups.com.

Glenn Johnson

unread,
May 11, 2021, 1:26:07 PM5/11/21
to R-inla discussion group
CentOS-7

INLA help

unread,
May 11, 2021, 1:27:00 PM5/11/21
to R-inla discussion group, Glenn Johnson
There are precompile binaries for CentOS7, do

inla.binary.install()


Haavard Rue

Glenn Johnson

unread,
May 11, 2021, 1:29:10 PM5/11/21
to R-inla discussion group
Yes, I know about that option. That works, but I would still like to build from source.

Helpdesk

unread,
May 11, 2021, 1:59:04 PM5/11/21
to Glenn Johnson, R-inla discussion group

I put on

hrue.r-inla-download.org/build64.tgz

my own directory for building on centos7. I do

export INLA_TAG=Version_21.05.02
make update

and then you'll find the binaries at

local/bin/inla local/bin/inla.mkl local/bin/fmesher
> > > https://groups.google.com/d/msgid/r-inla-discussion-group/e5b6993b-4d57-4952-a589-a25f9ff4f4e8n%40googlegroups.com
> > > .
> --
> You received this message because you are subscribed to the Google
> Groups "R-inla discussion group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to r-inla-discussion...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/r-inla-discussion-group/1db9191c-726e-4254-ab4a-31ef4c1e07edn%40googlegroups.com
> .

--
Håvard Rue
he...@r-inla.org

Helpdesk

unread,
May 11, 2021, 1:59:36 PM5/11/21
to Glenn Johnson, R-inla discussion group

it will take a few minutes before it shows up

Glenn Johnson

unread,
May 11, 2021, 2:41:41 PM5/11/21
to R-inla discussion group
Thank you!
Reply all
Reply to author
Forward
0 new messages