I use intel xeon phi. Hence I use ICC and ICPC to compile. I use the corresponding flags
CMAKE_CXX_FLAGS:STRING=-mmic -vec-report -I/opt/intel/include/mic -Wl,-rpath,/home/snataraj/lib/zlib-1.2.8 -Wl,-rpath,/opt/intel/composer_xe_2013.2.146/compiler/lib/mic/
warning #13003: message verification failed for: 28003; reverting to internal message
warning #13003: message verification failed for: 28008; reverting to internal message
warning #13003: message verification failed for: 11076; reverting to internal message
warning #13003: message verification failed for: 15024; reverting to internal message
Linking CXX executable sssp
icpc: remark #10398: optimization reports are generated in *.optrpt files in the output directory
and my *.optrpt is also empty but i get my executable. I am not sure whether vectorization happens or not as I don't see any vectorization report