Sorry for the late answer. I had to re-install dealii + trilinos. jomivalen@Nalia ~/cfem/trilinos/lib $ ldd libepetra.so.12.6.2 | grep mpi libmpi_cxx.so.1 => /usr/lib/libmpi_cxx.so.1 (0x00007fb4ac8f7000) libmpi.so.1 => /usr/lib/libmpi.so.1 (0x00007fb4ac576000)
jomivalen@Nalia ~/thesis/dealii-8.4.1/build/lib $ ldd libdeal_II.g.so.8.4.1 | grep mpi libmpicxx.so.12 => /home/jomivalen/intel/compilers_and_libraries_2016.1.150/linux/mpi/intel64/lib/libmpicxx.so.12 (0x00007f75b64c3000) libmpi.so.12 => /home/jomivalen/intel/compilers_and_libraries_2016.1.150/linux/mpi/intel64/lib/libmpi.so.12 (0x00007f75b3855000) libmpi_cxx.so.1 => /usr/lib/libmpi_cxx.so.1 (0x00007f75ae037000) libmpi.so.1 => /usr/lib/libmpi.so.1 (0x00007f75adcb5000) What does these results mean?. What should i do? Thanks, Joaquin 2016-11-09 18:56 GMT-04:00 Wolfgang Bangerth <bange...@colostate.edu>: > On 11/09/2016 03:52 PM, 'Joaquin M Valencia Bravo' via deal.II User Group > wrote: > >> >> 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) >> > > That's interesting then. Can you try to do > ldd $HOME/share/trilinos/lib/libepetra.so.12.6.2 > ldd /home/jomivalen/cfem/deal.II/lib/libdeal_II.g.so.8.4.1 > and in both cases see which MPI libraries they link to? For example, for > me this yields the following: > > rilinos-12.8.1/lib> ldd libepetra.so.12.8.1 | grep mpi > libmpi_usempi.so.1 => /usr/lib64/openmpi/lib/libmpi_usempi.so.1 > (0x00007f1107a5f000) > libmpi_mpifh.so.12 => /usr/lib64/openmpi/lib/libmpi_mpifh.so.12 > (0x00007f110780b000) > libmpi_cxx.so.1 => /usr/lib64/openmpi/lib/libmpi_cxx.so.1 > (0x00007f1107091000) > libmpi.so.12 => /usr/lib64/openmpi/lib/libmpi.so.12 > (0x00007f1106dad000) > libopen-rte.so.12 => /usr/lib64/openmpi/lib/libopen-rte.so.12 > (0x00007f1105d31000) > libopen-pal.so.13 => /usr/lib64/openmpi/lib/libopen-pal.so.13 > (0x00007f1105a8e000) > rilinos-12.8.1/lib> cd > f/bangerth> cd p/deal.II/1/build/lib/ > build/lib> ldd libdeal_II.so.8.5.0-pre | grep mpi > libmpi_cxx.so.1 => /usr/lib64/openmpi/lib/libmpi_cxx.so.1 > (0x00007f7e22f28000) > libmpi.so.12 => /usr/lib64/openmpi/lib/libmpi.so.12 > (0x00007f7e22181000) > libmpi_usempi.so.1 => /usr/lib64/openmpi/lib/libmpi_usempi.so.1 > (0x00007f7e152ff000) > libmpi_mpifh.so.12 => /usr/lib64/openmpi/lib/libmpi_mpifh.so.12 > (0x00007f7e150ab000) > libopen-rte.so.12 => /usr/lib64/openmpi/lib/libopen-rte.so.12 > (0x00007f7e148cf000) > libopen-pal.so.13 => /usr/lib64/openmpi/lib/libopen-pal.so.13 > (0x00007f7e1462c000 > > So they are the same. > > > 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.