[petsc-users] PetscBarrier from fortran

Smith, Barry F. bsmith at mcs.anl.gov
Wed Nov 7 13:00:05 CST 2018


   This comes from the new type checking for Fortran code.

   I suggest you just call MPI_Barrier() using MPI_COMM_WORLD from Fortran.

   Barry


> On Nov 6, 2018, at 11:37 PM, Marius Buerkle via petsc-users <petsc-users at mcs.anl.gov> wrote:
> 
> Hi
>  
> When calling PetscBarrier from fortran using "call PetscBarrier(PETSC_NULL_MAT,ierr)" with latest petsc version 3.10.2, I get the following error "Error: Type mismatch in argument ‘a’ at (1); passed TYPE(tmat) to INTEGER(8)". I compiled petsc not with integer(8). It work with previous versions.
>  
> best,
> Marius



More information about the petsc-users mailing list