We apologize for the out-of-date documentation. There is now a configure option<br>
<br>
--with-fortran-kernels=generic<br>
<br>
which you can see with --help. Reconfiguring with this option will turn on the Fortran kernels.<br>
<br>
Matt<br><br><div><span class="gmail_quote">On 8/28/06, <b class="gmail_sendername">Patrick Lechner</b> <<a href="mailto:mappol@gmail.com">mappol@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Dear all,<br><br>I currently have the following problem and would be very grateful for any useful advice:<br><br>I
have written a Fortran code that uses PETSc for the solution of various
linear systems with complex entries (both in the stiffness matrix and
in the load vector). When I use the PETSc-Log to check the times for my
runs, I get the following warning:
<br><br> ##########################################################<br>
# #<br>
#
WARNING!!!
#
<br>
#
#<br> # The code
for various complex numbers numerical
#<br>
# kernels uses C++, which generally is not
well
#
<br> # optimized. For
performance that is about 4-5 times
#<br> # faster, specify the flag -DPETSC_USE_FORTRAN_KERNELS #<br>
# in base_variables and recompile the PETSc libraries.
#
<br>
# #<br> ##########################################################<br><br><br>My problem now is, that I can't find "base_variables" in my latest PETSc-version (
2.3.1-p15)...<br>Do I just add the flag to my cpp-flags in bmake/$PETSC_ARCH/petscconf? Or should I do this modification somewhere else?<br><br>Thanks a lot for any help with this!<br>Best wishes,<br>Patrick<br><br><br><br>
<br>=================================<br><br>Patrick Lechner<br>Numerical Analysist / Numerical Modeller
<br>Flat 1<br>159 Hardgate<br>Aberdeen, AB11 6XQ<br><br>Phone: 07815 927333<br>E-mail: <a href="mailto:patrick@lechner.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">patrick@lechner.com</a><br>
Homepage: <a href="http://www.patrick.lechner.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.patrick.lechner.com
</a>
</div></blockquote></div><br><br clear="all"><br>-- <br>"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec Guiness