Skip to content

Patch faulty Intel libraries during installation of intel-oneap-runtime #1933

@climbfuji

Description

@climbfuji

Is your feature request related to a problem?

We have the long-standing issue of libirc.so and libimf.so missing symbols from libm.so.6 and libc.so.6, and for unknown reasons these randomly show up and lead to segmentation faults.

Describe the solution you'd like

Add a variant for intel-oneap-runtime to patch the runtime libraries after installing them in the environments.

The commands are like this:

patchelf --add-needed libc.so.6 /opt/intel/oneapi/compiler/2024.0/lib/libirc.so
patchelf --add-needed libm.so.6 /opt/intel/oneapi/compiler/2024.0/lib/libimf.so

The benefit of doing this for the runtime installs is that we don't need write access to the Intel oneAPI installations that are sometimes done by the sysadmins.

Additional context

n/a

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions