[FLASH-USERS] Direct IO compile error
Chia-Jung Hsu
cjhsu at asiaa.sinica.edu.tw
Sun Jun 3 04:21:28 EDT 2018
Dear all,
I tried to use the direct IO unit in FLASH4.5.
I used the setup script:
./setup Sedov -auto -1d -unit=Grid/GridMain/UG -unit=IO/IOMain/direct/UG
-nxb=1048576
However, ther were compile error messages:
"""
In file included from io_attribute.c(1):
io_attribute.h(29): error: identifier "io_fileID_t" is undefined
const io_fileID_t * const pFileID,
^
In file included from io_attribute.c(1):
io_attribute.h(40): error: identifier "io_fileID_t" is undefined
const io_fileID_t * const pFileID,
^
io_attribute.c(18): error: identifier "io_fileID_t" is undefined
const io_fileID_t * const pFileID,
^
io_attribute.c(29): error: identifier "io_fileID_t" is undefined
const io_fileID_t fileID = *pFileID;
^
io_attribute.c(71): error: identifier "io_fileID_t" is undefined
const io_fileID_t * const pFileID,
^
io_attribute.c(81): error: identifier "io_fileID_t" is undefined
const io_fileID_t fileID = *pFileID;
^
compilation aborted for io_attribute.c (code 2)
Makefile:123: recipe for target 'io_attribute.o' failed
make: *** [io_attribute.o] Error 2
make: *** Waiting for unfinished jobs....
In file included from io_create_dataset.c(1):
io_create_dataset.h(29): error: identifier "io_fileID_t" is undefined
const io_fileID_t * const pFileID,
^
io_create_dataset.c(4): error: identifier "io_fileID_t" is undefined
const io_fileID_t * const pFileID,
^
io_create_dataset.c(13): error: identifier "io_fileID_t" is undefined
const io_fileID_t fileID = *pFileID;
^
compilation aborted for io_create_dataset.c (code 2)
Makefile:123: recipe for target 'io_create_dataset.o' failed
make: *** [io_create_dataset.o] Error 2
"""
I guess that the problem is caused by some missing header files, but I am
not sure.
Could you give me some suggestions to fix it?
Thank you very much.
Best regards,
Chia-Jung Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20180603/b08b66da/attachment.htm>
More information about the flash-users
mailing list