<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello All,<div class=""><br class=""></div><div class="">I’m getting these strange “warnings” (if you can even call them that), about struct vector alignments all over the shop when compiling with link time optimization enabled on summit. For reference this is with spectrum-mpi wrapping gcc v10.2.0. Here are a few examples:</div><div class=""><br class=""></div><div class="">/autofs/nccs-svm1_home1/jfaibussow/petsc/src/mat/impls/baij/seq/baij.c: In function 'MatDuplicateNoCreate_SeqBAIJ':<br class="">/autofs/nccs-svm1_home1/jfaibussow/petsc/src/mat/impls/baij/seq/baij.c:3250:21: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5<br class=""> 3250 | c->bs2 = a->bs2;<br class=""> | ^<br class=""><br class="">autofs/nccs-svm1_home1/jfaibussow/petsc/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c: In function 'PetscDualSpaceSetUp_Lagrange':<br class="">/autofs/nccs-svm1_home1/jfaibussow/petsc/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c:2291:15: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5<br class=""> 2291 | sp->spdim = sp->spintdim = spdim;<br class=""> | ^<br class=""><br class="">/autofs/nccs-svm1_home1/jfaibussow/petsc/src/mat/impls/sell/mpi/mpisell.c: In function 'MatDuplicate_MPISELL':<br class="">/autofs/nccs-svm1_home1/jfaibussow/petsc/src/mat/impls/sell/mpi/mpisell.c:1232:27: note: the layout of aggregates containing vectors with 8-byte alignment has changed in GCC 5<br class=""> 1232 | a->size = oldmat->size;<br class=""> | ^</div><div class=""><br class=""></div><div class="">There doesn’t seem to be anything the compiler wants you to do, which is strange. It just tells you about it. Googling it has not yielded useful info either. Is this our own buggy code at fault or just an internal compiler logging so rare that they forgot to turn it off?<br class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="text-align: start; text-indent: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best regards,<br class=""><br class="">Jacob Faibussowitsch<br class="">(Jacob Fai - booss - oh - vitch)<br class=""></div></div></div>
</div>
<br class=""></div></body></html>