Hello, since updating to ICC 14.0.3 I'm having a warning apper whenever I want to statically link my application.
The warning reads as:
ipo: warning #11021: unresolved omp_set_num_threads
Referenced in /tmp/ipo_icc10sv2U.o
ipo: warning #11021: unresolved omp_get_thread_num
Referenced in /tmp/ipo_icc10sv2U.o
Referenced in libmkl_intel_thread.a(dlaset_par.o)
Referenced in libmkl_intel_thread.a(dlange_par.o)
Referenced in libmkl_intel_thread.a(dormlq_par.o)
Referenced in libmkl_intel_thread.a(dgeqrf_par.o)
Referenced in libmkl_intel_thread.a(dlacpy_par.o)
Referenced in libmkl_intel_thread.a(dgeqrf_offload_par.o)
Referenced in libmkl_intel_thread.a(dormqr_par.o)
Referenced in libmkl_intel_thread.a(dtrsm_drv.o)
Referenced in libmkl_intel_thread.a(domatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(dgelqf_pf_par.o)
Referenced in libmkl_intel_thread.a(dgemm_drv.o)
Referenced in libmkl_intel_thread.a(dtrmm_drv.o)
Referenced in libmkl_intel_thread.a(somatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(comatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(zomatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(simatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(dimatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(cimatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(zimatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(dgeqrf_pf_par.o)
Referenced in libmkl_intel_thread.a(dgemv_omp.o)
Referenced in libmkl_intel_thread.a(dgeqrf_pfnr_par.o)
Referenced in libmkl_intel_thread.a(daxpy_omp.o)
ipo: warning #11021: unresolved omp_set_nested
Referenced in /tmp/ipo_icc10sv2U.o
ipo: warning #11021: unresolved omp_get_num_threads
Referenced in libmkl_intel_thread.a(dlaset_par.o)
Referenced in libmkl_intel_thread.a(dlange_par.o)
Referenced in libmkl_intel_thread.a(dormlq_par.o)
Referenced in libmkl_intel_thread.a(dgeqrf_par.o)
Referenced in libmkl_intel_thread.a(dlacpy_par.o)
Referenced in libmkl_intel_thread.a(dormqr_par.o)
Referenced in libmkl_intel_thread.a(dtrsm_drv.o)
Referenced in libmkl_intel_thread.a(domatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(dgelqf_pf_par.o)
Referenced in libmkl_intel_thread.a(dgemm_drv.o)
Referenced in libmkl_intel_thread.a(dtrmm_drv.o)
Referenced in libmkl_intel_thread.a(somatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(comatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(zomatcopy2_par_omp.o)
Referenced in libmkl_intel_thread.a(simatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(dimatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(cimatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(zimatcopy_par_omp.o)
Referenced in libmkl_intel_thread.a(dgeqrf_pf_par.o)
Referenced in libmkl_intel_thread.a(dgemv_omp.o)
Referenced in libmkl_intel_thread.a(dgeqrf_pfnr_par.o)
Referenced in libmkl_intel_thread.a(daxpy_omp.o)
ipo: warning #11021: unresolved omp_in_parallel
Referenced in libmkl_intel_thread.a(mkl_threading.o)
ipo: warning #11021: unresolved omp_get_max_threads
Referenced in libmkl_intel_thread.a(mkl_threading.o)
ipo: warning #11021: unresolved omp_get_num_procs
Referenced in libmkl_intel_thread.a(mkl_threading.o)
/opt/intel/composer_xe_2013_sp1.3.174/mkl/lib/intel64/libmkl_core.a(mkl_aa_fw_load_orsl_lite_lib.o): In function `mkl_aa_fw_load_orsl_lite_lib':
../../../../serv/offload/framework/core/mkl_aa_fw_load_orsl_lite_lib.c:(.text+0xbe): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Link line is:
icc -o out <bunch of object files> -L. -g -openmp -mkl=parallel -parallel -L/opt/intel/vtune_amplifier_xe_2013/lib64 -littnotify -static -fast -openmp -lpthread -Wl,--start-group /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libiomp5.a /opt/intel/mkl/lib/intel64/libmkl_intel_lp64.a /opt/intel/mkl/lib/intel64/libmkl_core.a /opt/intel/mkl/lib/intel64/libmkl_intel_thread.a -Wl,--end-group -lgfortran -lm
Any toughts?