Yes this did it. Thanks.
2017-01-27 21:29 GMT+01:00 Satish Balay <[email protected]>: > Can do a clean build - and see if this problem persists? > > rm -rf arch-linux2-c-debug > > [and rebuild] > > > If the problem persists - please run the following - and send us the > generated verboseinfo.i file > > make -f gmakefile V=1 CFLAGS=-save-temps arch-linux2-c-debug/obj/src/ > sys/info/verboseinfo.o > > Satish > > On Fri, 27 Jan 2017, H. Vukman 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 > > > >
