Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
247 Discussions

Install Basekit - are GPU drivers required for non-GPU installation?

Jones__Brian
New Contributor I
409 Views

I am installing the oneAPI Basekit on Ubuntu 18.04, following the directions at https://software.intel.com/content/www/us/en/develop/articles/installing-intel-oneapi-toolkits-via-a....

Instruction #3 says "Install the required drivers If this is your first installation of Intel oneAPI" and it links to https://dgpu-docs.intel.com/installation-guides/ubuntu/ubuntu-bionic.html.

My questions are:

1. I am not using a GPU. Is the GPU driver installation necessary anyway?

2. If the answer to question 1 is "yes", then I have a related question. The driver install page shows this command:

wget -qO - https://repositories.intel.com/graphics/intel-graphics.key |
sudo apt-key add -
sudo apt-add-repository \
'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu bionic main'

I am not clear on whether that is one command or multiple commands. I tried to issue it as a single command and all I got was a > in place of the usual # symbol for a root user, and no other response.

Once that's cleared up I can proceed to install the basekit.

Thanks for any help.

0 Kudos
1 Solution
GouthamK_Intel
Moderator
393 Views

Hi Jones,

>>I tried to issue it as a single command and all I got was a > in place of the usual # symbol for a root user, and no other response.

Could you please try the below 3 commands individually and let us know if you still face the issue.

 

1) sudo apt-get install -y gpg-agent wget
2) wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add -
3) sudo apt-add-repository 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu bionic main'

 

 

>>1. I am not using a GPU. Is the GPU driver installation necessary anyway?

In order to answer your question, could you please clarify your scenario?

  1. Your system has GPU Installed but you don't want to use it and offload your code to GPU? or
  2. Your system doesn't have a GPU.

For Case1: We suggest you install the GPU drivers and if you don't want to offload your code to GPU, you can always use CPU_Selector to run your code on CPU.

For Case2: If you don't have GPU installed in your system, then you can skip the GPU driver installation. However, if you are installing OneAPI Toolkits for the 1st time and don't have the recommended OpenCL version in your system then you may have to update/install OpenCL.

 

1) sudo apt-get update
2) sudo apt-get install intel-opencl

 

If your issue still persists, let us know after which command you are getting the error. Also, if possible please provide a screenshot of the command line.

Have a Good day!

 

Regards

Goutham

 

View solution in original post

3 Replies
GouthamK_Intel
Moderator
394 Views

Hi Jones,

>>I tried to issue it as a single command and all I got was a > in place of the usual # symbol for a root user, and no other response.

Could you please try the below 3 commands individually and let us know if you still face the issue.

 

1) sudo apt-get install -y gpg-agent wget
2) wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add -
3) sudo apt-add-repository 'deb [arch=amd64] https://repositories.intel.com/graphics/ubuntu bionic main'

 

 

>>1. I am not using a GPU. Is the GPU driver installation necessary anyway?

In order to answer your question, could you please clarify your scenario?

  1. Your system has GPU Installed but you don't want to use it and offload your code to GPU? or
  2. Your system doesn't have a GPU.

For Case1: We suggest you install the GPU drivers and if you don't want to offload your code to GPU, you can always use CPU_Selector to run your code on CPU.

For Case2: If you don't have GPU installed in your system, then you can skip the GPU driver installation. However, if you are installing OneAPI Toolkits for the 1st time and don't have the recommended OpenCL version in your system then you may have to update/install OpenCL.

 

1) sudo apt-get update
2) sudo apt-get install intel-opencl

 

If your issue still persists, let us know after which command you are getting the error. Also, if possible please provide a screenshot of the command line.

Have a Good day!

 

Regards

Goutham

 

View solution in original post

Jones__Brian
New Contributor I
387 Views

Hi, Goutham

I followed your directions above and the instructions at https://software.intel.com/content/www/us/en/develop/articles/installing-intel-oneapi-toolkits-via-a....  The installation of the basekit and the hpc kit completed flawlessly. 

Thanks very much for your help. 

Brian Jones

 

GouthamK_Intel
Moderator
375 Views

Hi, Jones

Thanks for the confirmation,

Glad to know that your issue is resolved!

As this issue has been resolved, we will no longer respond to this thread. 

If you require any additional assistance from Intel, please start a new thread. 

Any further interaction in this thread will be considered community only. 

Have a Good day.


Thanks & Regards

Goutham


Reply