Closed fedorov closed 2 months ago
Thanks @fedorov for creating the ticket! This has been an issue for a long time now, and it would be important to fix this. Unfortunately we don't use Mac at all, and I don't even have one (nor the experience to work on such issues on Mac). Can we add the high priority label for this? It can be a blocking issue for Mac users not to be able to install certain extensions.
One solution could be to get rid of OpenMP.
Recently the same problem came up in Elastix extension, and after consulting with Jc and Matt McCormick, the decision was to disable use of OpenMP, because it usually does not provide perceivable performance improvement and often causes packaging problems like this.
In terms of SlicerRT, this will need to be consulted with @gregsharp . If we can remove OpenMP from the package without having much effect on the current modules, then it sounds like an acceptable solution.
I just ran into this same problem. Any updates?
In which Slicer version? Latest stable and preview should work fine.
v5.6.2. Here's the error message:
Could you please copy the application log here? Not screenshots, as they are not searchable and show only a tiny piece of the full log. Please also test with the latest Slicer Preview Release. Thank you!
Latest stable and preview should work fine
@lassoan Are you sure? There has been no activity in SlicerRT since we discussed the issue on Mac, see above. Did I miss something?
Here's the full log from 5.6.2.
slicer-5.6.2-slicerRT-error.txt
Thank you. It is indeed the same OpenMP issue and I did not remember correctly (I made the same workaround for SlicerElastix and not for SlicerRT). I've pushed a commit now to disable OpenMP in Plastimatch. @kirbyju please test tomorrow and close this issue if SlicerRT works. Thank you!
Excellent, thank you so much Andras!
Works in latest preview, thanks.
Edit: I'm not seeing any option to let me close the issue.
Thank you Andras and Justin! I have not tested, but I take Justin's word for it, and will close the issue!
As discussed in this thread https://discourse.slicer.org/t/failure-to-load-rtstruct-dicom-file/33504/5, it has been failing at least since Slicer 5.6.1.