[FLASH-USERS] Compiling wrong in FLASH 4.8 Build for LasersSlab

黄翌轩 yixuan-h22 at mails.tsinghua.edu.cn
Mon Mar 30 05:11:03 EDT 2026


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














-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20260330/fc54e972/attachment.htm>


More information about the flash-users mailing list