MueLu: adding #ifdef HAVE_MPI in MueLu_FactoryFactory to avoid link error
Created by: lucbv
@trilinos/muelu @csiefer2
Description
This guard is added to avoid trying to link against the repationblockdiagonal factory when a serial build is requested.
Motivation and Context
This will fix a clean build on the dashboard
Related Issues
- Closes #2664 (closed)
How Has This Been Tested?
Local build links correctly using the same configuration as the one on ascic144
Checklist
-
My commit messages mention the appropriate GitHub issue numbers. -
My code follows the code style of the affected package(s). -
I have read the code contribution guidelines for this project. -
I have added tests to cover my changes. -
All new and existing tests passed. -
No new compiler warnings were introduced.