<div dir="ltr">Yes this did it. Thanks.<br><div><div><br></div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-27 21:29 GMT+01:00 Satish Balay <span dir="ltr"><<a href="mailto:balay@mcs.anl.gov" target="_blank">balay@mcs.anl.gov</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can do a clean build - and see if this problem persists?<br>
<br>
rm -rf arch-linux2-c-debug<br>
<br>
[and rebuild]<br>
<br>
<br>
If the problem persists - please run the following - and send us the generated verboseinfo.i file<br>
<br>
make -f gmakefile V=1 CFLAGS=-save-temps arch-linux2-c-debug/obj/src/<wbr>sys/info/verboseinfo.o<br>
<span class="HOEnZb"><font color="#888888"><br>
Satish<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, 27 Jan 2017, H. Vukman wrote:<br>
<br>
> Hello!<br>
><br>
> When I try to compile PETSC after running ./configure with<br>
> make PETSC_DIR=/home/guntah/<wbr>Downloads/petsc-3.7.5<br>
> PETSC_ARCH=arch-linux2-c-debug all<br>
><br>
> I get the error:<br>
><br>
> /home/guntah/Downloads/petsc-<wbr>3.7.5/include/petscsys.h:150:<wbr>6: error: #error<br>
> "PETSc was configured with OpenMPI but now appears to be compiling using a<br>
> non-OpenMPI mpi.h"<br>
>  #    error "PETSc was configured with OpenMPI but now appears to be<br>
> compiling using a non-OpenMPI mpi.h"<br>
><br>
><br>
> I have used the newest OpenMpi 2.0.1 and PETSC 3.7.5<br>
> The platform is Linux Mint 17. Attached is the make.log<br>
><br>
> Thanks<br>
><br>
<br>
</div></div></blockquote></div><br></div>