DAOS ior module has compilation errors

Kevan Rehm
 

Apologies if this is old news, but the upstream ior master branch src/aiori-DAOS.c file does not compile cleanly, the signature apparently has changed for .get_file_size, the MPI_Comm parameter has been removed.

 

Regards, Kevan

 

  CC       libaiori_a-aiori-DUMMY.o

  CC       libaiori_a-aiori-MPIIO.o

  CC       libaiori_a-aiori-MMAP.o

  CC       libaiori_a-aiori-POSIX.o

  CC       libaiori_a-aiori-DAOS.o

aiori-DAOS.c:109:9: warning: initialization from incompatible pointer type [enabled by default]

         .get_file_size = DAOS_GetFileSize,

         ^

aiori-DAOS.c:109:9: warning: (near initialization for ‘daos_aiori.get_file_size’) [enabled by default]

  CC       libaiori_a-aiori-DFS.o

  AR       libaiori.a

  CC       ior-ior-main.o

  CC       ior-aiori.o

  CC       ior-aiori-DUMMY.o

  CC       ior-aiori-MPIIO.o

  CC       ior-aiori-MMAP.o

  CC       ior-aiori-POSIX.o

  CC       ior-aiori-DAOS.o

aiori-DAOS.c:109:9: warning: initialization from incompatible pointer type [enabled by default]

         .get_file_size = DAOS_GetFileSize,

         ^

aiori-DAOS.c:109:9: warning: (near initialization for ‘daos_aiori.get_file_size’) [enabled by default]

  CC       ior-aiori-DFS.o

  CCLD     ior

  CC       mdtest-mdtest-main.o

  CC       mdtest-aiori.o

  CC       mdtest-aiori-DUMMY.o

  CC       mdtest-aiori-MPIIO.o

  CC       mdtest-aiori-MMAP.o

  CC       mdtest-aiori-POSIX.o

  CC       mdtest-aiori-DAOS.o

aiori-DAOS.c:109:9: warning: initialization from incompatible pointer type [enabled by default]

         .get_file_size = DAOS_GetFileSize,

         ^

aiori-DAOS.c:109:9: warning: (near initialization for ‘daos_aiori.get_file_size’) [enabled by default]

  CC       mdtest-aiori-DFS.o

  CCLD     mdtest

  CC       test/lib.o

Join daos@daos.groups.io to automatically receive all group messages.