[FLASH-USERS] Compilation error with mpif90
Lécz Zsolt PhD
Zsolt.Lecz at eli-alps.hu
Thu Jul 31 07:19:25 EDT 2025
Dear Developers,
We try to install FLASH on a desktop computer (Ubuntu), but we are facing the following error:
Driver_computeCellLocations.F90:195:6:
195 | if (itsMe(1)) then
| ^
Warning: ‘MEM[(logical(kind=4)[0:D.4502] *)_126][0]’ may be used uninitialized [-Wmaybe-uninitialized]
Driver_computeCellLocations.F90:195:6: Warning: ‘MEM[(logical(kind=4)[0:D.4502] *)_126][0]’ may be used uninitialized [-Wmaybe-uninitialized]
/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
We have OpenMPI 4.0.6 and GCC 13
Any suggestions on how to solve this problem?
Thank you for your time and consideration!
Best regards, Zsolt
Zsolt LÉCZ
Research Fellow
Tel: +36 30 424 7244
Email: zsolt.lecz at eli-alps.hu<mailto:xxx.yyy at eli-alps.hu>
[cid:c9c794d0-e202-4619-ae03-a451a53265eb]
The Extreme Light Infrastructure ERIC | ALPS Facility
Wolfgang Sandner utca 3., H-6728 Szeged, Hungary
www.eli-laser.eu<http://www.eli-laser.eu> | www.eli-alps.hu<https://www.eli-alps.hu/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250731/bd2e0f46/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-h1fn1jcu.png
Type: image/png
Size: 7610 bytes
Desc: Outlook-h1fn1jcu.png
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250731/bd2e0f46/attachment.png>
More information about the flash-users
mailing list