- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to compile and link a simple Fortran MPI application to produce a static binary with minimal shared library dependencies. This is what I am getting:
$ mpiifx -o mpi_hello_world -static_mpi -static-intel mpi_hello_world.f90
`.text.__intel_get_fast_memcpy_impl' referenced in section `.text.__real_memcpy_impl_setup' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(fastmemcpy.c.o): defined in discarded section `.text.__intel_get_fast_memcpy_impl[__intel_get_fast_memcpy_impl]' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(fastmemcpy.c.o)
`.text.__intel_get_fast_memset_impl' referenced in section `.text.__real_memset_impl_setup' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(fastmemset.c.o): defined in discarded section `.text.__intel_get_fast_memset_impl[__intel_get_fast_memset_impl]' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(fastmemset.c.o)
`.text.addq_abs' referenced in section `.text.__addq' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(ia32_addsubq.c.o): defined in discarded section `.text.addq_abs[addq_abs]' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(ia32_addsubq.c.o)
`.text.subq_abs' referenced in section `.text.__addq' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(ia32_addsubq.c.o): defined in discarded section `.text.subq_abs[subq_abs]' of /hpc/tstapps/intel/x86_64/oneapi-2024.update.1/compiler/2024.1/lib/libirc.a(ia32_addsubq.c.o)
It looks like I have to drop -static_mpi in order to avoid the symbol conflict in libirc.a and libifort.a
This is what I am using:
$ ifx --version
ifx (IFX) 2024.1.0 20240308
Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
$ mpiifx -v
mpiifx for the Intel(R) MPI Library @IMPI_OFFICIALVERSION@ for Linux*
Copyright Intel Corporation.
ifx version 2024.1.0
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks for reporting this.
The issue is already resolved in our internal builds for the next release 2021.13 / oneAPI 2024.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page