Hi Peter,

What do you mean by "unsuccessful until now"? I tested T25191-v2018.04-beta, cherry-picking your 4 OpenMP commits and it's still unsuccessful. I have a list of undefined symbols, for example
Undefined symbols for architecture x86_64:
  "___kmpc_critical", referenced from:
      _.omp_outlined..8 in mitkWeightedPointTransform.cpp

Is this where you're stuck at? Or were you successful?

Nil Goyette

Le 2018-10-03 à 09:08, Neher, Peter a écrit :
Hi Nil,

The trick is that we do not build MITK Diffusion for Mac, which is admittedly a 
rather poor solution. Apple Clang does not ship with openmp anymore. The branch 
you mentioned was a first try to fix this following this solution: 
https://iscinumpy.gitlab.io/post/omp-on-high-sierra/
Unfortunately unsuccessful until now. Feel free to check it out though. Since 
we don't have a mac developer working with diffusion, this issue is not well 
covered on our side.

Peter

-----Ursprüngliche Nachricht-----
Von: Nil Goyette <nil.goye...@usherbrooke.ca>
Gesendet: Mittwoch, 3. Oktober 2018 14:56
An: mitk-users@lists.sourceforge.net; Neher, Peter <p.ne...@dkfz-heidelberg.de>
Betreff: OpenMP

Hi all, Peter,

I'm trying to build MITK beta on macOS (all tools installed/upgraded with mac 
port) and it's failing in the DiffusionImaging module because of OpenMP.

.../Modules/DiffusionImaging/FiberTracking/Algorithms/itkStreamlineTrackingFilter.cpp:21:10:
 fatal error: 'omp.h' file not found #include <omp.h>
           ^~~~~~~

What's the trick? Do you use a special flag? Does the T25420-Omp [1] branch fix 
this?

Nil


[1] https://phabricator.mitk.org/source/mitk/browse/T25420-Omp/




_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to