Intel® oneAPI Base Toolkit
Support for the core tools and libraries within the base toolkit that are used to build and deploy high-performance data-centric applications.
419 Discussions

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

Anonymous
Not applicable
684 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
665 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
666 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
646 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


0 Kudos
Reply