- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
I'm trying to use oneMKL in GitHub Actions and I have stumbled upon https://github.com/oneapi-src/oneapi-ci which provides an example how to install DPCPP inside GitHub Actions. To this end I simply copied the script into my workflow file and essentially replaced COMPONENTS=intel.oneapi.win.dpcpp-compiler with COMPONENTS=intel.oneapi.win.mkl.devel:intel.oneapi.win.tbb.devel:intel.oneapi.win.dpl.
name: oneMKL test
on: [ push ]
jobs:
build:
runs-on: windows-2019
steps:
# https://github.com/oneapi-src/oneapi-ci/blob/master/scripts/install_windows.bat
- name: Install Intel oneAPI Math Kernel Library (oneMKL)
shell: cmd
run: |
on
REM SPDX-FileCopyrightText: 2022 Intel Corporation
REM
REM SPDX-License-Identifier: MIT
set URL=https:/registrationcenter-download.intel.com/akdlm/IRC_NAS/c961e083-5685-4f0b-ada5-c6cf16f561dd/w_BaseKit_p_2023.1.0.47256_offline.exe
set COMPONENTS=intel.oneapi.win.mkl.devel:intel.oneapi.win.tbb.devel:intel.oneapi.win.dpl
curl.exe --output %TEMP%\webimage.exe --url %URL% --retry 5 --retry-delay 5
start /b /wait %TEMP%\webimage.exe -s -x -f webimage_extracted --log extract.log
del %TEMP%\webimage.exe
webimage_extracted\bootstrapper.exe -s --action install --components=%COMPONENTS% --eula=accept -p=NEED_VS2017_INTEGRATION=0 -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=.
set installer_exit_code=%ERRORLEVEL%
rd /s/q "webimage_extracted"
exit /b %installer_exit_code%
However, the installer never finished. bootstrapper.exe just sits there for multiple hours without any output until GitHub kills the run. Can you please tell me what I'm doing wrong?
I've also reported this as an issue on the oneapi-ci repo: https://github.com/oneapi-src/oneapi-ci/issues/71
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Oof, turned out the culprit was the environment variable QT_QPA_PLATFORM="offscreen" (which I had omitted in my example and therefore was not able to reproduce the issue)
Ссылка скопирована
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Oof, turned out the culprit was the environment variable QT_QPA_PLATFORM="offscreen" (which I had omitted in my example and therefore was not able to reproduce the issue)
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Thank you so much for reaching Intel and for sharing the solution for your issue. The oneMKL users will benefit from your contribution.
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi Henri,
Thanks for posting in Intel communities.
Glad to know your issue is resolved. Thanks for sharing the solution with us. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks and Regards,
Praneeth Achanta
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати