-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
weird behavior on some Macs #62
Comments
Thanks for the heads up @jsocolar, I think you're probably right that this is a DGGRID issue so I'm going to have to have a look at it. Alas, I hate hunting weird numeric bugs... |
Thanks @sahrk! Happy to run tests on M1 for you if that's helpful, though I'd need relatively complete and explicit instructions for how to run them. Love DGGRID! |
Why I was just about to ask you if you might be willing to do so, thanks! I'd like to confirm that the problem is with Then put the two attached files
Then please give me the resulting files Note that |
Sorry this took me so long! I'm pretty sure I've managed to do the right steps. In case it matters DGGRID did not find GDAL on my system. The two files you requested are attached. This was on OS 12.2 with an M1 Pro chip. |
Thanks @jsocolar, that looks perfect and no worries on the time! I don't think the lack of GDAL should matter. I notice that the M1 has a 64 bit To do so, first update to (or download the latest version of) the master branch of DGGRID. Then in Then put the two attached files into your current directory and run: Finally, please give me the resulting files |
Hello @sahrk. I've run this on a normal M1 chip, after building in debug mode. Here is the output. I've also run meta.txt again and get the same error and cell numbers It would be very nice if the source of this bug could be found, so we can push out an update to dggridR that will make it work again for Mac users. Curiously I find that v2.0.3 of dggridR, which uses v6.1 of DGGRID (https://github.com/r-barnes/dggridR/blob/v2.0.3/src/DgBase.h) does work with the M1. This version however uses depreciated spatial libraries in R so it will be best to resolve the issue in the current version of DGGRID and release an updated version of dggridR - also for apple silicon users of DGGRID. |
Some pretty spooky behavior is bubbling up in users of R package dggridR that I think must have its origins in DGGRID itself. I think the most complete statement of the issue is here, though as noted this looks like the same issue. The issue has only been reported by users of M1 chips, but it isn't clear what the significance of that is--maybe it's specific to the M1 architecture, or maybe it is specific to some other aspect of these machines (e.g. the C++ compiler or goodness knows what else).
The text was updated successfully, but these errors were encountered: