So i am working on porting an existing windows code to a Unix code. In visual studio i used the option /Ot but this does not exist in the unix system. Many of the other optimization flags in the Reference manual discribe what options are enabled when the flag is called. Is there some secret Intel List of which compiler options are activated when /Ot is used?
As far as I can see, /Ot would be a default option for ICL, so would not imply anything other than default for icc or icpc. The ICL documentation seems confusing, but as it says /Os might be compared with /O1, it seems to imply /Ot is higher (default) optimization. In the past (prior to VS2012), there was no auto-vectorization in the Microsoft compiler, from which this option came. If you don't want auto-vectorization (except where specified by pragma [omp] simd), you might set -fno-vec.
/Ot is a compatible optimization option with Visual Studio. That's why it's not needed for Linux.
From Microsoft MSDN, /Ot implies /O2 which is the default optimization.
I think you can take it as the default on Linux. -O2 as well is ok.
Hope this helps.