[FLASH-USERS] Compilation error implicit function declaration
Deepali
ddeepali at hs.uni-hamburg.de
Mon Nov 18 11:23:06 EST 2024
Dear All,
The HPC cluster that I use has upgraded its OS and provided new
compilers and I am not able to compile Flash with them. I use the
following modules:
intel/2024.2
impi/2021.13 --> compilers used: mpiifx , mpiicx , mpiicpc
hdf5/intel/1.14.4
On compiling I get the following error:
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: *** [Makefile:128: io_attribute.o] Error 1
The code Driver_abortFlashC.c is compiled successfully before
encountering this error. I found an email in the user-list with the
exact same error:
https://flash.rochester.edu/pipermail/flash-users/2023-January/003908.html
but I couldn't find the response email with solution. Could you please
suggest a way to get around this?
Best regards,
Deepali
More information about the flash-users
mailing list