<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Jun 25, 2016 at 8:21 AM, Antonio Trande <span dir="ltr"><<a href="mailto:anto.trande@gmail.com" target="_blank">anto.trande@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
is it possible to compile serial PETSc library ?<br>
I'm trying to compile PETSc without MPI by configuring with options:<br>
<br>
 --with-mpi=0 --with-mpiuni-fortran-binding=0<br>
<br>
but compiler uses -I/.../petsc-3.7.2/include/petsc/mpiuni flag anyway<br>
and libpetsc.so contains an "undefined symbol":<br>
<br>
undefined symbol: mpi_init_     (/usr/lib64/libpetsc.so.3.7.2)<br>
<br>
How I can fix this issue ?<br>
Full log:<br>
<a href="https://copr-be.cloud.fedoraproject.org/results/sagitter/petsc/fedora-24-x86_64/00362302-petsc/build.log.gz" rel="noreferrer" target="_blank">https://copr-be.cloud.fedoraproject.org/results/sagitter/petsc/fedora-24-x86_64/00362302-petsc/build.log.gz</a></blockquote><div><br></div><div>1) Why are you giving --with-mpiuni-fortran-binding=0 if you still have Fortran turned on? If you want to turn off Fortran, use --with-fc=0.</div><div><br></div><div>2) You did not send configure.log which is what I need, not a screen capture.</div><div><br></div><div>3) I cannot see the error you sent anywhere. It would be more useful to send the output from 'make test'.</div><div><br></div><div>  Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888"><br>
--<br>
---<br>
Antonio Trande<br>
mailto: sagitter 'at' fedoraproject 'dot' org<br>
<a href="http://fedoraos.wordpress.com/" rel="noreferrer" target="_blank">http://fedoraos.wordpress.com/</a><br>
<a href="https://fedoraproject.org/wiki/User:Sagitter" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/User:Sagitter</a><br>
GPG Key: 0x6CE6D08A<br>
Check on <a href="https://keys.fedoraproject.org/" rel="noreferrer" target="_blank">https://keys.fedoraproject.org/</a><br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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></div>