Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28454 Discussions

libimf.so not found while using speccpu2017 in oneapi toolkit

Fugui_Xu
Beginner
884 Views

Hi,

I don't know if it is the right place to raise this problem. if I am wrong, please just close this page.

 

I am not quite familiar with the compling works. currently I am trying to get a  CPU performance on a server by using SPECCPU2017. there are serveral benchmarks written by C/C++ and Fortran in speccpu. I have installed "Base oneAPI toolkit" and "HPC oneAPI toolkit", after source the /opt/intel/oneapi/setvars.sh, I can see the compiler versions  below:

# icc -v
icc version 2021.3.0 (gcc version 7.3.0 compatibility)
# icpc
icpc: command line error: no files specified; for help type "icpc -help"
# icpc -v
icpc version 2021.3.0 (gcc version 7.3.0 compatibility)

 

then i start to run the script to compile the benchmarks. I got the error below:

ifort -m64 -xCORE-AVX512 -ipo -O3 -no-prec-div -qopt-prefetch -ffinite-math-only -qopt-mem-layout-trans=4 -auto -DSPEC_LP64 -nostandard-realloc-lhs -align array32byte block_solver.fppized.o flow_lam.fppized.o flux_lam.fppized.o jacobian_lam.fppized.o shell_lam.fppized.o fill1.fppized.o fill2.fppized.o -o bwaves_r
ld: /opt/intel/oneapi/compiler/2021.3.0/linux/bin/intel64/../../bin/intel64/../../lib/icx-lto.so: error loading plugin: libimf.so: cannot open shared object file: No such file or directory

 

I printed the LD_LIBRARY_PATH below:

/opt/intel/oneapi/vpl/2021.4.0/lib:/opt/intel/oneapi/tbb/2021.3.0/env/../lib/intel64/gcc4.8:/opt/intel/oneapi/mpi/2021.3.0//libfabric/lib:/opt/intel/oneapi/mpi/2021.3.0//lib/release:/opt/intel/oneapi/mpi/2021.3.0//lib:/opt/intel/oneapi/mkl/2021.3.0/lib/intel64:/opt/intel/oneapi/itac/2021.3.0/slib:/opt/intel/oneapi/ippcp/2021.3.0/lib/intel64:/opt/intel/oneapi/ipp/2021.3.0/lib/intel64:/opt/intel/oneapi/dnnl/2021.3.0/cpu_dpcpp_gpu_dpcpp/lib:/opt/intel/oneapi/debugger/10.1.2/gdb/intel64/lib:/opt/intel/oneapi/debugger/10.1.2/libipt/intel64/lib:/opt/intel/oneapi/debugger/10.1.2/dep/lib:/opt/intel/oneapi/dal/2021.3.0/lib/intel64:/opt/intel/oneapi/compiler/2021.3.0/linux/lib:/opt/intel/oneapi/compiler/2021.3.0/linux/lib/x64:/opt/intel/oneapi/compiler/2021.3.0/linux/lib/emu:/opt/intel/oneapi/compiler/2021.3.0/linux/compiler/lib/intel64_lin:/opt/intel/oneapi/ccl/2021.3.0/lib/cpu_gpu_dpcpp

and I can see the libimf.so under:

# find /opt/intel/oneapi/ -name "libimf.so"
/opt/intel/oneapi/compiler/2021.3.0/linux/compiler/lib/ia32_lin/libimf.so
/opt/intel/oneapi/compiler/2021.3.0/linux/compiler/lib/intel64_lin/libimf.so
/opt/intel/oneapi/intelpython/python3.7/pkgs/intel-cmplr-lib-rt-2021.3.0-intel_3350/lib/libimf.so
/opt/intel/oneapi/intelpython/python3.7/lib/libimf.so
/opt/intel/oneapi/intelpython/python3.7/envs/2021.3.0/lib/libimf.so
/opt/intel/oneapi/itac/2021.3.0/bin/rtlib/libimf.so

 

I suspect this problem should be related to the environment, but I tried serveral methods based on the intel pages and google, the problem still remains.

 

is there any luck to get this problem done, 

thanks a lot.

0 Kudos
1 Reply
Fugui_Xu
Beginner
863 Views

in addition for the compiler version:

# icc -v
icc version 2021.3.0 (gcc version 7.3.0 compatibility)
# icpc -v
icpc version 2021.3.0 (gcc version 7.3.0 compatibility)
# ifort -v
ifort version 2021.3.0

 

0 Kudos
Reply