Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to make mex work on windows-latest? #55

Closed
zaikunzhang opened this issue Jan 10, 2023 · 6 comments
Closed

Is it possible to make mex work on windows-latest? #55

zaikunzhang opened this issue Jan 10, 2023 · 6 comments

Comments

@zaikunzhang
Copy link

zaikunzhang commented Jan 10, 2023

According to issue 29, it was not possible to make mex work on windows-latest as of February 2022. What about now in 2023, with newer MATLAB?

Many thanks!

Zaikun

@mcafaro
Copy link
Member

mcafaro commented Jan 10, 2023

MATLAB R2022a and R2022b include support for Visual Studio 2022, so I would expect those releases to work with the Visual Studio 2022 compiler included in windows-latest.

@zaikunzhang
Copy link
Author

zaikunzhang commented Jan 10, 2023

Hi Mark @mcafaro ! Thank you for your response.

I did some tests just now. R2022a/b both failed on Fortran, complaining "Did not find installed compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2019'." Strangely, they looked for VS 2019, disregarding the existing VS 2022. There was no problem with C.

2022a, Fortran: https://github.com/equipez/setup_mex/actions/runs/3883944407/jobs/6626961670
2022b, Fortran: https://github.com/equipez/setup_mex/actions/runs/3883944407/jobs/6626962025
Other versions (all succeed): https://github.com/equipez/setup_mex/actions/runs/3883944407

The workflows: https://github.com/equipez/setup_mex/actions/runs/3883944407/workflow

Installation of Intel OneAPI: https://github.com/equipez/setup_mex/blob/main/install_oneapi_windows.bat

It would be great if you could take a look. Many thanks!

Best regards,
Zaikun

@mcafaro
Copy link
Member

mcafaro commented Jan 10, 2023

Sorry, I should have mentioned Visual Studio 2022 only has a C and C++ compiler. If you need to compile Fortran MEX files, you'll still need to bring your own Fortran compiler with windows-latest and 22a/b.

R2022a and R2022b require Intel oneAPI 2021 for Fortran. It looks like you may be using oneAPI 2023.

@zaikunzhang
Copy link
Author

zaikunzhang commented Jan 11, 2023

Hello Mark,

I made some new tests:

https://github.com/equipez/setup_mex/actions/runs/3889645833

Different from the documentation, MATLAB never looks for VS above 2019. See, for example,

https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085171

It is true that the oneAPI version in this workflow (2023) is higher than expected (2021). However, it does not seem to be the reason for the failure. MATLAB does not complain about it, but says that it cannot find VS 2015, 2017, or 2019.

I am afraid that this might be a bug similar to a previous one, where an early version of R2022a does not support gfortran 8.x as documented. This has been confirmed as a bug by the MEX team (@ssankarmw) of Mathworks.

Would you mind having a look at this problem, or drawing the attention of your colleagues on the MEX team? Thank you very much!

Best regards,
Zaikun

(PS: I also tested oneAPI 2021. The test also failed, but for a different reason: the offline installer of oneAPI does not work with windows-latest, which has been reported to the Intel CI team).

@ssankarmw
Copy link

Hi Zaikun
The two issues are different.
R2022a and R2022b support intel 2021 only, as mentioned on the supported compilers page(https://www.mathworks.com/support/requirements/supported-compilers.html).
You must have VS 2019 and Intel 2021 in order to build a Fortran MEX function in these releases.

That said, I will investigate this issue further.
Can you put a link to the exact log file that has the error messages?
If possible can add "-v" to your MEX commands and try to rebuild the mex commands.

-Sriram

@zaikunzhang
Copy link
Author

zaikunzhang commented Jan 12, 2023

Hello Sriram @ssankarmw ! Thank you very much for looking into this issue.

Here are the error logs, where mex was always called with "-v". I hope you can see them. I will attache them at the end of this comment, just in case.

R2022a: https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638084886
R2022b: https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089

I would like to highlight the following points.

  1. According to the official documentation, MATLAB R2022a/b supports not only VS 2019 but also VS 2022, the latter being available on windows-latest.

  2. However, according to the above error logs, MATLAB only looks for VS 2015/7/9, disregarding the existing VS 2022, and hence the failure.

  3. Even if the oneAPI version is different from the documentation (e.g., 2022 vs 2021), MATLAB seems to be fine with it.
    Indeed, on windows-2019, MATLAB works happily with VS2019 + oneAPI 2022 or 2023 (see, e.g., https://github.com/equipez/setup_mex/actions/runs/3902273795/jobs/6665150402).

  4. Due to 2 and 3, I strongly believe that the failures corresponding to the error logs are because of Microsoft VS rather than oneAPI. MATLAB neglects the readily usable VS 2022 on windows-latest, which is unexpected according to the official documentation.

It would be great if you could try on your side what happens with

Windows Server 2022 + MATLAB R2022b + VS 2022 + oneAPI 2021

It should work according to the documentation, but I guess it will fail.

Thank you very much for your investigation and help!

Best regards,
Zaikun

R2022a:

MATLAB is running in headless mode.  Figure windows will not be displayed.
  
  	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
  	Not for government, commercial, or other non-sponsored organizational use.
  
  Verbose mode is on.
  ... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2015' ...
  ... Looking for environment variable 'IFORT_COMPILER18' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  ... Looking for registry setting 'HKLM\SOFTWARE\Wow64[32](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:34)Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  Did not find the installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2015'.
  ... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER18' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER18' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2019'.
  ... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2015' ...
  ... Looking for environment variable 'IFORT_COMPILER19' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2015'.
  ... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER19' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER19' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2019'.
  ... Looking for compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER20' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER20' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2019'.
  ... Looking for compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER21' ...No.
  ... Looking for environment variable 'ONEAPI_ROOT' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  Did not find installed compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER21' ...No.
  ... Looking for environment variable 'ONEAPI_ROOT' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value' ...No.
  Did not find installed compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2019'.
  {Error using command_186d8d9f_e6a7_[41](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:43)[51](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:53)_a6c4_13e14d32dc[69](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:71)
  Supported compiler not detected. For options, visit https://www.mathworks.com/support/compilers.
  } 
  ERROR: MATLAB error Exit Status: 0x00000001
  exit status 1

R2022b:

MATLAB is running in headless mode.  Figure windows will not be displayed.
  
  	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
  	Not for government, commercial or other non-sponsored organizational use.
  
  Verbose mode is on.
  ... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2015' ...
  ... Looking for environment variable 'IFORT_COMPILER18' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  ... Looking for registry setting 'HKLM\SOFTWARE\Wow64[32](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:34)Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 14.0 ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2015'.
  ... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER18' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER18' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2018 for Fortran with Microsoft Visual Studio 2019'.
  ... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2015' ...
  ... Looking for environment variable 'IFORT_COMPILER19' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2015'.
  ... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER19' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER19' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2019 for Fortran with Microsoft Visual Studio 2019'.
  ... Looking for compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER20' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER20' ...No.
  Did not find installed compiler 'Intel Parallel Studio XE 2020 for Fortran with Microsoft Visual Studio 2019'.
  ... Looking for compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2017' ...
  ... Looking for environment variable 'IFORT_COMPILER21' ...No.
  ... Looking for environment variable 'ONEAPI_ROOT' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for registry setting 'HKLM\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  ... Looking for registry setting 'HKCU\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7' 15.0 ...No.
  Did not find installed compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2017'.
  ... Looking for compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2019' ...
  ... Looking for environment variable 'IFORT_COMPILER21' ...No.
  ... Looking for environment variable 'ONEAPI_ROOT' ...Yes ('C:\Program Files (x86)\Intel\oneAPI\').
  ... Looking for file 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\Bin\intel64\ifort.exe' ...Yes.
  ... Looking for folder 'C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows' ...Yes.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Enterprise -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Professional -property installationPath -format value' ...No.
  ... Looking for environment variable 'ProgramFiles(x86)' ...Yes ('C:\Program Files (x86)').
  ... Looking for file 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe' ...Yes.
  ... Executing command '"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -version "[16.0,17.0)" -products Microsoft.VisualStudio.Product.Community -property installationPath -format value' ...No.
  Did not find installed compiler 'Intel oneAPI 2021 for Fortran with Microsoft Visual Studio 2019'.
  {Error using command_186d8d9f_e6a7_[41](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:43)[51](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:53)_a6c4_13e14d32dc[69](https://github.com/equipez/setup_mex/actions/runs/3889645833/jobs/6638085089#step:5:71)
  Supported compiler not detected. For options, visit https://www.mathworks.com/support/compilers.
  }
  ERROR: MATLAB error Exit Status: 0x00000001
  exit status 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants