ComputationalRadiationPhysics / clara2

Clara2 - a parallel classical radiation calculator based on Liénard-Wiechert potentials
GNU General Public License v3.0
13 stars 9 forks source link

No results when running with icc on hypnos #103

Open PrometheusPi opened 6 years ago

PrometheusPi commented 6 years ago

While with the latest update #101 the intel compiler can be used as well, a recent test on hypnos produced just warnings and no output. Resulting in an empty spectra. I suspect this to be a math.hissue on the hypnos system. As @QJohn2017 demonstrated in #96, clara2 compiled with icc works fine.

PrometheusPi commented 6 years ago

The error with the icc seems to be related with the check of the retarded time here.

While with the gcc some errors occure when the comparison in equal within floating point precission, with the intel compiler the retarded time moves backwards (!!!) causing errors of the kind:

error 01: interpolation inverted (ned_fft.hpp) 27997 --> 3.01359e-12 <=! 3.01356e-12

Since this works fine with gcc the only difference might be a bad reference to a math library