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

setting the environment variables on Ubuntu

dwwwkim00
Beginner
1,943 Views

When I tried to set the environment variables on Ubuntu, it fails.

 

. /opt/intel/oneapi/setvars.sh

 

gives the following error message

:: initializing oneAPI environment ...
bash: BASH_VERSION = 4.4.20(1)-release
:: ERROR: No env scripts found: No "env/vars.sh" scripts to process.
This can be caused by a bad or incomplete "--config" file.
Can also be caused by an incomplete or missing oneAPI installation.

 

Can you help me with this?

Labels (1)
0 Kudos
5 Replies
ArpanB_Intel
Moderator
1,912 Views

Hi Dongwook, could you confirm the following with us:


  • Did you encounter any installation issues prior to running the .sh file(warning, errors)
  • The OS build on which you are installing the Intel® oneAPI Base Toolkit

0 Kudos
dwwwkim00
Beginner
1,899 Views

Hi ArpanB,

 

There is no error in the installation.

I installed the intel oneAPI Base Toolkit on Ubuntu 18.04 LTS

 

Thank you,

Dongwook.

0 Kudos
ArpanB_Intel
Moderator
1,870 Views

Dongwook, thank you for the information.


The toolkit is supported on Ubuntu 18.04 LTS. Please use the command "source" before the path of setvars.sh file. We also suggest you to visit this link> https://software.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-linux/top/before-you-begin.html#before-you-begin_GUID-338EB548-7DB6-410E-B4BF-E65C017389C4, for guidance on this issue.


0 Kudos
dwwwkim00
Beginner
1,859 Views

That is the page I referred to.

So, I tried both commands 

 

. /opt/intel/oneapi/setvars.sh
source /opt/intel/oneapi/setvars.sh

 

They give the same message I mentioned before.

:: initializing oneAPI environment ...
bash: BASH_VERSION = 4.4.20(1)-release
:: ERROR: No env scripts found: No "env/vars.sh" scripts to process.
This can be caused by a bad or incomplete "--config" file.
Can also be caused by an incomplete or missing oneAPI installation.

 

0 Kudos
ArpanB_Intel
Moderator
1,845 Views

Dongwook, we have contacted you privately to continue our support further on this query.


0 Kudos
Reply