DPETSC_USE_FORTRAN_KERNELS-warning

Matthew Knepley knepley at gmail.com
Mon Aug 28 10:56:51 CDT 2006


  We apologize for the out-of-date documentation. There is now a configure
option

  --with-fortran-kernels=generic

which you can see with --help. Reconfiguring with this option will turn on
the Fortran kernels.

  Matt

On 8/28/06, Patrick Lechner <mappol at gmail.com> wrote:
>
> 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
>



-- 
"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec
Guiness
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20060828/1e58e09c/attachment.htm>


More information about the petsc-users mailing list