#1757: Stampede needs to be updated -------------------------+-------------------------------------------------- Reporter: hinder | Owner: Type: task | Status: confirmed Priority: critical | Milestone: Component: SimFactory | Version: development version Resolution: | Keywords: backport -------------------------+--------------------------------------------------
Comment (by rhaas):
We need to carefully evaluate intel 15.0.1. SpEC knows of at least one bug in there (ticket 913 in SpEC), basically it mis-compiles (with the options used in SpEC's makefile which differ from what Cactus normally uses):
{{{ int ip,p; int eo; for (ip=0; ip<wsize;ip++) { p = indx2p(ip,wsize);
eo = abs(p % 2); if (p == -1) { w[ip] = I * M_PI/2.; } else if (p == 1) { w[ip] = - I * M_PI/2.; } else if ( eo == 0) { w[ip] = 2./(1.-p*p); } else { w[ip] = 0; } } }}}
and produces a floating point exception (either divide by zero or maybe some overflow). Adding a printf for p just before makes the exception go away.