I do not know how gcc finds the openmp headers either, but I guess the path would be set because openmp comes bundled with gcc.
But since the openmp header files don't come bundled with the Intel C++ compiler, how does the compiler find the files? I'm working on Fedora.
If GCC was not installed on my system, how would I be able to run openmp on the Intel C++ compiler? Would I have to download all the openmp headers, place it in a folder and specify an environment variable that will lead the compiler to that folder?
How would I go about doing it?
About your remarks
(If GCC was not installed on my system .....)
If Gnu compiler is not installed you can not install or running Icc.