Re: DAOS ior module has compilation errors

Chaarawi, Mohamad
 

Hi Kevan,

 

Yes I missed this in the latest fixes to update the DAOS & DFS drivers to the new IOR backend API changes.

This PR fixes it:

https://github.com/hpc/ior/pull/244

 

hopefully should land quickly.

 

Thanks,

Mohamad

 

From: <daos@daos.groups.io> on behalf of Kevan Rehm <kevan.rehm@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Wednesday, July 22, 2020 at 9:55 AM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [daos] DAOS ior module has compilation errors

 

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.