Belos: recent changes to SolverFactory may have broken Nalu
Created by: aprokop
@trilinos/belos @MicheldeMessieres
Having trouble building an external application (nalu) with recent changes to Belos:
[ 30%] Building CXX object CMakeFiles/nalu.dir/src/MomentumBuoyancySrcElemSuppAlgDep.C.o
In file included from /project/projectdirs/m2853/aprokop/code/nalu-wind/src/LinearSolver.C(21):
/project/projectdirs/m2853/aprokop/install/trilinos-2018-06-19-openmp-mmm/include/BelosSolverFactory.hpp(303): error: "SolverFactory" has already been declared in the current scope
using SolverFactory = typename ::Belos::Impl::SolverFactorySelector<SC, MV, OP>::type;
^
/project/projectdirs/m2853/aprokop/code/nalu-wind/src/LinearSolver.C(108): error: incomplete type is not allowed
LinSys::SolverFactory sFactory;
^
/project/projectdirs/m2853/aprokop/code/nalu-wind/src/LinearSolver.C(146): error: incomplete type is not allowed
LinSys::SolverFactory sFactory;
^
[ 31%] Building CXX object CMakeFiles/nalu.dir/src/MomentumBuoyancySrcNodeSuppAlg.C.o
compilation aborted for /project/projectdirs/m2853/aprokop/code/nalu-wind/src/LinearSolver.C (code 2)
CMakeFiles/nalu.dir/build.make:2678: recipe for target 'CMakeFiles/nalu.dir/src/LinearSolver.C.o' failed