[FLASH-USERS] Compiling wrong in FLASH 4.8 Build for LasersSlab
Hansen, Eddie
ehansen at pas.rochester.edu
Mon Mar 30 13:10:18 EDT 2026
Hello,
You likely need to add “-fallow-argument-mismatch” to your compiler flags (FFLAGS_OPT and FFLAGS_DEBUG) in Makefile.h.
—
Eddie Hansen
Applications Group Leader
Flash Center for Computational Science
On Mar 30, 2026, at 5:11 AM, 黄翌轩 <yixuan-h22 at mails.tsinghua.edu.cn> wrote:
Dear FLASH Community,
I was trying to build the LaserSlab problem in FLASH 4.8 on Ubuntu, but during my build process, it turned out wrong that there's an error in Driver_computeDt.F90, which called:
Makefile:131: warning: pattern recipe did not update peer target 'Driver_computeCellLocations.mod'.
/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:544:20:
536 | call MPI_Bcast(dtMinLoc(1), 5, MPI_INTEGER, pgmin, dr_globalComm, error)
| 2
......
544 | 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:549:20:
536 | call MPI_Bcast(dtMinLoc(1), 5, MPI_INTEGER, pgmin, dr_globalComm, error)
| 2
......
549 | 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:132:Driver_computeDt.o] error 1
Any guidance would be greatly appreciated.
Thank you.
Best regards,
Yixuan Huang
_______________________________________________
flash-users mailing list
flash-users at flash.rochester.edu<mailto: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/20260330/4ce52a9a/attachment-0001.htm>
More information about the flash-users
mailing list