Author Topic: Monolithic solver & MPI  (Read 402 times)

philippb

  • Newbie
  • *
  • Posts: 9
Monolithic solver & MPI
« on: May 04, 2016, 09:19:15 AM »
Hi everyone,
I have a case that uses the Monolithic solver. Using OpenMP it works fine, however it with MPI I get the following error:
Code: [Select]
Traceback (most recent call last):
  File "KratosMPI.py", line 243, in <module>
    fluid_solver.Solve()
  File "/home/hpc/t5112/ga59vax2/software/kratos/kratos/applications/FluidDynamicsApplication/python_scripts/trilinos_vms_monolithic_solver.py", line 244, in Solve
    (self.solver).Solve()
  File "/home/hpc/t5112/ga59vax2/software/kratos/kratos/applications/trilinos_application/python_scripts/trilinos_strategy_python.py", line 99, in Solve
    normDx = self.ExecuteIteration(self.echo_level, self.MoveMeshFlag, calculate_norm)
  File "/home/hpc/t5112/ga59vax2/software/kratos/kratos/applications/trilinos_application/python_scripts/trilinos_strategy_python.py", line 172, in ExecuteIteration
    self.builder_and_solver.BuildAndSolve(self.scheme, self.model_part, self.pA, self.pDx, self.pb)
Boost.Python.ArgumentError: Python argument types in
    TrilinosBlockBuilderAndSolver.BuildAndSolve(TrilinosBlockBuilderAndSolver, TrilinosPredictorCorrectorVelocityBossakSchemeTurbulent, ModelPart, TrilinosMatrixPointer, TrilinosVectorPointer, TrilinosVectorPointer)
did not match C++ signature:
    BuildAndSolve(Kratos::TrilinosBlockBuilderAndSolver<Kratos::TrilinosSpace<Epetra_FECrsMatrix, Epetra_FEVector>, Kratos::UblasSpace<double, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<unsigned long, long>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >, boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > > >, Kratos::LinearSolver<Kratos::TrilinosSpace<Epetra_FECrsMatrix, Epetra_FEVector>, Kratos::UblasSpace<double, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<unsigned long, long>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >, boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > > >, Kratos::Reorderer<Kratos::TrilinosSpace<Epetra_FECrsMatrix, Epetra_FEVector>, Kratos::UblasSpace<double, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<unsigned long, long>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >, boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > > > > > > {lvalue}, boost::shared_ptr<Kratos::Scheme<Kratos::TrilinosSpace<Epetra_FECrsMatrix, Epetra_FEVector>, Kratos::UblasSpace<double, boost::numeric::ublas::matrix<double, boost::numeric::ublas::basic_row_major<unsigned long, long>, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > >, boost::numeric::ublas::vector<double, boost::numeric::ublas::unbounded_array<double, std::allocator<double> > > > > >, Kratos::ModelPart {lvalue}, Epetra_FECrsMatrix {lvalue}, Epetra_FEVector {lvalue}, Epetra_FEVector {lvalue})
Have you encountered this error before?
Thanks in advance,
Philipp