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 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.
>>...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.