[FLASH-USERS] 截屏2024-01-30 01.17.12

Ernesto Zurbriggen ezurbriggen at unc.edu.ar
Mon Jan 29 14:39:08 EST 2024


Hi!
You can avoid this type mismatch by adding the flag
*-fallow-argument-mismatch*  to the Makefile.h.
That is, open the Makefile.h file you are using to compile and add the flag
at lines beginning with: FFLAGS_OPT, FFLAGS_DEBUG and FFLAGS_TEST.

This is an issue that shows newer gcc compilers.

Best!
Ernesto

On Mon, 29 Jan 2024 at 14:34, 郑佳乐 <zhengjl1103 at shu.edu.cn> wrote:

> HI all,
> I ran into a problem in quick start as shown in the attachment. When
> doing ‘make’ in the linux terminal, there appearred acompiler error. This
> compiler error appears to be caused by a type mismatch when calling the
> MPI_Bcast function. The error message states that on lines 545 and 550, the
> type of the first argument to the MPI_Bcast function does not match that of
> the third argument. Specifically, extraHydroInfo is declared to be of type
> REAL(8), but MPI is of type FLASH_REAL in the MPI_Bcast call, and the
> compiler seems to think that the two do not match.
> I can't fix this compilation problem,any advices would be highly
> appreciated?
> Best regards,
> layoneu
>
> _______________________________________________
> flash-users mailing list
> flash-users at flash.rochester.edu
>
> For list info, including unsubscribe:
> https://flash.rochester.edu/mailman/listinfo/flash-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240129/f457feb6/attachment-0001.htm>


More information about the flash-users mailing list