I noticed FindMPI.cmake often fails when MPI is in fact installed on the system, so I suggest this code to look for several popular MPI implementations - in common places it tends to be installed.
I noticed FindMPI.cmake often fails when MPI is in fact installed on the system, so I suggest this code to look for several popular MPI implementations - in common places it tends to be installed.