<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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"
cite="mid:CA+d3yN7hYpvVDgrn36nUw7gL=+DjxBcia9C=3qu8jW77d4jpxg@mail.gmail.com"><!-- BaNnErBlUrFlE-HeAdEr-start -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<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 !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 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 !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="pfptBanner4j74php"
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="pfptBanner4j74php"
style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBanner4j74php"
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="pfptBanner4j74php"
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="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 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">discuss@mpich.org</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a>
</pre>
</blockquote>
</body>
</html>