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

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

Jones__Brian
New Contributor I
1,469 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-apt.html#runtime-standalone.

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
1,453 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

0 Kudos
3 Replies
GouthamK_Intel
Moderator
1,454 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

 

0 Kudos
Jones__Brian
New Contributor I
1,447 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-apt.html#runtime-standalone.  The installation of the basekit and the hpc kit completed flawlessly. 

Thanks very much for your help. 

Brian Jones

 

0 Kudos
GouthamK_Intel
Moderator
1,435 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


0 Kudos
Reply