Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
242 Discussions

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

Anonymous
Not applicable
196 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
177 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
178 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

AbhishekD_Intel
Moderator
158 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