Open muratmaga opened 2 years ago
@stnava this is still continuing to be an issue for our older machines. I think it is a cmake problem specific to the ZLIB. I found this thread, and it appears there is a solution by setting a specific flag. But I am not familiar with cmake system enough to understand where to specify this. ANy input would be much appreciated: https://github.com/zlib-ng/zlib-ng/issues/553
Late to this but FWIW, I had a look at the flags in ITKR and I don't see anything that specifically turns on AVX512. It should build with -march native. However, zlib is a third party module which has its own setting
Maybe ITK_USE_SYSTEM_ZLIB
in the ITK config could help, assuming that's available.
I am trying to build ANTsR in a relatively old hardware that doesn't support AVX_512 (the cpu is xeon v2). During R CMD INSTALL ITKR it is failing at this step:
How can I pass an argument to ZLIB not to use AVX2 or AVX512 during ITKR superbuild?