Does MEX of MATLAB R2023b (update 6) on macOS-13 work with Xcode 15 and Intel oneAPI 2023?
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
[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 commentaires
sol1ton
le 5 Mar 2024
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.
Réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Compiler dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!