<!DOCTYPE html><!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
hi Barry, On 27/06/24 4: 46 am, Barry Smith wrote: Another issue arising from the tighter type checking. I have fixed the issue in the branch, again I rebased the branch so you cannot just git pull it (sorry). Thanks, that has fixed that issue.
</div>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>
<!--[if ((ie)|(mso))]>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
<table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
<table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
<tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
This Message Is From an External Sender
</td></tr>
<tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
This message came from outside your organization.
</td></tr>
</table>
</td></tr></table>
</td></tr></table>
<![endif]-->
<![if !((ie)|(mso))]>
<div dir="ltr" id="pfptBannerzeew33y" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
<div id="pfptBannerzeew33y" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannerzeew33y" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
This Message Is From an External Sender
</div>
<div id="pfptBannerzeew33y" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
</div>
</div>
<div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
</div>
<![endif]>
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<html><head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannerzeew33y { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonzeew33y:hover, .pfptPrimaryButtonzeew33y:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonzeew33y:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>hi Barry,<br>
</p>
<div class="moz-cite-prefix">On 27/06/24 4:46 am, Barry Smith wrote:<br>
</div>
<blockquote type="cite" cite="mid:D1638578-501D-43B3-94AF-774DFEEC34A8@petsc.dev">
<pre class="moz-quote-pre" wrap="">Another issue arising from the tighter type checking. I have fixed the issue in the branch, again I rebased the branch so you cannot just git pull it (sorry).</pre>
</blockquote>
<p>Thanks, that has fixed that issue. Now it seems another one is
popping up with PetscSectionGetValueLayout(). With your PETSc
branch I am getting intermittent runtime errors from it in my unit
tests - see below. Could this be another interface problem? It
hasn't happened until now. I've checked the variables going into
PetscSectionGetValueLayout() and they look ok. But it seems to be
complaining about the PetscLayout variable which comes out of this
routine. I am calling it like this:</p>
<p>call PetscSectionGetValueLayout(PETSC_COMM_WORLD, section,
layout, ierr)<br>
</p>
<p>where layout is a local variable declared as PetscLayout.</p>
<p>- Adrian<br>
</p>
<p>[0]PETSC ERROR: Null argument, when expecting valid pointer<br>
[0]PETSC ERROR: Null Pointer: Parameter # 3<br>
[0]PETSC ERROR: See <a class="moz-txt-link-freetext" href="https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!fRaplJiwdCJUDZJpDnl1P5EUaBCQOpN_tBSnlkHx2fyw4-vSeQYfrDZprMvuULe-z4MIYMJmr7ONh2xRki4aM1IpziPsgEA$">https://petsc.org/release/faq/</a> for trouble
shooting.<br>
[0]PETSC ERROR: Petsc Development GIT revision:
v3.21.2-274-g55d8e0067c3 GIT Date: 2024-06-20 10:02:08 -0400<br>
[0]PETSC ERROR: ./source_network_reinjector_test with PETSC_ARCH
main-debug-barry on EN438880 by acro018 Thu Jun 27 12:00:00 2024<br>
[0]PETSC ERROR: Configure options: --with-x --download-hdf5
--download-zlib --download-netcdf --download-pnetcdf
--download-exodusii --download-triangle --download-ptscotch
--download-chaco --download-hypre<br>
[0]PETSC ERROR: #1 PetscSectionGetValueLayout() at
/home/acro018/software/PETSc/code/src/vec/is/section/interface/section.c:1777<br>
[0]PETSC ERROR: #2 ../src/dm_utils.F90:401<br>
<span style="white-space: pre-wrap">
</span><span style="white-space: pre-wrap">
</span></p>
<pre class="moz-signature" cols="72">--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
Waipapa Taumata Rau / University of Auckland, New Zealand
email: <a class="moz-txt-link-abbreviated" href="mailto:a.croucher@auckland.ac.nz">a.croucher@auckland.ac.nz</a>
tel: +64 (0)9 923 4611</pre>
</body>
</html>