- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I performed these steps:
1. Buy a Dell Precision M4800
2. Install CentOS 7
3.
lspci | grep VGA | grep Intel 00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
4. Execute these instructions in accordance with the Intel OpenCL Driver and SDK installation guides:
yum install libdrm libpciaccess libpng12 nasm lsb-redhat-core tar sudo usermod -a -G video cstankevitz cd ~/Downloads cp ~/mnt/Dependencies/intel-opencl-1.2-1.0-47971.tar.gz . tar xvzf intel-opencl-1.2-1.0-47971.tar.gz cd intel-opencl-1.2-1.0-47971/ sudo rpm -ivh intel-opencl-1.2-1.0-47971.x86_64.rpm sudo yum install yum-utils rpmdevtools pesign cd curl -O http://vault.centos.org/7.1.1503/os/Source/SPackages/kernel-3.10.0-229.el7.src.rpm sudo yum-builddep kernel-3.10.0-229.el7.src.rpm rpmdev-setuptree rpm -ivh kernel-3.10.0-229.el7.src.rpm cp /opt/intel/opencl/kernel-3.10.0-229.patch ~/rpmbuild/SOURCES/linux-kernel-test.patch perl -p -i.bak -e 's/^# % (.*?buildid ).*/%\1.intel.sr1/' ~/rpmbuild/SPECS/kernel.spec rpmbuild -bb --with firmware --without debug --without debuginfo --without perf --without tools ~/rpmbuild/SPECS/kernel.spec sudo rpm -ivh --oldpackage ~/rpmbuild/RPMS/x86_64/kernel-3.10.0-229.el7.centos.intel.sr1.x86_64.rpm sudo /sbin/shutdown -r now sudo rpm -ivh intel-opencl-1.2-devel-1.0-47971.x86_64.rpm sudo yum install gcc-c++ make mesa-libGL-devel cd ~/Downloads cp ~/mnt/Dependencies/intel_sdk_for_opencl_2016_6.0.0.1049_x64.tgz . tar xvzf intel_sdk_for_opencl_2016_6.0.0.1049_x64.tgz cd intel_sdk_for_opencl_2016_6.0.0.1049_x64/ sudo ./install_GUI.sh
When the SDK installer runs, it prints this message which is not entirely in english:
Check for OpenCL driver In work with the SDK, please make sure that the OpenCL™ driver on runtime for Intel® Architecture is installed on the system. For more information, please refer to: https://software.intel.com/en-us/articles/opencl-drivers.
My questions: Is my OpenCL driver installed or not installed? What is the SDK installer trying to communicate to me? What, if anything, did I do wrong? Thank you, Chris
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chris,
I think you can safely proceed with the installation: it is just an FYI - shouldn't prevent you from proceeding. You can check /opt/intel directory to see if your opencl bits are there. Also, you can try building the Linux samples: https://software.intel.com/en-us/intel-opencl-support/code-samples - You will need to modify makefiles a bit though. Run some of the samples to make sure things work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Robert Ioffe (Intel) wrote:
I think you can safely proceed with the installation: it is just an FYI - shouldn't prevent you from proceeding. You can check /opt/intel directory to see if your opencl bits are there. Also, you can try building the Linux samples: https://software.intel.com/en-us/intel-opencl-support/code-samples - You will need to modify makefiles a bit though. Run some of the samples to make sure things work.
Robert,
Thank you very much for your help. I downloaded the code sample you referred: https://software.intel.com/sites/default/files/managed/bd/3a/intel_ocl_samples_linux.tar.gz, compiled, ran and it worked. I will continue with the SDK install and report if I have trouble.
I had two changes to each Makefile: add "-I/opt/intel/opencl/include/ -L/opt/intel/opencl/" to the compile/link line. Does this mean that the OpenCL driver installation instructions are incorrect or that the Linux OpenCL 1.2 Makefiles are wrong? Or does it mean I messed up somewhere?
Thank you,
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That means we need to update the makefiles :)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page