Skip to content

[5.0.0rc13] ROCm dependency leaks into libmpi.so even with "--enable-mca-dso=yes" #11971

@mkre

Description

@mkre

What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)

5.0.0rc13

Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)

Compiled from source

Details of the problem

I am experimenting with 5.0.0rc13. I am trying to build all MCA components as DSOs using --enable-mca-dso=yes and enable ROCm support using --with-rocm. As expected, I end up with a mca_accelerator_rocm.so file in my lib/openmpi directory. However, at the same time my top-level libmpi.so is having a dependency on libamdhip64.so.5. I cannot guarantee that this library will always be available at run time (hence building ROCm support as a DSO), so how can I avoid this link dependency?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions