<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello, I think you forgot to pass <tt>ierr</tt> as the last
argument of <tt>PetscIntView</tt>.</p>
<p>Pierre<br>
</p>
<br>
<div class="moz-cite-prefix">On 09/04/21 11:52, Stefano Zampini
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:70FF9F86-A7B8-45C7-8D44-34121AF9CA6A@gmail.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 16px;" class="">==841883== Invalid write of size 4</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 16px;" class="">==841883== at 0x503E784:
petscintview_
(/data/work/slepc/PETSC/petsc-3.14.5/src/sys/error/ftn-custom/zerrf.c:109)</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 16px;" class="">==841883== by 0x40262C:
all_stab_routines_mp_write_rows_to_petsc_matrix_
(/data/work/rotplane/omega_to_zero/stability/test/tmp10/tmp3/tryme.F:17)</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 16px;" class="">==841883== by 0x402465: MAIN__
(/data/work/rotplane/omega_to_zero/stability/test/tmp10/tmp3/tryme.F:40)</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 16px;" class="">==841883== by 0x402221: main (in
/data/work/rotplane/omega_to_zero/stability/test/tmp10/tmp3/trashy.exe)</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 16px;" class="">==841883== Address 0x0 is not
stack'd, malloc'd or (recently) free'd</div>
<span style="font-family: Calibri, Helvetica, sans-serif;
font-size: 16px;" class="">==841883== </span>
<div class=""><font class="" size="3" face="Calibri, Helvetica,
sans-serif"><br class="">
</font></div>
<div class=""><font class="" size="3" face="Calibri, Helvetica,
sans-serif">This exactly points to the error and suggests you
to take a look at </font><span style="font-family: Calibri,
Helvetica, sans-serif; font-size: 16px;" class="">/data/work/slepc/PETSC/petsc-3.14.5/src/sys/error/ftn-custom/zerrf.c,
line 109</span></div>
<div class=""><font class="" face="Calibri, Helvetica, sans-serif"><font
class="" size="3">You are trying to write 4 bytes (most
probably an int) where is not allowed.<br class="">
</font></font>
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 9, 2021, at 12:32 PM, dazza
simplythebest <<a href="mailto:sayosale@hotmail.com"
class="" moz-do-not-send="true">sayosale@hotmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="caret-color: rgb(0, 0, 0); font-family:
Calibri, Helvetica, sans-serif; font-size: 16px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration: none;"
class="">==841883== Invalid write of size 4</div>
<div style="caret-color: rgb(0, 0, 0); font-family:
Calibri, Helvetica, sans-serif; font-size: 16px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration: none;"
class="">==841883== at 0x503E784: petscintview_
(/data/work/slepc/PETSC/petsc-3.14.5/src/sys/error/ftn-custom/zerrf.c:109)</div>
<div style="caret-color: rgb(0, 0, 0); font-family:
Calibri, Helvetica, sans-serif; font-size: 16px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration: none;"
class="">==841883== by 0x40262C:
all_stab_routines_mp_write_rows_to_petsc_matrix_
(/data/work/rotplane/omega_to_zero/stability/test/tmp10/tmp3/tryme.F:17)</div>
<div style="caret-color: rgb(0, 0, 0); font-family:
Calibri, Helvetica, sans-serif; font-size: 16px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration: none;"
class="">==841883== by 0x402465: MAIN__
(/data/work/rotplane/omega_to_zero/stability/test/tmp10/tmp3/tryme.F:40)</div>
<div style="caret-color: rgb(0, 0, 0); font-family:
Calibri, Helvetica, sans-serif; font-size: 16px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration: none;"
class="">==841883== by 0x402221: main (in
/data/work/rotplane/omega_to_zero/stability/test/tmp10/tmp3/trashy.exe)</div>
<div style="caret-color: rgb(0, 0, 0); font-family:
Calibri, Helvetica, sans-serif; font-size: 16px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration: none;"
class="">==841883== Address 0x0 is not stack'd,
malloc'd or (recently) free'd</div>
<span style="caret-color: rgb(0, 0, 0); font-family:
Calibri, Helvetica, sans-serif; font-size: 16px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration: none;
float: none; display: inline !important;" class="">==841883==<span
class="Apple-converted-space"> </span></span></div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br>
</body>
</html>