- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am a newbie with OneAPI, using Ubuntu 22.04 LTS. I installed and configure OneAPI with the command bellow:
# download the key to system keyring wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \ | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null # add signed entry to apt sources and configure the APT client to use Intel repository: echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list sudo apt update sudo apt install intel-renderkit # configure the enviroment variables source /opt/intel/oneapi/setvars.sh
This is working find, I can find the installed files locations with the command: printenv | grep intel
However, whenever I am restarting the computer and then running the same command from terminal, I get nothing. It is completely blank. So, each time I am again installing the whole process.
* What I am doing wrong?
* How can I solve this problem that each time after restarting the computer still can find the location with `printenv | grep intel` ?
Thanks.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bipul,
Thanks for reaching out to us.
>>However, whenever I am restarting the computer and then running the same command from terminal, I get nothing. It is completely blank. So, each time I am again installing the whole process.
Could you please confirm if you have sourced the setvars.sh script after restarting your computer and still see the same issue?
You can refer to the below link to know more about the setvars.sh script
"Source setvars.sh every time you open a new terminal window"
so that you need not to do the whole installation process again.
Please try this and get back to us if you still see the same.
Regards,
Vidya.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the assistance. I added the setvars.sh to the bashrc and problem solved
sudo echo "source /opt/intel/oneapi/setvars.sh" >> ~/.bashrc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bipul,
>>...and problem solved
Thanks for the confirmation.
As the issue is resolved we are closing this thread. Please post a new question if you need any additional assistance from Intel as this thread will no longer be monitored.
Regards,
Vidya.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page