Error in fmesher.read(prefix, "manifold") :

55 views
Skip to first unread message

Ania Kawiecki

unread,
Jun 19, 2021, 10:07:17 PM6/19/21
to R-inla discussion group
Hi! I'm getting a very strange error now when I try to make a mesh in INLA. 

This is what happened: I updated to R 4.1.0, realized INLA didn't work on there. So I went back to "R version 3.6.3 (2020-02-29)", re-installed INLA and then this error started happening (see below). 
Am on macOS Big Sur Version 11.2.3. 

Any help would be much appreciated!!!  Thanks!

library(tidyverse)
> library(INLA)
> pts <- matrix(c(0,3,2,1,0,0,1,2,0,0,1,0), ncol=2)
> mesh1 <- inla.mesh.2d(pts, max.edge = c(0, 3))
dyld: Symbol not found: __ZNSt3__14__fs10filesystem8__statusERKNS1_4pathEPNS_10error_codeE
  Referenced from: /usr/lib/liboah.dylib
  Expected in: /Library/Frameworks/R.framework/Resources/lib/libc++.1.dylib
 in /usr/lib/liboah.dylib
Error in fmesher.read(prefix, "manifold") : 
  File '/var/folders/73/khvg24rs6k51cztp9shc14gh0000gn/T//RtmpcMIWtO/fmesher6fd7587dcb55.manifold' does not exist.
> bnd1 <- inla.nonconvex.hull(pts)
dyld: Symbol not found: __ZNSt3__14__fs10filesystem8__statusERKNS1_4pathEPNS_10error_codeE
  Referenced from: /usr/lib/liboah.dylib
  Expected in: /Library/Frameworks/R.framework/Resources/lib/libc++.1.dylib
 in /usr/lib/liboah.dylib
Error in fmesher.read(prefix, "manifold") : 
  File '/var/folders/73/khvg24rs6k51cztp9shc14gh0000gn/T//RtmpcMIWtO/fmesher6fd72ab066d6.manifold' does not exist.

Helpdesk

unread,
Jun 19, 2021, 11:09:24 PM6/19/21
to Ania Kawiecki, R-inla discussion group

try to install R-4.0 instead of the R-3.6. I guess you're on the Intel
and not the M1, right ? If you're on the M1, you'll need to to install
R-4.1 and download the M1 build of INLA

sure you do not want to call inla.mesh.1d() ?


On Sat, 2021-06-19 at 19:07 -0700, 'Ania Kawiecki' via R-inla discussion
> --
> 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/9126c295-a496-4901-9f38-cbf9e444711bn%40googlegroups.com
> .

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

John M. Aiken

unread,
Jun 11, 2023, 4:52:09 PM6/11/23
to R-inla discussion group
Where can you find the M1 build of INLA?

Helpdesk (Haavard Rue)

unread,
Jun 13, 2023, 4:02:42 PM6/13/23
to John M. Aiken, R-inla discussion group
Why this is marked as abuse? It has been marked as abuse.
Report not abuse
If you install, as described at r-inla.org, then it should pick it up
automatically.

otherwise, you can always download it manually from inla.r-inla-
download.org


https://inla.r-inla-download.org/R/testing/bin/macosx/arm64/contrib/4.3/
Reply all
Reply to author
Forward
0 new messages