[petsc-users] OpenMPI 2.0.1 and PETSC 3.7.5

Barry Smith bsmith at mcs.anl.gov
Fri Jan 27 14:28:09 CST 2017


   Perhaps you previously did a ./configure --download-mpich ?

   So so delete ${PETSC_DIR}/${PETSC_ARCH} and rerun your new configure again.

   If the same problem occurs send configure.log and make.log

   Barry

> On Jan 27, 2017, at 2:21 PM, H. Vukman <vukmanh at googlemail.com> wrote:
> 
> Hello!
> 
> When I try to compile PETSC after running ./configure with 
> make PETSC_DIR=/home/guntah/Downloads/petsc-3.7.5 PETSC_ARCH=arch-linux2-c-debug all
> 
> I get the error:
> 
> /home/guntah/Downloads/petsc-3.7.5/include/petscsys.h:150: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"
> 
> 
> I have used the newest OpenMpi 2.0.1 and PETSC 3.7.5
> The platform is Linux Mint 17. Attached is the make.log
> 
> Thanks 
> 
> <make.log>



More information about the petsc-users mailing list