3 ms·
for fortran, the intel one (ifort) generally produces much faster binaries. The NAG compiler is known for having great warnings / quality control and pushes you
by shoubidouwah 3y ago
for fortran, the intel one (ifort) generally produces much faster binaries. The NAG compiler is known for having great warnings / quality control and pushes you to write better code. Both are available for windows compilation. I do not know the others, but GCC is very good if you do nothing performance critical (but then again you're writing fortran...), you want good but not great checks, and you do not need windows binaries.
Everyone I met who writes fortran (mainly for quantum chemistry, solid state physics programs) uses multiple compilers to ensure the highest quality code.
- Qem 3y ago> for fortran, the intel one (ifort) generally produces much faster binaries. Unless you happen to have a AMD processor, then the Intel compiler will go out of its way to cripple performance. See https://news.ycombinator.com/item?id=30935064 https://news.ycombinator.com/item?id=30935064
- marshallward 3y agoI have not yet seen anything like this, but I have observed the Intel compiler produce different bytecode on Intel and AMD machines. In one case, the compiler would use masking vector instructions on Intel but not on AMD. It was also the correct decision: Those instructions have very low latency on Intel, but are many times slower on AMD. On each platform, it produced the best bytecode that it could.