[mpich-discuss] Error in MPI_IRECV
phani sri
phanisri123 at gmail.com
Sun Oct 19 21:35:03 CDT 2025
Thank you very much, adding -std=legacy to gfortrans compiler flags has
solved the problem.
On Mon, 20 Oct 2025 at 02:32, fistrosan via discuss <discuss at mpich.org>
wrote:
> 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:
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
>
> ZjQcmQRYFpfptBannerEnd
> If Gregor's answer does not solve it try adding -std=legacy to gfortrans
> compiler flags.
>
>
>
> Sent from Proton Mail
> <https://urldefense.us/v3/__https://proton.me/mail/home__;!!G_uCfscf7eWS!dJKfTCTptV3q_0XDUIiQwsCbaMLbK_wpBUXQlGXJt8y6y91CgHIQadcRpG5GNGcfc6H4q7ws1mpT-QJAKUY$>
> for Android.
>
>
> -------- Original Message --------
> On Friday, 10/17/25 at 14:26 Gregor Corbin via discuss <discuss at mpich.org>
> wrote:
>
> Hi,
>
> 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.
>
> 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).
>
> Cheers,
>
> Gregor Corbin
>
>
> On 17.10.25 13:30, phani sri via discuss wrote:
>
> 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,
> &
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
>
> ZjQcmQRYFpfptBannerEnd
> 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,
> &
> | 2
> ......
> 633 | Call MPI_IRECV(buffert(1,i),buf_size,
> &
> | 1
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (REAL(8)/INTEGER(4)).
> amr_migrate_tree_data.F90:642:23:
>
> 497 | Call MPI_IRECV(parentt(1,i),2,MPI_INTEGER,
> &
> | 2
> ......
> 642 | Call MPI_IRECV(newchildt(i),1,MPI_LOGICAL,
> &
> | 1
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (LOGICAL(4)/INTEGER(4)).
> amr_migrate_tree_data.F90:717:23:
>
> 513 | Call MPI_SSEND (new_loc(1,i),2,MPI_INTEGER,
> &
> | 2
> ......
> 717 | Call MPI_SSEND(buffer(1),buf_size,amr_mpi_real,
> &
> | 1
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (REAL(8)/INTEGER(4)).
> amr_migrate_tree_data.F90:725:23:
>
> 513 | Call MPI_SSEND (new_loc(1,i),2,MPI_INTEGER,
> &
> | 2
> ......
> 725 | Call MPI_SSEND(newchild(i),1,MPI_LOGICAL,
> &
> | 1
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (LOGICAL(4)/INTEGER(4)).
> amr_migrate_tree_data.F90:260:25:
>
> 260 | Call MPI_IRECV(buffert(1,i),buf_size,
> &
> | 1
> ......
> 497 | Call MPI_IRECV(parentt(1,i),2,MPI_INTEGER,
> &
> | 2
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (REAL(8)/INTEGER(4)).
> amr_migrate_tree_data.F90:269:25:
>
> 269 | Call MPI_IRECV(newchildt(i),1,MPI_LOGICAL,
> &
> | 1
> ......
> 497 | Call MPI_IRECV(parentt(1,i),2,MPI_INTEGER,
> &
> | 2
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (LOGICAL(4)/INTEGER(4)).
> amr_migrate_tree_data.F90:330:25:
>
> 330 | Call MPI_SSEND(buffer(1),buf_size,amr_mpi_real,
> &
> | 1
> ......
> 513 | Call MPI_SSEND (new_loc(1,i),2,MPI_INTEGER,
> &
> | 2
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (REAL(8)/INTEGER(4)).
> amr_migrate_tree_data.F90:338:25:
>
> 338 | Call MPI_SSEND(newchild(i),1,MPI_LOGICAL,
> &
> | 1
> ......
> 513 | Call MPI_SSEND (new_loc(1,i),2,MPI_INTEGER,
> &
> | 2
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (LOGICAL(4)/INTEGER(4)).
> amr_restrict_ec_genorder.F90:310:37:
>
>
>
> --
> *Dr. D. P. S. L. Kameswari*
>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:https://urldefense.us/v3/__https://lists.mpich.org/mailman/listinfo/discuss__;!!G_uCfscf7eWS!YO3zVkJ7CxFWhWF3riTurb29X7gK0Pviauz93cJ4ZoFnjlCcJ51APDjgMDd9nMDI0zLVklTjWYPWPTmBVLg$ <https://urldefense.us/v3/__https://lists.mpich.org/mailman/listinfo/discuss__;!!G_uCfscf7eWS!dJKfTCTptV3q_0XDUIiQwsCbaMLbK_wpBUXQlGXJt8y6y91CgHIQadcRpG5GNGcfc6H4q7ws1mpTXLwzUBM$>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://urldefense.us/v3/__https://lists.mpich.org/mailman/listinfo/discuss__;!!G_uCfscf7eWS!YO3zVkJ7CxFWhWF3riTurb29X7gK0Pviauz93cJ4ZoFnjlCcJ51APDjgMDd9nMDI0zLVklTjWYPWPTmBVLg$
>
--
*Dr. D. P. S. L. Kameswari*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20251020/1e4bc2fa/attachment-0001.html>
More information about the discuss
mailing list