[FLASH-USERS] FLASH installation issue

amar at aries.res.in amar at aries.res.in
Wed Oct 18 15:41:50 EDT 2023


Dear Prof. Reyes, 

The issue is fixed! I can see a 'flash4' file generated i n the "object" directory. Many thanks for your prompt response. 

With regards, 
Amar 


From: "adam reyes" <adam.reyes at rochester.edu> 
To: amar at aries.res.in 
Cc: flash-users at flash.rochester.edu 
Sent: Thursday, October 19, 2023 1:00:45 AM 
Subject: Re: [FLASH-USERS] FLASH installation issue 

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) 

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




BQ_BEGIN

On Oct 18, 2023, at 9:27 PM, amar at aries.res.in wrote: 


BQ_END

Dear FLASH Users, 

I am trying to install the latest FLASH version (4.7.1). I am n ew 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/20231019/5df6be59/attachment-0001.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/20231019/5df6be59/attachment-0001.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/20231019/5df6be59/attachment-0001.png>


More information about the flash-users mailing list