- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have installed the Intel® oneAPI Base Toolkit 2024.0
However, when I try to use it to compile HPL benchmark: it gives me an error
Here is the output of the command:
mpiicx -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DHPL_DETAILED_TIMING -DHPL_PROGRESS_REPORT -I/home/huangjinjun/hjj/hpc/cpu_hpl/hpl-2.3/include -I/home/huangjinjun/hjj/hpc/cpu_hpl/hpl-2.3/include/Linux_Intel -I/home/huangjinjun/intel/oneapi/mkl/2024.0/mkl/include -O3 -w -ansi-alias --static -z noexecstack -z relro -z now -Wall -qopenmp -mt_mpi -o /home/huangjinjun/hjj/hpc/cpu_hpl/hpl-2.3/bin/Linux_Intel/xhpl HPL_pddriver.o HPL_pdinfo.o HPL_pdtest.o /home/huangjinjun/hjj/hpc/cpu_hpl/hpl-2.3/lib/Linux_Intel/libhpl.a -L/home/huangjinjun/intel/oneapi/mkl/2024.0/mkl/lib/intel64 -Wl,--start-group /home/huangjinjun/intel/oneapi/mkl/2024.0/lib/intel64/libmkl_intel_lp64.a /home/huangjinjun/intel/oneapi/mkl/2024.0/lib/intel64/libmkl_intel_thread.a /home/huangjinjun/intel/oneapi/mkl/2024.0/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -ldl
/usr/bin/ld: cannot find crtbeginT.o: No such file or directory
icx: error: linker command failed with exit code 1 (use -v to see invocation)
It says that the linker can not find the crtbeginT.o, but I have the file in the /usr/lib/gcc/x86_64-linux-gnu/12.
And the $LIBRARY_PATH is
/usr/lib/gcc/x86_64-linux-gnu/12:/home/huangjinjun/intel/oneapi/tbb/2021.11/env/../lib/intel64/gcc4.8:/home/huangjinjun/intel/oneapi/mpi/2021.11/lib:/home/huangjinjun/intel/oneapi/mkl/2024.0/lib/:/home/huangjinjun/intel/oneapi/ippcp/2021.9/lib/:/home/huangjinjun/intel/oneapi/ipp/2021.10/lib:/home/huangjinjun/intel/oneapi/dpl/2022.3/lib:/home/huangjinjun/intel/oneapi/dnnl/2024.0/lib:/home/huangjinjun/intel/oneapi/dal/2024.0/lib:/home/huangjinjun/intel/oneapi/compiler/2024.0/lib:/home/huangjinjun/intel/oneapi/ccl/2021.11/lib/:/usr/lib/gcc/x86_64-linux-gnu/12:
It is obvious that the $LIBRARY_PATH has already included it. I don't know why it fails.
When I use the older version which has mpiicc, it is successful without any error.
How to fix it? Thank you for your help
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Squarehuang, thanks for posting your question here. Can you please provide a reproducer to demonstrate your problem and list clearly the reproducing steps? Thank you.

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