I upgraded my Mac (Intel chip) OS to Ventura 13.1 and try to compile with MKL. But I get the following error. It looks like MKL has not yet supported the 13.1 yet. Or is this something fixable?
opt/intel/oneapi/mkl/2023.0.0/lib/libmkl_intel_thread.a(blkslv_omp_mic_cmplx_lp64_sp.o))
ld: warning: pointer not aligned at page boundary address 0x104F4BFFC (‘.2.7_2_kmpc_loc_struct_pack.173’ + 16 from /opt/intel/oneapi/mkl/2023.0.0/lib/libmkl_intel_thread.a(compute_residual_cmplx_lp64_sp.o))
ld: warning: pointer not aligned at page boundary address 0x104F5AFFC (‘.2.4_2_kmpc_loc_struct_pack.228’ + 16 from /opt/intel/oneapi/mkl/2023.0.0/lib/libmkl_intel_thread.a(blkldl_ooc_omp_lp64_sp.o))
ld: unaligned pointer(s) for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [projects/tclmain/tcliset] Error 1
make[1]: *** [projects/tclmain/CMakeFiles/tcliset.dir/all] Error 2
make: *** [all] Error 2
I refreshed the MKL library from 2021.0.2 to 2023.0.0. But this does not fix the issue.
03/09/2023 update: This issue only applies to the dynamic libraries. Static libraries have no issues. To reproduce, once can use the simplest way that includes the OpenMP library in C++. Both native and gcc compilers will have the same issue.