[petsc-dev] GCC8 Fortran length changes from int to size_t

Jed Brown jed at jedbrown.org
Thu May 3 00:00:07 CDT 2018


I think we still have to support some laggard compilers, but also,
Fortran compilation is dog slow.  Just compiling the interfaces takes as
long as compiling all the C in PETSc (including Fortran stubs).

Jeff Hammond <jeff.science at gmail.com> writes:

> Or you could just use ISO_C_BINDING.  Decent compilers should support it.
>
> On Wed, May 2, 2018 at 8:56 AM, Jed Brown <jed at jedbrown.org> wrote:
>
>> See Fortran Language Issues.
>>
>>   https://gcc.gnu.org/gcc-8/porting_to.html
>>
>> We'll have to test for this (probably compiler version) and change the
>> PETSC_MIXED_LEN / PETSC_END_LEN to use size_t instead of int.
>>
>
>
>
> -- 
> Jeff Hammond
> jeff.science at gmail.com
> http://jeffhammond.github.io/


More information about the petsc-dev mailing list