[petsc-users] question about --with-fortran-kernels option

Barry Smith bsmith at mcs.anl.gov
Wed Jul 10 13:19:18 CDT 2013


On Jul 10, 2013, at 1:15 PM, Michael Povolotskyi <mpovolot at purdue.edu> wrote:

> On 07/10/2013 02:13 PM, Barry Smith wrote:
>> On Jul 10, 2013, at 1:09 PM, Michael Povolotskyi <mpovolot at purdue.edu> wrote:
>> 
>>> Hello everybody,
>>> does anybody know if it makes sense to build petsc with --with-fortran-kernels?
>>    No.  It is just their so people who think Fortran code compiles to faster code than C can try it and see that it doesn't make any meaningful difference.
>> 
>>     Barry
>> 
>>> Thank you,
>>> Michael.
>>> 
>>> 
> I see. I heard some gossips that fortran compiles faster code to deal with complex numbers than C.
> But you do no agree with that. Am I right?

   Pick two PETSC_ARCH names, compile one with the fortran kernels, one without. Link you application against each, run with -log_summary and see if it matters. Should take an hour tops on a reasonable machine and then the debate is over for your configuration.

   Barry

> Michael.



More information about the petsc-users mailing list