[FLASH-USERS] implicit function declaration error
Laxman Goswami
goswami.laxman at gmail.com
Thu Feb 6 03:03:34 EST 2025
Hello FLASH Users,
I am trying to install Flash in MacOS. While running the "make" command, I
am getting the following error: This error has also been faced previously
by other users at this link:
https://flash.rochester.edu/pipermail/flash-users/2023-January/003908.html
Please suggest how I should resolve this error.
*Warning:* '*transpos*' may be used uninitialized [*-Wmaybe-uninitialized*]
*hy_uhd_updateSpeciesMassScalar.F90:985:20:*
985 | real :: transPos, transNeg, secondDeriv, num, denom
| *^*
*note:* '*transpos*' was declared here
/opt/homebrew/opt/open-mpi/bin/mpif90 -ggdb -c -O2 -fdefault-real-8
-fdefault-double-8 -fallow-argument-mismatch -Wuninitialized -DMAXBLOCKS=1000
-DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 hy_uhd_upwindTransverseFlux.F90
/opt/homebrew/opt/open-mpi/bin/mpicc -I /opt/homebrew/opt/hdf5/include
-DH5_USE_16_API -ggdb -c -O2 -Wuninitialized -D_FORTIFY_SOURCE=2
-DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 -DDarwin io_attribute.c
*io_attribute.c:66:5: **error: **call to undeclared function
'Driver_abortFlashC'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]*
66 | Driver_abortFlashC("[io_attribute_create]: Unknown I/O");
| * ^*
*io_attribute.c:113:5: **error: **call to undeclared function
'Driver_abortFlashC'; ISO C99 and later do not support implicit function
declarations [-Wimplicit-function-declaration]*
113 | Driver_abortFlashC("[io_attribute_write]: Unknown I/O");
| * ^*
2 errors generated.
make: *** [io_attribute.o] Error 1
(base) laxmanprasadgoswami at Laxmans-MacBook-Pro object % grep -Ri
"Driver_abortFlashC" .
Thank you for your help
Regards
Laxman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250206/33ad0ac1/attachment.htm>
More information about the flash-users
mailing list