A compiler is a series of programs that (usually) convert source code into machine language. There are also compilers that compile into byte code, Java for instance.
No compiler is responsible for executing a freshly compiled program. That would be done in an IDE (Integrated Development Environment).