[FLASH-USERS] FLASH installation issue

Reyes, Adam adam.reyes at rochester.edu
Wed Oct 18 15:30:45 EDT 2023


Hi Amar,

This is an issue with new versions of gfortran. You can add the following line to your Makefile.h:

F90FLAGS = -fallow-argument-mismatch
*********************************************
Adam Reyes


Code Group Leader, Flash Center for Computational Science  
Research Scientist, Dept. of Physics and Astronomy
University of Rochester
River Campus: Bausch and Lomb Hall, 369  
500 Wilson Blvd. PO Box 270171, Rochester, NY 14627
Email adam.reyes at rochester.edu
Web https://flash.rochester.edu
 (he / him / his)


*********************************************



> On Oct 18, 2023, at 9:27 PM, amar at aries.res.in wrote:
> 
> Dear FLASH Users,
> 
> I am trying to install the latest FLASH version (4.7.1). I am new to FLASH and trying to install it for the first time. I have correctly set the path of the compilers in the 'Makefile.h' file. However, when I do a 'make' in the "object" directory, I encounter the following issue:
> 
> 
> /usr/bin/mpif90 -ggdb -c -O2 -fdefault-real-8 -fdefault-double-8 -Wuninitialized  -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Driver_computeDt.F90
> Driver_computeDt.F90:545:20:
> 
>   537 |   call MPI_Bcast(dtMinLoc(1), 5, MPI_INTEGER, pgmin, dr_globalComm, error)
>       |                 2   
> ......
>   545 |      call MPI_Bcast(extraHydroInfo, 1, FLASH_REAL, pgmin, dr_globalComm, error)
>       |                    1
> Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
> Driver_computeDt.F90:550:20:
> 
>   537 |   call MPI_Bcast(dtMinLoc(1), 5, MPI_INTEGER, pgmin, dr_globalComm, error)
>       |                 2   
> ......
>   550 |      call MPI_Bcast(extraHydroInfo, 1, FLASH_REAL, pgmin, dr_globalComm, error)
>       |                    1
> Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(8)/INTEGER(4)).
> make: *** [Makefile:116: Driver_computeDt.o] Error 1
> 
> 
> I shall be highly thankful for any possible diagnosis of the issue. Thanks in advance for any possible suggestions.
> 
> With regards,
> Amar Aryan
> 
> 
> _______________________________________________
> 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/20231018/10b8f1f4/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLASH.jpg
Type: image/jpeg
Size: 23876 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20231018/10b8f1f4/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FLASH-pride-sml.png
Type: image/png
Size: 12732 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20231018/10b8f1f4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1391 bytes
Desc: not available
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20231018/10b8f1f4/attachment.p7s>


More information about the flash-users mailing list