Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
806 Discussions

oneAPI Base Toolkit Windows not installing Unified Directory Layout oneapi-vars.bat

scivision
New Contributor I
1,105 Views

I have several Windows computers (all on Windows 24H2) and all of them except one has the Unified Directory Layout. I have Visual Studio 2022 installed with Desktop Development for C++ workload installed. I have the same minimal packages installed on all computers to use the Intel oneAPI C++ compiler with MKL. I typically use the Unified Directory Layout oneapi-vars.bat, but that's missing from one computer only.


For the computers that work, starting the oneAPI command prompt outputs like:

:: initializing oneAPI environment...
   Initializing Visual Studio command-line environment...
   Visual Studio version 17.14.8 environment configured.
   "C:\Program Files\Microsoft Visual Studio\2022\Community\"
   Visual Studio command-line environment initialized for: 'x64'
:: compiler -- processing etc\compiler\vars.bat
:: debugger -- processing etc\debugger\vars.bat
:: dpl -- processing etc\dpl\vars.bat
:: mkl -- processing etc\mkl\vars.bat
:: mpi -- processing etc\mpi\vars.bat
:: pti -- processing etc\pti\vars.bat
:: tbb -- processing etc\tbb\vars.bat
:: oneAPI environment initialized ::

 On the computer that doesn't work for oneAPI, the oneAPI command prompt says like:

:: initializing oneAPI environment...
   Initializing Visual Studio command-line environment...
   Visual Studio version 17.14.8 environment configured.
   "C:\Program Files\Microsoft Visual Studio\2022\Community\"
   Visual Studio command-line environment initialized for: 'x64'
:: oneAPI environment initialized ::

 On the non-working computer, the directory %PROGRAMFILES(X86)\Intel\oneAPI\2025.2 (just the 2025.2 part) is missing. The files %PROGRAMFILES(X86)\Intel\oneAPI\compiler\2025.2\bin\icx.exe etc. do exist. 

I have tried uninstalling, repairing, etc. I do not use the VS IDE integration. The logs\ directory for oneAPI shows "Success" and very similar contents between working and non-working computer.

0 Kudos
0 Replies
Reply