Skip to content

Unable to build ROMIO in Open MPI v5.0.10 with GCC 15.2.0 #14342

Description

@vterzi

I'm trying to build Open MPI v5.0.10 from source tarball using GCC 15.2.0 on Ubuntu 18.04, but the build fails due to ROMIO with the first error message being:

src/gpu/mpl_gpu_ze.c: In function ‘MPL_gpu_ipc_handle_create’:
src/gpu/mpl_gpu_ze.c:123:11: error: implicit declaration of function ‘zeDriverGetMemIpcHandle’; did you mean ‘zeMemGetIpcHandle’? [-Wimplicit-function-declaration]
  123 |     ret = zeDriverGetMemIpcHandle(global_ze_driver_handle, ptr, ipc_handle);
      |           ^~~~~~~~~~~~~~~~~~~~~~~
      |           zeMemGetIpcHandle

This problem (or a similar one) was already discussed in these issues: 11677, 12977.
ROMIO can be disabled completely using --disable-io-romio as a mitigation.
(--with-io-romio-flags=--without-ze doesn't seem to help.)
But it would be nice to also have ROMIO compiled.

Strangely, I have no problems building it with GCC 13.1.0.
Therefore, I assume that something goes wrong during configuration.
(Maybe there are some environment variables that I'm missing?)

Since it is caused by the incompatibility between different API versions of Level Zero, my current mitigation is to replace deprecated API calls in the problematic source file of ROMIO "mpl_gpu_ze.c" (with the help of Claude): diff.txt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions