Spatio-temporal LGCP

10 views
Skip to first unread message

Camille Mottier

unread,
Jan 13, 2026, 10:23:33 AM (19 hours ago) Jan 13
to R-inla discussion group

Dear INLA-community


I am trying to fit a spatio-temporal LGCP thin model using inlabru (code and data provided below). I am encountering a few issues : the model fitting does not finish or I get the error message shown below. I have tried changing the mesh size and the study period, but it does not work any better. Do you have any ideas on how to fix this?

Kind regards,

Camille Mottier


sh: line 1: 39234 Bus error: 10 '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/INLA/bin/mac.arm64/inla.run' -s -v -t10:1 -P compact '/var/folders/ln/jf2twlj12snbq000z6qq5y7m0000gn/T//Rtmpyq4qTN/file951b6816385d/Model.ini' > '/var/folders/ln/jf2twlj12snbq000z6qq5y7m0000gn/T//Rtmpyq4qTN/file951b6816385d/Logfile.txt'

 *** inla.core.safe: The inla program failed, but will rerun in case better initial values may help. try=1/1 
sh: line 1: 39362 Bus error: 10 '/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/INLA/bin/mac.arm64/inla.run' -s -v -t10:1 -P compact '/var/folders/ln/jf2twlj12snbq000z6qq5y7m0000gn/T//Rtmpyq4qTN/file951b1bb542c8/Model.ini' > '/var/folders/ln/jf2twlj12snbq000z6qq5y7m0000gn/T//Rtmpyq4qTN/file951b1bb542c8/Logfile.txt'
Warning in bru_log_warn(paste0("iinla: Problem in inla:\n", result)) :

 iinla: Problem in inla:
Error in inla.core.safe(formula = formula, family = family, contrasts = contrasts, : 
 The inla-program exited with an error. Unless you interupted it yourself, please rerun with verbose=TRUE and check the output carefully.
 If this does not help, please contact the developers at <he...@r-inla.org>.
The inla program failed and the maximum number of tries has been reached.
iinla: Problem in inla:
1: lgcp(components = cmp_1, data = nutria_test, samplers = occitanie, domain [...]
2: bru(components, lik, options = options, .envir = .envir)
3: iinla(model = info[["model"]], lhoods = info[["lhoods"]], inputs = info[[" [...]
4: fm_try_callstack(...)
5: do.call(INLA::inla, inla.options.merged, envir = environment(model$effects))
6: (function (formula = NULL, family = "gaussian", contrasts = NULL, data = N [...]
7: inla.core.safe(formula = formula, family = family, contrasts = contrasts, [...]
8: stop(paste0(r$message, "\n", "The inla program failed and the maximum n [... truncated]
iinla: Giving up and returning last successfully obtained result for diagnostic purposes.



data_mesh_grid.RData
LGCP.R

Finn Lindgren

unread,
Jan 13, 2026, 11:00:32 AM (18 hours ago) Jan 13
to Camille Mottier, R-inla discussion group
Please run a basic inla test to verify that your INLA installation is working at all.
For an example of a basic test, see for example here:

Finn



--
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, visit https://groups.google.com/d/msgid/r-inla-discussion-group/0275f700-407e-45b3-aa2f-0e70eeb1b26bn%40googlegroups.com.


--
Finn Lindgren
email: finn.l...@gmail.com

Finn Lindgren

unread,
Jan 13, 2026, 11:03:33 AM (18 hours ago) Jan 13
to Camille Mottier, R-inla discussion group
Also provide your package versions, with sessionInfo() and upgrade if you don't have the latest versions of INLA and inlabru (25.12.16 and >= 2.13.0 respectively).

Finn
Reply all
Reply to author
Forward
0 new messages