-
-
Notifications
You must be signed in to change notification settings - Fork 386
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
Atropos fails on macOS with ANTs 2.5.0 #1627
Comments
Hi @devDonnn , sorry for the delay in getting to this. I don't have an arm64 machine so I didn't investigate right away. I can reproduce this though on Intel Mac and Linux. It goes away if I replace the likelihood model 'HistogramParzenWindows' with 'Gaussian' Reproduced with
|
Many ANTs compilations later, I have isolated the commit:
|
OK so to gather the information, this fails if multi-threaded, starting at commit 0ac02f6 by @br-cpvc
It works if I use a single thread, or if I change the likelihood to Gaussian. But it fails if using |
Debug stack trace from lldb. Looking at frame #18. Can't do much more for now but will look again later |
Looks like the problem is here
Multiple threads are using the same m_Interpolator object simultaneously. Using a local interpolator (as is done in I'm not sure of the best way to proceed here, @ntustison would you mind taking a look when you have some time? Thanks |
Will do. Thanks for tracking this down @cookpa |
Thanks! FYI |
Results look good and consistent with v2.4.0 |
Hi,
I've been running ANTs Atropos using the downloaded GitHub release binary ants-2.5.0-macos-12-X64-clang.zip for my Mac Studio, Apple M1 Max, macOS 14.1.1:
However, it crashes with the following terminal output:
On the other hand, I had no problems with the ANTs 2.4.2 version (also downloaded GitHub release binary).
The text was updated successfully, but these errors were encountered: