<div dir="ltr"><div dir="ltr">On Mon, Dec 21, 2020 at 4:44 PM Barry Smith <<a href="mailto:bsmith@petsc.dev">bsmith@petsc.dev</a>> wrote:<br></div><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>
  There is a custom fortran stub but the C version does not have a /*@C <br></blockquote><div><br></div><div>Dang it was the Jed changes.</div><div><br></div><div>  Matt</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">
  I have also reported directly in the MR other broken things about the merge (MergeTrain is the way to go).<br>
<br>
  Barry<br>
<br>
<br>
> On Dec 21, 2020, at 3:40 PM, Satish Balay via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov" target="_blank">petsc-dev@mcs.anl.gov</a>> wrote:<br>
> <br>
> Hm - this is from <a href="https://gitlab.com/petsc/petsc/-/merge_requests/3489" rel="noreferrer" target="_blank">https://gitlab.com/petsc/petsc/-/merge_requests/3489</a><br>
> <br>
> Maybe I made a mistake in verifying the pipeline tests passing [before merging]<br>
> <br>
> Matt, Can you check on this? [or I can revert this merge]<br>
> <br>
> Satish<br>
> <br>
> On Mon, 21 Dec 2020, Jacob Faibussowitsch wrote:<br>
> <br>
>> Hello All,<br>
>> <br>
>> Seems a recent change introduced the following errors (I have tried make clean, make allfortranstubs, and then rebuild):<br>
>> <br>
>> <br>
>>     CLINKER master-arch-darwin-c-debug/lib/libpetsc.3.014.2.dylib<br>
>> duplicate symbol '_kspconvergedrateview_' in:<br>
>>    master-arch-darwin-c-debug/obj/ksp/ksp/interface/ftn-auto/itfuncf.o<br>
>>    master-arch-darwin-c-debug/obj/ksp/ksp/interface/ftn-custom/zitfuncf.o<br>
>> ld: 1 duplicate symbol for architecture x86_64<br>
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
>> gmake[3]: *** [gmakefile:112: master-arch-darwin-c-debug/lib/libpetsc.3.014.2.dylib] Error 1<br>
>> gmake[2]: *** [/Users/jacobfaibussowitsch/NoSync/petsc/lib/petsc/conf/rules:49: libs] Error 2<br>
>> **************************ERROR*************************************<br>
>>  Error during compile, check master-arch-darwin-c-debug/lib/petsc/conf/make.log<br>
>>  Send it and master-arch-darwin-c-debug/lib/petsc/conf/configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a><mailto:<a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a>><br>
>> ********************************************************************<br>
>> gmake[1]: *** [makefile:40: all] Error 1<br>
>> gmake: *** [GNUmakefile:9: all] Error 2<br>
>> <br>
>> <br>
>> And warnings (although they appear harmless):<br>
>> <br>
>> <br>
>> src/ksp/ksp/interface/itfunc.c:2283:39: warning: passing 'PetscReal **' (aka 'double **') to parameter of type 'const PetscReal **' (aka 'const double **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]<br>
>>    ierr = KSPGetResidualHistory(ksp, &hist, &n);CHKERRQ(ierr);<br>
>> <br>
>> src/ksp/ksp/interface/itfunc.c:2167:64: note: passing argument to parameter 'a' here<br>
>> PetscErrorCode KSPGetResidualHistory(KSP ksp, const PetscReal *a[],PetscInt *na)<br>
>>                                                                                                              ^<br>
>> src/ksp/ksp/interface/itfunc.c:2306:36: warning: passing 'PetscReal **' (aka 'double **') to parameter of type 'const PetscReal **' (aka 'const double **') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]<br>
>>    ierr = KSPGetErrorHistory(ksp, &hist, &n);CHKERRQ(ierr);<br>
>>                                                      ^~~~~<br>
>> /Users/jacobfaibussowitsch/NoSync/petsc/src/ksp/ksp/interface/itfunc.c:2243:61: note: passing argument to parameter 'a' here<br>
>> PetscErrorCode KSPGetErrorHistory(KSP ksp, const PetscReal *a[], PetscInt *na)<br>
>>                                                                                                        ^<br>
>> 2 warnings generated.<br>
>> <br>
>> Best regards,<br>
>> <br>
>> Jacob Faibussowitsch<br>
>> (Jacob Fai - booss - oh - vitch)<br>
>> Cell: (312) 694-3391<br>
>> <br>
>> <br>
> <br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>