Skip to content

PRELOAD libompi so fails when running in virtual env #2231

@srinivamd

Description

@srinivamd

IOMP_LIB="$(dirname "$(which python)")/../lib/libiomp5.so"

line tries to use python location to locate libiompi5.so and emits these messages at run time, failing to locate shared object

ERROR: ld.so: object '/root/venv/rocm-venv/bin/../lib/libiomp5.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.

Can this be ignored? Or does it affect test runs?
If it can be ignored and has no impact, do we need the PRELOAD?
Can gomp be used?

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