<!-- 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;">
If Gregor's answer does not solve it try adding -std=legacy to gfortrans compiler flags. Sent from Proton Mail for Android. -------- Original Message -------- On Friday, 10/17/25 at 14: 26 Gregor Corbin via discuss <discuss@ mpich. org> wrote: </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="pfptBannerjcga8k6" 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="pfptBannerjcga8k6" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBannerjcga8k6" 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="pfptBannerjcga8k6" 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 -->
<html><head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
#pfptBannerjcga8k6 { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButtonjcga8k6:hover, .pfptPrimaryButtonjcga8k6:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButtonjcga8k6:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><body>If Gregor's answer does not solve it try adding -std=legacy to gfortrans compiler flags.<br><br><div class="protonmail_signature_block-user"></div><br><br>Sent from <a target="_blank" href="https://urldefense.us/v3/__https://proton.me/mail/home__;!!G_uCfscf7eWS!dJKfTCTptV3q_0XDUIiQwsCbaMLbK_wpBUXQlGXJt8y6y91CgHIQadcRpG5GNGcfc6H4q7ws1mpT-QJAKUY$" rel="noreferrer">Proton Mail</a> for Android.<div class="protonmail_quote"><br><br>-------- Original Message --------<br>On Friday, 10/17/25 at 14:26 Gregor Corbin via discuss <discuss@mpich.org> wrote:<br><blockquote class="protonmail_quote">
<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 class="moz-cite-prefix">On 17.10.25 13:30, phani sri via
discuss wrote:<br>
</div>
<blockquote type="cite"><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>#pfptBanner4j74php {
all: revert !important;
display: block !important;
visibility: visible !important;
opacity: 1 !important;
background-color: #d0d8dc !important;
max-width: none !important;
max-height: none !important;
}
.pfptPrimaryButton4j74php:hover, .pfptPrimaryButton4j74php:focus {
background-color: #b4c1c7 !important;
}
.pfptPrimaryButton4j74php:active {
background-color: #90a4ae !important;
}
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display: none; visibility: hidden; mso-hide: all; font-size: 1px; color: #fff; line-height: 1px; height: 0; max-height: 0; opacity: 0; overflow: hidden; display: none !important">
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>
<!-- Preheader Text : END -->
<!-- Email Banner : BEGIN -->
<div style="display: none; visibility: hidden; mso-hide: all; font-size: 1px; color: #fff; line-height: 1px; max-height: 0; opacity: 0; overflow: hidden; display: none !important">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="pfptBanner4j74php" style="background-color: #d0d8dc; border-top: 4px solid #90a4ae; all: revert !important; display: block !important; text-align: left !important; margin: 16px 0 !important; padding: 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #d0d8dc !important; border-top: 4px solid #90a4ae !important">
<div id="pfptBanner4j74php" style="all: unset !important; float: left !important; display: block !important; margin: 0 0 1px !important; max-width: 600px !important">
<div id="pfptBanner4j74php" style="color: #000; font-family: Arial, sans-serif; font-weight: bold; line-height: 18px; all: unset !important; display: block !important; visibility: visible !important; background-color: #d0d8dc !important; color: #000 !important; font-family: Arial, sans-serif !important; font-weight: bold !important; font-size: 14px !important; line-height: 18px !important">
This Message Is From an External Sender </div>
<div id="pfptBanner4j74php" style="color: #000; font-weight: normal; font-family: Arial, sans-serif; line-height: 18px; all: unset !important; display: block !important; visibility: visible !important; background-color: #d0d8dc !important; color: #000 !important; font-family: Arial, sans-serif !important; font-size: 12px !important; line-height: 18px !important; margin-top: 2px !important">
This message came from outside your organization. </div>
</div>
<div style="height: 0; clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: .01px !important"> </div>
</div>
<!--[endif]-->
<div style="display: none; visibility: hidden; mso-hide: all; font-size: 1px; color: #fff; line-height: 1px; max-height: 0; opacity: 0; overflow: hidden; display: none !important">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->
<!-- BaNnErBlUrFlE-BoDy-end -->
<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">
<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 class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:discuss@mpich.org" rel="noreferrer">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://urldefense.us/v3/__https://lists.mpich.org/mailman/listinfo/discuss__;!!G_uCfscf7eWS!dJKfTCTptV3q_0XDUIiQwsCbaMLbK_wpBUXQlGXJt8y6y91CgHIQadcRpG5GNGcfc6H4q7ws1mpTXLwzUBM$" rel="noreferrer">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
</blockquote>
</blockquote></div>
</body></html>