<!-- 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 phani sri, I think your assertion is wrong. It looks like the flags fixed your initial issue. The initial error was raised by the compilation step. Now you run into the next issue raised by the linking step (which was never reached in your</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="pfptBanner74xrlm0" 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="pfptBanner74xrlm0" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
<div id="pfptBanner74xrlm0" 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="pfptBanner74xrlm0" 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>
#pfptBanner74xrlm0 { all: revert !important; display: block !important;
visibility: visible !important; opacity: 1 !important;
background-color: #D0D8DC !important;
max-width: none !important; max-height: none !important }
.pfptPrimaryButton74xrlm0:hover, .pfptPrimaryButton74xrlm0:focus {
background-color: #b4c1c7 !important; }
.pfptPrimaryButton74xrlm0:active {
background-color: #90a4ae !important; }
</style>
<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="text/html; charset=utf-8">
<style>
<!--
#pfptBannerx35057v
{display:block!important;
visibility:visible!important;
background-color:#D0D8DC!important;
max-width:none!important;
max-height:none!important}
-->
</style>
</head>
<body>
<div dir="auto">Hi phani sri,
<div dir="auto"><br>
</div>
<div dir="auto">I think your assertion is wrong. It looks like the flags fixed your initial issue. The initial error was raised by the compilation step. Now you run into the next issue raised by the linking step (which was never reached in your previous attempts).
Please provide more details about the new error messages so that we have a chance to understand your new issue.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Best</div>
<div dir="auto">Joachim </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">Am 18.10.2025 06:05 schrieb phani sri via discuss <discuss@mpich.org>:<br type="attribution">
</div>
</div>
<div>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; height:0px; max-height:0px; overflow:hidden">
Hi Hui, this also did not work. It is ending up with the error: collect2: error: ld returned 1 exit status. On Fri, 17 Oct 2025 at 21: 11, Zhou, Hui <zhouh@ anl. gov> wrote: Hi phani sri, Try set `FFLAGS=-fallow-argument-mismatch` and `FCFLAGS=-fallow-argument-mismatch`</div>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; overflow:hidden">
ZjQcmQRYFpfptBannerStart</div>
<div dir="ltr" id="pfptBannerx35057v" 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="pfptBannerx35057v" style="float:left!important; display:block!important; margin:0px 0px 1px 0px!important; max-width:600px!important">
<div id="pfptBannerx35057v" style="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="pfptBannerx35057v" style="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>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; overflow:hidden">
ZjQcmQRYFpfptBannerEnd</div>
<div dir="ltr">Hi Hui, this also did not work.It is ending up with the error: collect2: error: ld returned 1 exit status.</div>
<br>
<div class="gmail_quote gmail_quote_container">
<div dir="ltr" class="gmail_attr">On Fri, 17 Oct 2025 at 21:11, Zhou, Hui <<a href="mailto:zhouh@anl.gov">zhouh@anl.gov</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div class="msg8746505011550780859">
<div dir="ltr">
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi phani sri,</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
<span style="color:rgb(0,0,0)">Try set `FFLAGS=-fallow-argument-mismatch` and `FCFLAGS=-fallow-argument-mismatch` and let us know if that helps.</span></div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
<span style="color:rgb(0,0,0)"><br>
</span></div>
<div style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
<span style="color:rgb(0,0,0)">Hui</span></div>
<div id="m_8746505011550780859appendonsend"></div>
<hr style="display:inline-block; width:98%">
<div id="m_8746505011550780859divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> phani sri via discuss <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
<b>Sent:</b> Friday, October 17, 2025 8:07 AM<br>
<b>To:</b> <a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a> <<a href="mailto:discuss@mpich.org" target="_blank">discuss@mpich.org</a>><br>
<b>Cc:</b> phani sri <<a href="mailto:phanisri123@gmail.com" target="_blank">phanisri123@gmail.com</a>><br>
<b>Subject:</b> Re: [mpich-discuss] Error in MPI_IRECV</font>
<div> </div>
</div>
<div>
<div style="display:none; font-size:1px; color:rgb(255,255,255); line-height:1px; height:0px; max-height:0px; 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>
<div style="display:none; font-size:1px; color:rgb(255,255,255); line-height:1px; max-height:0px; overflow:hidden">
ZjQcmQRYFpfptBannerStart</div>
<div dir="ltr" id="m_8746505011550780859x_pfptBannercfm8rkx" style="display:block; text-align:left; margin:16px 0px; padding:8px 16px; border-radius:4px; min-width:200px; background-color:rgb(208,216,220); border-top:4px solid rgb(144,164,174)">
<div id="m_8746505011550780859x_pfptBannercfm8rkx" style="float:left; display:block; margin:0px 0px 1px; max-width:600px">
<div id="m_8746505011550780859x_pfptBannercfm8rkx" style="display:block; background-color:rgb(208,216,220); color:rgb(0,0,0); font-family:"Arial",sans-serif; font-weight:bold; font-size:14px; line-height:18px">
This Message Is From an External Sender </div>
<div id="m_8746505011550780859x_pfptBannercfm8rkx" style="display:block; background-color:rgb(208,216,220); color:rgb(0,0,0); font-weight:normal; font-family:"Arial",sans-serif; font-size:12px; line-height:18px; margin-top:2px">
This message came from outside your organization. </div>
</div>
<div style="clear:both; display:block; line-height:0; font-size:0.01px; height:0px">
</div>
</div>
<div style="display:none; font-size:1px; color:rgb(255,255,255); line-height:1px; max-height:0px; overflow:hidden">
ZjQcmQRYFpfptBannerEnd</div>
<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>
<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>
<div dir="ltr">On Fri, 17 Oct 2025, 5:56 pm Gregor Corbin via discuss, <<a href="mailto:discuss@mpich.org" rel="noreferrer" target="_blank">discuss@mpich.org</a>> wrote:<br>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); 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; font-size:1px; color:rgb(255,255,255); line-height:1px; height:0px; max-height:0px; 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; font-size:1px; color:rgb(255,255,255); line-height:1px; max-height:0px; overflow:hidden">
ZjQcmQRYFpfptBannerStart</div>
<div dir="ltr" id="m_8746505011550780859x_m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="display:block; text-align:left; margin:16px 0px; padding:8px 16px; border-radius:4px; min-width:200px; background-color:rgb(208,216,220); border-top:4px solid rgb(144,164,174)">
<div id="m_8746505011550780859x_m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="float:left; display:block; margin:0px 0px 1px; max-width:600px">
<div id="m_8746505011550780859x_m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="display:block; background-color:rgb(208,216,220); color:rgb(0,0,0); font-family:"Arial",sans-serif; font-weight:bold; font-size:14px; line-height:18px">
This Message Is From an External Sender </div>
<div id="m_8746505011550780859x_m_1511279687196419135m_-250379285922737878pfptBanner4j74php" style="display:block; background-color:rgb(208,216,220); color:rgb(0,0,0); font-weight:normal; font-family:"Arial",sans-serif; font-size:12px; line-height:18px; margin-top:2px">
This message came from outside your organization. </div>
</div>
<div style="clear:both; display:block; line-height:0; font-size:0.01px; height:0px">
</div>
</div>
<div style="display:none; font-size:1px; color:rgb(255,255,255); line-height:1px; max-height:0px; 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>-- </span><br>
<div dir="ltr">
<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>
</div>
</div>
</div>
</blockquote>
</div>
<div><br clear="all">
</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>
</body>
</html>