[petsc-users] Question about Fortran Kernels

Barry Smith bsmith at mcs.anl.gov
Thu May 6 13:25:43 CDT 2010


On May 6, 2010, at 1:19 PM, Randall Mackie wrote:

> I have another question about the Fortran Kernels:
> 
> If you do ./configure --help, it says:
> 
> --with-fortran-kernels=<none,generic,bgl>

   Hmm, are you sure this is with 3.1-p2 ? Now it should print -with-fortran-kernels=<bool> meaning 0 for off and 1 for on. Maybe the next patch has the correct message.

> 
> And so I've been using generic for some time.
> 
> 
> After upgrading to PETSc version 3.1-p2 (or trying to upgrade), I saw
> a message at the end of a test run that said for complex numbers,
> I should use --with-fortran-kernels=1 for better performance.
> 
> But setting that to 1 was not mentioned with the --help flag, and it
> doesn't explain what the bgl refers to either.

   That is outdated and shouldn't be mentioned. You can use either 0 or 1.

   Barry

> 
> Can someone please clarify the options with fortran kernels?
> 
> Thanks, Randy
> 



More information about the petsc-users mailing list