<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannercfm8rkx { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtoncfm8rkx:hover, .pfptPrimaryButtoncfm8rkx:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtoncfm8rkx:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><!-- 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 Gregor, I have checked this, the code is using mpi. h not mpif. h. Dr. D. P. S. L. Kameswari On Fri, 17 Oct 2025, 5: 56 pm Gregor Corbin via discuss, <discuss@ mpich. org> wrote: Hi, let me guess: this code uses `include mpif. h` and is compiled</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;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="pfptBannercfm8rkx" 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="pfptBannercfm8rkx" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannercfm8rkx" 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="pfptBannercfm8rkx" 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;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<div dir="auto"><div dir="auto"><div>Hi Gregor, I have checked this, the code is using mpi.h not mpif.h.</div><div><br></div><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><font color="#0000ff"><b>Dr. D. P. S. L. Kameswari</b></font><b><br></b><br></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 Oct 2025, 5:56 pm Gregor Corbin via discuss, <<a href="mailto:discuss@mpich.org" target="_blank" rel="noreferrer">discuss@mpich.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<p>Hi, <br>
</p>
<p>let me guess: this code uses `include mpif.h` and is compiled
with gfortran. If so, try to add `-fallow-argument-mismatch' to
your compiler flags. </p>
<p>Explanation: With the include file, there are no explicit
interfaces and the compiler generates an implicit interface from
the call to `MPI_IRECV`. Having two calls with different argument
types is an error since some gcc version (10 IIRC). <br>
</p>
<p>Cheers, <br>
</p>
<p>Gregor Corbin</p>
<p><br>
</p>
<div>On 17.10.25 13:30, phani sri via
discuss wrote:<br>
</div>
<blockquote type="cite">
<div style="display:none!important;display:none;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden">
Hi all, I am trying to run FLASH4. 8, where I am getting the
following error. Can someone please, suggest to me why this
error is coming. Thank you in advance. 497 | Call
MPI_IRECV(parentt(1,i),2,MPI_INTEGER, & </div>
<div style="display:none!important;display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden">ZjQcmQRYFpfptBannerStart</div>
<div dir="ltr" id="m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="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="m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="float:left!important;display:block!important;margin:0px 0px 1px 0px!important;max-width:600px!important">
<div id="m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="display:block!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="m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="display:block!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;line-height:0!important;font-size:0.01px!important;height:0px"> </div>
</div>
<div style="display:none!important;display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden">ZjQcmQRYFpfptBannerEnd</div>
<div dir="ltr">
<div>Hi all, I am trying to run FLASH4.8, where I am getting the
following error. Can someone please, suggest to me why this
error is coming.</div>
<div>Thank you in advance.</div>
<div>
<div>497 | Call
MPI_IRECV(parentt(1,i),2,MPI_INTEGER, &<br>
| 2<br>
......<br>
633 | Call MPI_IRECV(buffert(1,i),buf_size,
&<br>
| 1<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (REAL(8)/INTEGER(4)).<br>
amr_migrate_tree_data.F90:642:23:<br>
<br>
497 | Call
MPI_IRECV(parentt(1,i),2,MPI_INTEGER, &<br>
| 2<br>
......<br>
642 | Call MPI_IRECV(newchildt(i),1,MPI_LOGICAL,
&<br>
| 1<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (LOGICAL(4)/INTEGER(4)).<br>
amr_migrate_tree_data.F90:717:23:<br>
<br>
513 | Call MPI_SSEND
(new_loc(1,i),2,MPI_INTEGER, &<br>
| 2<br>
......<br>
717 | Call
MPI_SSEND(buffer(1),buf_size,amr_mpi_real,
&<br>
| 1<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (REAL(8)/INTEGER(4)).<br>
amr_migrate_tree_data.F90:725:23:<br>
<br>
513 | Call MPI_SSEND
(new_loc(1,i),2,MPI_INTEGER, &<br>
| 2<br>
......<br>
725 | Call MPI_SSEND(newchild(i),1,MPI_LOGICAL,
&<br>
| 1<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (LOGICAL(4)/INTEGER(4)).<br>
amr_migrate_tree_data.F90:260:25:<br>
<br>
260 | Call MPI_IRECV(buffert(1,i),buf_size,
&<br>
| 1<br>
......<br>
497 | Call
MPI_IRECV(parentt(1,i),2,MPI_INTEGER, &<br>
| 2<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (REAL(8)/INTEGER(4)).<br>
amr_migrate_tree_data.F90:269:25:<br>
<br>
269 | Call MPI_IRECV(newchildt(i),1,MPI_LOGICAL,
&<br>
| 1<br>
......<br>
497 | Call
MPI_IRECV(parentt(1,i),2,MPI_INTEGER, &<br>
| 2<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (LOGICAL(4)/INTEGER(4)).<br>
amr_migrate_tree_data.F90:330:25:<br>
<br>
330 | Call
MPI_SSEND(buffer(1),buf_size,amr_mpi_real,
&<br>
| 1<br>
......<br>
513 | Call MPI_SSEND
(new_loc(1,i),2,MPI_INTEGER, &<br>
| 2<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (REAL(8)/INTEGER(4)).<br>
amr_migrate_tree_data.F90:338:25:<br>
<br>
338 | Call MPI_SSEND(newchild(i),1,MPI_LOGICAL,
&<br>
| 1<br>
......<br>
513 | Call MPI_SSEND
(new_loc(1,i),2,MPI_INTEGER, &<br>
| 2<br>
Error: Type mismatch between actual argument at (1) and
actual argument at (2) (LOGICAL(4)/INTEGER(4)).<br>
amr_restrict_ec_genorder.F90:310:37:</div>
<br>
</div>
<div><br>
</div>
<br>
<span class="gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font color="#0000ff"><b>Dr. D. P. S.
L. Kameswari</b></font><b><br>
</b><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
discuss mailing list <a href="mailto:discuss@mpich.org" rel="noreferrer noreferrer" target="_blank">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a href="https://urldefense.us/v3/__https://lists.mpich.org/mailman/listinfo/discuss__;!!G_uCfscf7eWS!YyM_evKhOLy7-smc8_JT9vOR24PltKD5h28HXK1Ig8ywE1pL7ovzNV1UhGuoU2NH8RCnFMRxQVAjcSQhrSA$" rel="noreferrer noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org" rel="noreferrer noreferrer" target="_blank">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://urldefense.us/v3/__https://lists.mpich.org/mailman/listinfo/discuss__;!!G_uCfscf7eWS!YyM_evKhOLy7-smc8_JT9vOR24PltKD5h28HXK1Ig8ywE1pL7ovzNV1UhGuoU2NH8RCnFMRxQVAjcSQhrSA$" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</blockquote></div></div>