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

setting the environment variables on Ubuntu

dwwwkim00
Beginner
551 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
520 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

dwwwkim00
Beginner
507 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.

ArpanB_Intel
Moderator
478 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-bas..., for guidance on this issue.


dwwwkim00
Beginner
467 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.

 

ArpanB_Intel
Moderator
453 Views

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


Reply