- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I'm trying to link statically an MPI (or hybrid: MPI+OMP) application but the error is:
ld: /opt/intel/oneapi_2025.1.1/compiler/2025.1/lib/libiomp5.a(memattrs.o): in function `hwloc_internal_memattr_set_value': (.text+0x1a40): multiple definition of `hwloc_internal_memattr_set_value'; /opt/intel/oneapi_2025.1.1/mpi/2021.15/lib/libmpi.a(memattrs.o):/build/impi/_buildspace/release/src/hwloc/hwloc/../../../../../src/hwloc/hwloc/memattrs.c:938: first defined here
Same error for MPI or hybrid test.
As mentioned by @foxtran,`hwloc_internal_memattr_set_value` is used both in MPI and OpenMP runtimes.
I'm using the latest version of HPC toolkit : 2025.1.1 (30.04.2025)
Here the version of mpiifx
mpiifx -v
mpiifx for the Intel(R) MPI Library 2021.15 for Linux*
Copyright Intel Corporation.
ifx version 2025.1.1
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page