On Thu, Oct 8, 2009 at 3:47 AM, Tim Kroeger <span dir="ltr"><<a href="mailto:tim.kroeger@cevis.uni-bremen.de">tim.kroeger@cevis.uni-bremen.de</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br>
<br>
On a 64-bit system, I need to compile with the option "-fPIC" to be able to link with my application. I configured PETSC with "--with-pic=fPIC", but still it seems to call the gfortran compiler with "-PIC" rather than "-fPIC" for some or all fortran source files. The compiler does not understand the "-PIC" option, hence prints an error message and exits. How can I tell PETSc to use "-fPIC" instead?<br>
</blockquote><div><br>1) --with-pic only turns this check on and off. It does not take a flag<br><br>2) You must send the configure.log or we have no way of knowing what is going on. Send it to petsc-maint<br><br> Matt<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Best Regards,<br>
<br>
Tim<br><font color="#888888">
<br>
-- <br>
Dr. Tim Kroeger<br>
<a href="mailto:tim.kroeger@mevis.fraunhofer.de" target="_blank">tim.kroeger@mevis.fraunhofer.de</a> Phone +49-421-218-7710<br>
<a href="mailto:tim.kroeger@cevis.uni-bremen.de" target="_blank">tim.kroeger@cevis.uni-bremen.de</a> Fax +49-421-218-4236<br>
<br>
Fraunhofer MEVIS, Institute for Medical Image Computing<br>
Universitaetsallee 29, 28359 Bremen, Germany<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>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<br>