-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Dear developers,
Compiling IMB fails with Intel compilers 2025.1.1 but compiles successfully with 2025.0.4.
Compiler information:
Intel(R) oneAPI DPC++/C++ Compiler 2025.1.1 (2025.1.1.20250418)
Target: x86_64-unknown-linux-gnu
Thread model: posix
MPI information: Intel MPI 2021.15.0
Error:
mpiicpx -Ihelpers -I../src_c -DMPI1 -I. -g -O0 -Wall -Wextra -Werror -DMPI1 -c -o MPI1/CPU/MPI1_suite.o MPI1/MPI1_suite.cpp
In file included from MPI1/MPI1_suite.cpp:51:
../src_c/IMB_prototypes.h:424:5: error: 'main' should not be 'extern "C"' [-Werror,-Wmain]
424 | int main(int argc, char **argv);
| ^
1 error generated.
make[1]: *** [MPI1/Makefile.MPI1.mk:108: MPI1/CPU/MPI1_suite.o] Error 1
make[1]: Leaving directory '/dss/dsshome1/0B/di38loh/archives/mpi-benchmarks-IMB-v2021.9.1/src_cpp'
make: *** [Makefile:36: IMB-MPI1] Error 2
cp: cannot stat 'IMB-*': No such file or directory
Can you please fix it?
Best regards,
Robert Mijakovic
Metadata
Metadata
Assignees
Labels
No labels