<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
I suspect you have upgraded gfortran and now have gfortran version 10, </blockquote><div><br></div><div>09:35 knepley/feature-swarm-fortran= ~/Codes/petsc$ mpif90 --version<br>GNU Fortran (Homebrew GCC 10.1.0) 10.1.0<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">which is pickier about argument matching.<br>
<br>
If you add -fallow-argument-mismatch to the fortran flags, do things go away?<br>
<br></blockquote><div><br></div><div>Well, it turns 6 errors into 2 warnings:</div><div><br></div><div>          FC arch-macosx-gnu-g/tests/dm/impls/swarm/tutorials/ex1f90.o<br>/Users/markadams/Codes/petsc/src/dm/impls/swarm/tutorials/ex1f90.F90:39:30:<br><br>   34 |       call PetscObjectSetName(dm, 'Potential Grid', ierr);CHKERRA(ierr)<br>      |                              2<br>......<br>   39 |       call PetscObjectSetName(fe, 'fe', ierr);CHKERRA(ierr)<br>      |                              1<br>Warning: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(8)/TYPE(tdm)).<br>     FLINKER arch-macosx-gnu-g/tests/dm/impls/swarm/tutorials/ex1f90<br>        TEST arch-macosx-gnu-g/tests/counts/dm_impls_swarm_tutorials-ex1f90_0.counts<br> ok dm_impls_swarm_tutorials-ex1f90_0<br> ok diff-dm_impls_swarm_tutorials-ex1f90_0<br></div><div><br></div><div>Oh well, I guess we need to add this param if we want to set names and take it out of regression tests.</div><div><br></div><div>I wonder why it seems to say a PetsFE is an INTEGER(8) ...</div><div><br></div><div>Thanks,</div><div>Mark</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Lawrenmce</blockquote></div></div>