Closed jlost closed 7 years ago
pending pull req - https://github.com/dmiller423/axisem
@jlost: Sorry that everybody seems to have overlooked this issue so far. @dmiller423 Can you confirm that this fix solved the problem on ppc64le machines? If so, could you create a pull request?
Yes, pull req. initiated and it works properly on a power8/le. It should be noted, subnormal values only create a performance bottleneck and are normally rare enough to go unnoticed. In any case, you may want to fixup the preprocessor checks if you want to disable FTZ handling and/or split code for every arch. Really fesetenv should have a generic flag for this, since it's possible on more than just intel hardware (X86/ARM/MIPS/PPC).
@sstaehler This fixed my problem.
It seems there are also some (unrelated) issues compiling with xlf, for which I can open up a new issue.
Can the PR be accepted?
Following the README's instructions to run axisem on a ppc64le (IBM POWER8) machine, I encounter the following error when compiling the SOLVER:
ftz.c
will have to be changed to optionally work with Altivec in order to support ppc64le machines, or some other alternative will have to be provided.Note: I also had to manually remove
-march=native
as it isn't recognized by my platform's GCC (4.8.3 20140911 (Red Hat 4.8.3-9)) but that was a fairly obvious fix.