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.
--
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.
Thank you for your reply.
My INLA installation works correctly, and I think I have the same issues after upgrading INLA to the latest version.
Here is my package versions :
> sessionInfo() R version 4.3.3 (2024-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 24.04.3 LTS Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.12.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.0 locale: [1] LC_CTYPE=fr_FR.UTF-8 LC_NUMERIC=C LC_TIME=fr_FR.UTF-8 LC_COLLATE=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8 LC_MESSAGES=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C time zone: Europe/Paris tzcode source: system (glibc) attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] patchwork_1.3.2 INLA_25.12.16 Matrix_1.6-5 inlabru_2.13.0.9026 fmesher_0.6.1.9002 lubridate_1.9.4 forcats_1.0.1 stringr_1.6.0 dplyr_1.1.4 purrr_1.2.0 readr_2.1.6 tidyr_1.3.2 [13] tibble_3.3.0 tidyverse_2.0.0 ggplot2_4.0.1 loaded via a namespace (and not attached): [1] generics_0.1.4 class_7.3-22 KernSmooth_2.23-22 stringi_1.8.7 lattice_0.22-5 hms_1.1.4 magrittr_2.0.4 grid_4.3.3 timechange_0.3.0 RColorBrewer_1.1-3 plyr_1.8.9 e1071_1.7-17 [13] DBI_1.2.3 scales_1.4.0 cli_3.6.5 rlang_1.1.6 units_1.0-0 splines_4.3.3 withr_3.0.2 tools_4.3.3 parallel_4.3.3 MatrixModels_0.5-4 tzdb_0.5.0 vctrs_0.6.5 [25] R6_2.6.1 proxy_0.4-29 lifecycle_1.0.4 classInt_0.4-11 pkgconfig_2.0.3 pillar_1.11.1 gtable_0.3.6 glue_1.8.0 Rcpp_1.1.0 sf_1.0-23 tidyselect_1.2.1 rstudioapi_0.17.1 [37] farver_2.1.2 compiler_4.3.3 S7_0.2.1
On 15 Jan 2026, at 08:36, Camille Mottier <camille...@gmail.com> wrote:
To view this discussion, visit https://groups.google.com/d/msgid/r-inla-discussion-group/8b687af7-2ba0-46b3-9d02-4716651d7f1an%40googlegroups.com.
> sessionInfo()
R version 4.5.2 (2025-10-31)
Platform: x86_64-pc-linux-gnu
Running under: Ubuntu 24.04.3 LTS
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.26.so; LAPACK version 3.12.0
locale:
[1] LC_CTYPE=fr_FR.UTF-8 LC_NUMERIC=C LC_TIME=fr_FR.UTF-8 LC_COLLATE=fr_FR.UTF-8 LC_MONETARY=fr_FR.UTF-8
[6] LC_MESSAGES=fr_FR.UTF-8 LC_PAPER=fr_FR.UTF-8 LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C
time zone: Europe/Paris
tzcode source: system (glibc)
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] patchwork_1.3.2 INLA_25.12.16 Matrix_1.6-5 inlabru_2.13.0 fmesher_0.6.1 lubridate_1.9.4 forcats_1.0.1 stringr_1.6.0 dplyr_1.1.4
[10] purrr_1.2.1 readr_2.1.6 tidyr_1.3.2 tibble_3.3.1 tidyverse_2.0.0 ggplot2_4.0.1
loaded via a namespace (and not attached):
[1] gtable_0.3.6 compiler_4.5.2 Rcpp_1.1.1 tidyselect_1.2.1 splines_4.5.2 scales_1.4.0 lattice_0.22-5
[8] R6_2.6.1 generics_0.1.4 classInt_0.4-11 sf_1.0-24 units_1.0-0 DBI_1.2.3 pillar_1.11.1
[15] RColorBrewer_1.1-3 tzdb_0.5.0 rlang_1.1.7 stringi_1.8.7 S7_0.2.1 timechange_0.3.0 cli_3.6.5
[22] withr_3.0.2 magrittr_2.0.4 class_7.3-22 grid_4.5.2 rstudioapi_0.18.0 hms_1.1.4 lifecycle_1.0.5
[29] vctrs_0.7.0 KernSmooth_2.23-22 proxy_0.4-29 glue_1.8.0 farver_2.1.2 e1071_1.7-17 tools_4.5.2
[36] pkgconfig_2.0.3
CamilleTo view this discussion, visit https://groups.google.com/d/msgid/r-inla-discussion-group/88397036-8e48-4f73-8f94-6dd03aed22ad%40Spark.