DPETSC_USE_FORTRAN_KERNELS-warning

Patrick Lechner mappol at gmail.com
Mon Aug 28 10:44:23 CDT 2006


Dear all,

I currently have the following problem and would be very grateful for any
useful advice:

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:

      ##########################################################

#
#
      #                          WARNING!!!
                     #
      #
                             #
      #   The code for various complex numbers numerical
#
      #   kernels uses C++, which generally is not well
     #
      #   optimized.  For performance that is about 4-5 times
    #
      #   faster, specify the flag -DPETSC_USE_FORTRAN_KERNELS  #
      #   in base_variables and recompile the PETSc libraries.
#

#
#
      ##########################################################


My problem now is, that I can't find "base_variables" in my latest
PETSc-version (2.3.1-p15)...
Do I just add the flag to my cpp-flags in bmake/$PETSC_ARCH/petscconf? Or
should I do this modification somewhere else?

Thanks a lot for any help with this!
Best wishes,
Patrick




=================================

Patrick Lechner
Numerical Analysist / Numerical Modeller
Flat 1
159 Hardgate
Aberdeen, AB11 6XQ

Phone: 07815 927333
E-mail: patrick at lechner.com
Homepage: http://www.patrick.lechner.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060828/8d360eb3/attachment.htm>


More information about the petsc-users mailing list