When compiling VASP, I am wondering why the
OFLAG = -O2
is suggested as default. For performance reason, I would use
OFLAG = -O3
Could someone help explain the reason?
EDIT: I asked this question because I used the DFT code FHI-aims, whose compilation is suggested with optimization level:
FFLAGS = -O3 -ip -fp-model precise
In addition, I use intel compiler.