[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-20 Thread Kenneth Hoste
Kenneth Hoste added the comment: After a bit of back and forth, we have figured out the underlying cause for the problem with the Intel compiler: if the stack limit is not set to a specific value (see output of "ulimit -s"), the Intel compilers fail with a segfault or Interal Compiler Error

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-19 Thread Andrew Edmondson
Andrew Edmondson added the comment: See https://software.intel.com/en-us/forums/intel-c-compiler/topic/780574 -- ___ Python tracker ___

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-19 Thread Andrew Edmondson
Andrew Edmondson added the comment: I made the patch. I'm not sure it's suitable to commit back as it is, as it unrolls a macro but there seems to be a choice of macro in the code (depending on certain conditions). The problem is that icc can't handle a line that is so long. I didn't log

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-19 Thread Christian Heimes
Christian Heimes added the comment: I read the patch. The manual loop unrolling is ugly but mostly ok. But I'm -1 on the "-O0" option and won't accept the patch unless it works with standard optimization. sha3 is already slow. Without optimization, the algorithm grinds to a halt. Did

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-06-19 Thread Kenneth Hoste
Kenneth Hoste added the comment: @William: someone in the EasyBuild community seems to have figured out the culprit, and came up with a patch to work around the problem, see https://github.com/easybuilders/easybuild-easyconfigs/pull/6447/files#diff-bdbfca2206414b3b37794b77c0abb8e8 . Any

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-05-24 Thread William Scullin
William Scullin added the comment: Hi Kenneth: I can recreate this issue on Haswell, Skylake-X, and KNL running SLES 12, Clear Linux, and Centos 7.5. I've tried 18.1 and 18.2. It's still present across the board with Intel C/C++ 18.0.2.199. On the Centos 7.5.1804 image,

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-04-29 Thread Kenneth Hoste
Kenneth Hoste added the comment: Willian: on which OS and (Intel?) processor generation are you seeing this? We're not seeing this on CentOS 7.4.1708 with Python 3.6.4 and icc 18.0.1.163 on Intel Haswell or Intel Skylake. We have seen this with other software on Intel

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-03-28 Thread Christian Heimes
Change by Christian Heimes : -- nosy: +christian.heimes ___ Python tracker ___ ___

[issue33174] error building the _sha3 module with Intel 2018 compilers

2018-03-28 Thread William Scullin
New submission from William Scullin : When building Python 3.6.X and later with icc (18.0.0.128 or 18.0.1.163), there's an error building the _sha3 module with any optimization level other than -O0: building '_sha3' extension icc -pthread -fPIC -Wsign-compare