hidden text to trigger early load of fonts ПродукцияПродукцияПродукцияПродукция Các sản phẩmCác sản phẩmCác sản phẩmCác sản phẩm المنتجاتالمنتجاتالمنتجاتالمنتجات מוצריםמוצריםמוצריםמוצרים
Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29017 토론

IEEE 754 Numerical Accuracy with Optimization

LANL
초급자
284 조회수
DOE (Department of Energy) National Laboratories are working with scientists who are requesting identical numerical accuracy for all optimizing options. Is the IEEE 754 arithmetic operator implementation in IFX more robust than in IFORT?
0 포인트
2 응답
Steve_Lionel
명예로운 기여자 III
223 조회수

You will want to compile with -fp-model precise for best results. But there are other differences you may not be able to account for - I discussed this in a Supercomputing presentation: Improving Numerical Reproducibility in C/C++/Fortran  Changing compilers will almost certainly lead to small differences due to order of operations.

JohnNichols
소중한 기여자 III
133 조회수

The only way to check is to write a check program and look at the statistical results.  But Steve is correct there will be differences, small but different.  That is the fun of statistical science, hang on all science is statistical in the end.  

0 포인트
응답