Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
334 Discussions

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

Anonymous
Not applicable
388 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
369 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
370 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
350 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