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>