Apparently I used the 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:47 GMT-04:00 Wolfgang Bangerth <bange...@colostate.edu>:

> On 11/09/2016 03:44 PM, 'Joaquin M Valencia Bravo' via deal.II User Group
> wrote:
>
>>
>> cmake \
>>         -D Trilinos_ENABLE_Sacado=ON \
>>         -D Trilinos_ENABLE_MueLu:BOOL=ON \
>>         -D Trilinos_ENABLE_Stratimikos=ON \
>>         -D CMAKE_BUILD_TYPE=RELEASE \
>>         -D CMAKE_CXX_FLAGS="-g -O3" \
>>         -D CMAKE_C_FLAGS="-g -O3" \
>>         -D CMAKE_FORTRAN_FLAGS="-g -O5" \
>>         -D Trilinos_EXTRA_LINK_FLAGS="-lgfortran" \
>>         -D CMAKE_VERBOSE_MAKEFILE=FALSE \
>>         -D Trilinos_VERBOSE_CONFIGURE=FALSE \
>>         -D TPL_ENABLE_MPI=ON \
>>         -D BUILD_SHARED_LIBS=ON \
>>         -D CMAKE_INSTALL_PREFIX:PATH=$HOME/share/trilinos \
>>
>>
>> In case of deal.II, I followed the next steps:
>>  $   mkdir build
>>  $   cd build
>>  $   cmake -DCMAKE_INSTALL_PREFIX=/home/jomivalen/cfem/deal.II ../
>>
>
> Does this build deal.II with MPI? If you enter the last command, it will
> provide you with a summary at the end that states whether MPI was used or
> not.
>
>
> 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.

Reply via email to