Apparently I used the same MPI by default for both of them.

In case of trilinos, I followed the next steps:
$  mkdir build
$  cd build
$

        cmake \
        -DTrilinos_ENABLE_Sacado=ON \
        -DTrilinos_ENABLE_MueLu:BOOL=ON \
        -DTrilinos_ENABLE_Stratimikos=ON \
        -DCMAKE_BUILD_TYPE=RELEASE \
        -DCMAKE_CXX_FLAGS="-g -O3" \
        -DCMAKE_C_FLAGS="-g -O3" \
        -DCMAKE_FORTRAN_FLAGS="-g -O5" \
        -DTrilinos_EXTRA_LINK_FLAGS="-lgfortran" \
        -DCMAKE_VERBOSE_MAKEFILE=FALSE \
        -DTrilinos_VERBOSE_CONFIGURE=FALSE \
        -DTPL_ENABLE_MPI=ON \
        -DBUILD_SHARED_LIBS=ON \
        -DCMAKE_INSTALL_PREFIX:PATH=$HOME/share/trilinos \

$ make -j8 install

In case of dealii, I followed the next steps:

$ mkdir build

$ cd build

$ cmake -DCMAKE_INSTALL_PREFIX=/home/jomivalen/cfem/deal.II \
        -DTRILINOS_DIR=/home/jomivalen/thesis/trilinos-12.6.2 \

        -DDEAL_II_WITH_TRILINOS=ON -DDEAL_II_WITH_MPI=ON ../

$ make -j8 install

$ make test (failed)

Thank you for your patience,

Joaquin


2016-11-09 18:31 GMT-04:00 Wolfgang Bangerth <bange...@colostate.edu>:

> On 11/09/2016 03:30 PM, 'Joaquin M Valencia Bravo' via deal.II User Group
> wrote:
>
>>
>> I understand, but I don't know how to compile both of them with the same
>> version. Could you please tell me the steps to do that?
>>
>
> Well, how did you compile the two before? :-) Presumably you used some way
> to tell Trilinos which MPI to use, and some way to tell deal.II which MPI
> to use.
>
>
> Best
>  W.
>
> --
> ------------------------------------------------------------------------
> Wolfgang Bangerth          email:                 bange...@colostate.edu
>                            www: http://www.math.colostate.edu/~bangerth/
>
> --
> The deal.II project is located at http://www.dealii.org/
> For mailing list/forum options, see https://groups.google.com/d/fo
> rum/dealii?hl=en
> --- You received this message because you are subscribed to a topic in the
> Google Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/dealii/r4B-B-s6fO4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> dealii+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Joaquin Valencia
Graduate Student

-- 
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.
    • Re: [deal.II] Re: I... Wolfgang Bangerth
      • Re: [deal.II] R... 'Joaquin M Valencia Bravo' via deal.II User Group
        • Re: [deal.I... Timo Heister
        • Re: [deal.I... Wolfgang Bangerth
          • Re: [de... 'Joaquin M Valencia Bravo' via deal.II User Group
            • Re... Wolfgang Bangerth
              • ... 'Joaquin M Valencia Bravo' via deal.II User Group
              • ... Wolfgang Bangerth
              • ... 'Joaquin M Valencia Bravo' via deal.II User Group
              • ... Denis Davydov
              • ... 'Joaquin M Valencia Bravo' via deal.II User Group
              • ... Wolfgang Bangerth
              • ... 'Joaquin M Valencia Bravo' via deal.II User Group
              • ... Jean-Paul Pelteret
              • ... Wolfgang Bangerth
              • ... 'Joaquin M Valencia Bravo' via deal.II User Group
              • ... Wolfgang Bangerth
              • ... Yi-Chung Chen
  • Re: [deal.II] Interfacin... Timo Heister

Reply via email to