- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Compilation:
$ mpiicc -o statusf2c statusf2c.c
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/icx-ef92159ca4/statusf2c-1d1ec7.o: in function `main':
statusf2c.c:(.text+0x2f): undefined reference to `MPI_Status_f2c'
icx: error: linker command failed with exit code 1 (use -v to see invocation)
$ mpiicc -v
mpiicx for the Intel(R) MPI Library @IMPI_OFFICIALVERSION@ for Linux*
Copyright Intel Corporation.
Intel(R) oneAPI DPC++/C++ Compiler 2024.1.0 (2024.1.0.20240308)
Target: x86_64-unknown-linux-gnu
Thread model: posix
statusf2c.c
#include "mpi.h"
int main(int argc, char* argv[])
{
MPI_Init(&argc, &argv);
const MPI_Fint *f_status;
MPI_Status *c_status;
MPI_Status_f2c(f_status, c_status);
MPI_Finalize();
}
Compilation:
$ mpiicc -o statusc2f statusc2f.c
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/icx-c05bcc98a2/statusc2f-14ef22.o: in function `main':
statusc2f.c:(.text+0x2f): undefined reference to `MPI_Status_c2f'
icx: error: linker command failed with exit code 1 (use -v to see invocation)
statusc2f.c
$ cat statusc2f.c
#include "mpi.h"
int main(int argc, char* argv[])
{
MPI_Init(&argc, &argv);
MPI_Fint *f_status;
const MPI_Status *c_status;
MPI_Status_c2f(c_status, f_status);
MPI_Finalize();
}
Started failing with Intel MPI 2021.12
Not previously failing with Intel MPI 2021.11.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
actually we just put a patch release online that fixes this issue, please update to 2021.12.1:
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @TobiasK
I get the same problem. The symbol is missing.
$ mv statusc2f.c statusc2f.cpp
$ mpiicpx -o statusc2f statusc2f.cpp
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /tmp/icpx-3554b074ae/statusc2f-5e7312.o: in function `main':
statusc2f.cpp:(.text+0x2f): undefined reference to `MPI_Status_c2f'
icpx: error: linker command failed with exit code 1 (use -v to see invocation)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
actually we just put a patch release online that fixes this issue, please update to 2021.12.1:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @TobiasK
Yes my issue was resolved with 2021.12.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the confirmation!
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