Does MEX of MATLAB R2023b (update 6) on macOS-13 work with Xcode 15 and Intel oneAPI 2023?
조회 수: 12 (최근 30일)
이전 댓글 표시
[Update 20240217: I am almost sure that this is a bug of MATLAB R2023b. The default MEX options are wrongly specified. They are incompatible with the new linker in Xcode 15. See my GitHub repo for the fix. See PRIMA for more explanations.]
----------------------------------------------------------------------------------------------------------
Does MEX of MATLAB R2023b (update 6) work with Xcode 15.0 and Intel oneAPI 2023? It should according to
However, it does not work in the GitHub Actions workflow run at
It complains about undefined symbols, e.g., ___power4i8.
N.B.:
1. For the configurations of the macOS-13 runner, see https://github.com/actions/runner-images/blob/macos-13/20240204.1/images/macos/macos-13-Readme.md.
In particular, it has Xcode Command Line Tools 15.1.0.0.1.1700200546 with Clang/LLVM 15.0.0.
2. The version of Intel oneAPI is 2023, which is installed by https://github.com/equipez/github_actions_scripts/blob/de1b45b9fd667a9fe42cd7d5ecec4318f60d9117/install_oneapi_macos.sh
3. The testing code:
The above Fortran code pow.F is a modification of the official timestwo.F. It is modified to calculate the power x^[x].
4. It does not work with oneAPI 2022 either. However, oneAPI 2021 is fine:
Did anyone encounter the same problem?
댓글 수: 3
sol1ton
2024년 3월 5일
I had some unrelated issues with clang after the xcode update. Adding -ld_classic to compiler options solved it, maybe it helps. Apparently there was some change in the linker or something, I don't remember anymore.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Compiler에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!