Dear Prof. Bangerth, Many thanks for your help!
I would ask, is It possible that I can delete all openmpi in ubuntu? then install a new one? The worst solution maybe reinstall ubuntu system as before I have installed serveral versions of openmpi. Kind regards, Yaakov On Tuesday, December 5, 2017 at 2:20:56 AM UTC+1, Wolfgang Bangerth wrote: > > On 12/04/2017 06:13 PM, fea...@gmail.com <javascript:> wrote: > > > > /usr/include/petsc/petscsys.h:165:6: error: #error "PETSc was configured > > with OpenMPI but now appears to be compiling using a non-OpenMPI mpi.h" > > # error "PETSc was configured with OpenMPI but now appears to be > > compiling using a non-OpenMPI mpi.h" > > ^~~~~ > > source/numerics/CMakeFiles/obj_numerics_release.dir/build.make:62: > > recipe for target > > 'source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o' > failed > > make[2]: *** > > [source/numerics/CMakeFiles/obj_numerics_release.dir/data_out.cc.o] > Error 1 > > CMakeFiles/Makefile2:2989: recipe for target > > 'source/numerics/CMakeFiles/obj_numerics_release.dir/all' failed > > make[1]: *** [source/numerics/CMakeFiles/obj_numerics_release.dir/all] > > Error 2 > > Makefile:129: recipe for target 'all' failed > > make: *** [all] Error 2 > > > > I think, I don't use Petsc Option for Deal.II ... > > > > would you let know how can I solve this new bug? > > But clearly it is installed on your system, and using your previous > installation of MPI. > > It is generally a poor idea to have multiple versions of MPI on the same > system. In your case, get rid of all of them, and then of all of the > packages you have built on top of these MPI installations. Then start > from scratch, pick one MPI package, and start rebuilding all of the > packages that need it. > > Best > W. > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: bang...@colostate.edu > <javascript:> > 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/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.