also detecting MPI capabilities dynamically now