<div dir="ltr">Cannot tell without configure.log<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 11, 2015 at 6:23 AM, Florian Lindner <span dir="ltr"><<a href="mailto:mailinglists@xgm.de" target="_blank">mailinglists@xgm.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I try to setup petsc on my Arch Linux box. Download it using git -b maint.<br>
<br>
% python2 configure works fine:<br>
[...]<br>
Compilers:<br>
C Compiler: mpicc -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0<br>
C++ Compiler: mpicxx -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -O0 -fPIC<br>
Fortran Compiler: mpif90 -fPIC -Wall -Wno-unused-variable -ffree-line-length-0 -g -O0<br>
Linkers:<br>
Shared linker: mpicc -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0<br>
Dynamic linker: mpicc -shared -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -O0<br>
make:<br>
[...]<br>
xxx=========================================================================xxx<br>
Configure stage complete. Now build PETSc libraries with (gnumake build):<br>
make PETSC_DIR=/home/florian/software/petsc PETSC_ARCH=arch-linux2-c-debug all<br>
xxx=========================================================================xxx<br>
<br>
Now building:<br>
<br>
% make PETSC_DIR=/home/florian/software/petsc PETSC_ARCH=arch-linux2-c-debug all<br>
<br>
yields this error:<br>
<br>
"PETSc was configured with one OpenMPI mpi.h version but now appears to be compiling using a different OpenMPI mpi.h version"<br>
<br>
I would prefer to use my distributions openmpi 1.8.5, there is no other MPI version installed.<br>
<br>
Using configure with --download-mpich and this compiler /home/florian/software/petsc/arch-linux2-c-debug/bin/mpicc seems to work.<br>
<br>
Is openmpi 1.8.5 incompatible with petsc? Is used to work fine some time ago, but I'm not sure how my system changed in the last weeks when I haven't used petsc on this machine (Arch is a rolling release).<br>
<br>
Thx,<br>
Florian<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div>