[petsc-users] Question about Fortran Kernels

Randall Mackie rlmackie862 at gmail.com
Thu May 6 13:29:32 CDT 2010


You are correct, the current version (3.1-p2) returns

--with-fortran-kernels=<bool>

Didn't realize this had changed between the older and newer versions.

Randy


On 5/6/2010 11:25 AM, Barry Smith wrote:
>
> 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