Hi Hamad,

Can you please tell us which version of deal.II you are using, and provide 
us with the installation logs?

Regards,
J-P

On Friday, October 14, 2016 at 11:51:09 PM UTC+2, Hamed Babaei wrote:
>
> Hi friends,
>
> I want to use Trilinos instead of Petsc in my parallel code which is based 
> on step-40. I guess some changes should be made in the following lines of 
> the include files part:
>
> namespace LA
> {
> #if defined(DEAL_II_WITH_PETSC) && !(defined(DEAL_II_WITH_TRILINOS) && 
> defined(FORCE_USE_OF_TRILINOS))
> using namespace ::LinearAlgebraPETSc 
> <http://dealii.org/8.4.1/doxygen/deal.II/namespaceLinearAlgebraPETSc.html>
> ;
> # define USE_PETSC_LA
> #elif defined(DEAL_II_WITH_TRILINOS)
> using namespace ::LinearAlgebraTrilinos 
> <http://dealii.org/8.4.1/doxygen/deal.II/namespaceLinearAlgebraTrilinos.html>
> ;
> #else
> # error DEAL_II_WITH_PETSC or DEAL_II_WITH_TRILINOS required
> #endif
> }
>
> My problem is even if I replace the above lines with the following:
>
> namespace LA
> {
> using namespace ::LinearAlgebraTrilinos 
> <http://dealii.org/8.4.1/doxygen/deal.II/namespaceLinearAlgebraTrilinos.html>
> ;
> }
>
> It still works with Petsc and Trilinos is not implemented at all. I 
> appreciate it if you could let me know what changes should be made in 
> step-40 to make it work with Trilinos.
>
> Thanks,
> Hamed
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to