Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.
336 Discussions

Why do we need to launch setvars.bat before running OneAPI exe

Anonymous
Not applicable
393 Views

I don't need to run anything with CUDA before launching my executable.

Will it be fixed in the gold release ?

0 Kudos
1 Solution
AbhishekD_Intel
Moderator
374 Views

Hi,


Thanks for reaching out to us.

The thing is that the Intel OneAPI toolkit has multiple libraries and compilers so it's necessary to run setvars.bat in order to create a proper environment for compiling, linking, and running the executables. So we have to run setvars.bat in order to interact with the OneAPI related applications.


Hope you get the idea and difference for this use-case.



Warm Regards,

Abhishek



View solution in original post

2 Replies
AbhishekD_Intel
Moderator
375 Views

Hi,


Thanks for reaching out to us.

The thing is that the Intel OneAPI toolkit has multiple libraries and compilers so it's necessary to run setvars.bat in order to create a proper environment for compiling, linking, and running the executables. So we have to run setvars.bat in order to interact with the OneAPI related applications.


Hope you get the idea and difference for this use-case.



Warm Regards,

Abhishek



AbhishekD_Intel
Moderator
355 Views

Hi,


Thanks for the confirmation we will no longer monitor this thread.

Please post a new thread if you have any other issues.


Warm Regards,

Abhishek


Reply