If you use `REQUIRED` here:

    FIND_PACKAGE(MPI REQUIRED)

Then you can remove the `IF`-statement as well as fatal error message.