OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

Unable to install opencl on Centos7

Kevin_F_1
Beginner
1,193 Views
Hi all,
I am currently unable to install Opencl on Centos 7.

I downloaded the version pset_opencl_runtime_14.1_x64_4.5.0.8 from the Intel-Downloadpage.

When I am trying to execute the Installationsscript the following happens:

As normal user:

 

 

 

bash install.sh --cli-mode 
This script installs Intel(R) Software Development Products.

Usage: install.sh [options]

    -h, --help                 print this message
    -v, --version              print version information
    -s, --silent [FILE]        run install silently, with settings in the configuration file
    -d, --duplicate [FILE]     run install interactively, record the user input into the 
                               configuration file
    -l, --lang                 set user interface language
    --cli-mode                 run install in command-line mode
    --gui-mode                 run install in graphical mode
    --user-mode                run install with current user privileges
    --signature                set public key file to validate signature
    --ignore-signature         skip signature validation
    --ignore-cpu               skip CPU model check
    --nonrpm-db-dir            set directory to store product installation database
    -t, --tmp-dir [FOLDER]     set custom temporary folder
    --SHARED_INSTALL           install to a network-mounted drive or shared file system
                               for multiple users

All provided paths must be absolute.
                               
Copyright (C) 2006-2014 Intel Corporation. All rights reserved.

/tmp/intel.pset.strings.userX.mice.domain.com: line 1: 1452783420: command not found
/tmp/intel.pset.strings.userX.mice.domain.com: line 2: 1452783420: command not found
/tmp/intel.pset.strings.userX.mice.domain.com: line 4: syntax error near unexpected token `('
/tmp/intel.pset.strings.userX.mice.domain.com: line 4: `1452783420 - : env_set_string_internal: key "SCRIPT_NAME" with value "/home/userX/openclruntime/pset_opencl_runtime_14.1_x64_4.5.0.8/./pset/32e/install" (length 84)'

 


Password: 

 

 

 

It doesnt matter which password I use, I wont be able to authenticate.



As sudo / root no matter which shell or options I am using, just the help is beeing displayed.
example:

 

 

 

bash install.sh --cli-mode
This script installs Intel(R) Software Development Products.

Usage: install.sh [options]

    -h, --help                 print this message
    -v, --version              print version information
    -s, --silent [FILE]        run install silently, with settings in the configuration file
    -d, --duplicate [FILE]     run install interactively, record the user input into the
                               configuration file
    -l, --lang                 set user interface language
    --cli-mode                 run install in command-line mode
    --gui-mode                 run install in graphical mode
    --user-mode                run install with current user privileges
    --signature                set public key file to validate signature
    --ignore-signature         skip signature validation
    --ignore-cpu               skip CPU model check
    --nonrpm-db-dir            set directory to store product installation database
    -t, --tmp-dir [FOLDER]     set custom temporary folder
    --SHARED_INSTALL           install to a network-mounted drive or shared file system
                               for multiple users

All provided paths must be absolute.
                               
Copyright (C) 2006-2014 Intel Corporation. All rights reserved.


When I am trying to install the actual rpms, be it with rmp or yum, I am just being told, that I need a file named 
opencl-1.2-base-1:4.5.0.8-1.x86_64 which a have not found in the net.

 

 

 

rpm -ivh --force opencl-1.2-*
error: Failed dependencies:
    opencl-1.2-intel-common >= 1:4.5.0.8 is needed by opencl-1.2-base-1:4.5.0.8-1.x86_64
    opencl-1.2-intel-common >= 1:4.5.0.8 is needed by opencl-1.2-intel-cpu-1:4.5.0.8-1.x86_64


[root@mice rpm]# yum install op
Display all 162 possibilities? (y or n)
[root@mice rpm]# yum install op
Display all 162 possibilities? (y or n)
[root@mice rpm]# yum install opencl-1.2-
opencl-1.2-base-4.5.0.8-1.x86_64.rpm       opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm  opencl-1.2-intel-cpu-4.5.0.8-1.x86_64.rpm  opencl-1.2-intel-mic-4.5.0.8-1.x86_64.rpm  
[root@mice rpm]# yum install opencl-1.2-
opencl-1.2-base-4.5.0.8-1.x86_64.rpm       opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm  opencl-1.2-intel-cpu-4.5.0.8-1.x86_64.rpm  opencl-1.2-intel-mic-4.5.0.8-1.x86_64.rpm  
[root@mice rpm]# yum install opencl-1.2-
opencl-1.2-base-4.5.0.8-1.x86_64.rpm       opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm  opencl-1.2-intel-cpu-4.5.0.8-1.x86_64.rpm  opencl-1.2-intel-mic-4.5.0.8-1.x86_64.rpm  
[root@mice rpm]# yum install opencl-1.2-*
Loaded plugins: fastestmirror, langpacks, priorities
Examining opencl-1.2-base-4.5.0.8-1.x86_64.rpm: 1:opencl-1.2-base-4.5.0.8-1.x86_64
Marking opencl-1.2-base-4.5.0.8-1.x86_64.rpm to be installed
Examining opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm: opencl-1.2-base-pset-4.5.0.8-1.noarch
opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm: does not update installed package.
Examining opencl-1.2-intel-cpu-4.5.0.8-1.x86_64.rpm: 1:opencl-1.2-intel-cpu-4.5.0.8-1.x86_64
Marking opencl-1.2-intel-cpu-4.5.0.8-1.x86_64.rpm to be installed
Examining opencl-1.2-intel-mic-4.5.0.8-1.x86_64.rpm: 1:opencl-1.2-intel-mic-4.5.0.8-1.x86_64
Marking opencl-1.2-intel-mic-4.5.0.8-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package opencl-1.2-base.x86_64 1:4.5.0.8-1 will be installed
--> Processing Dependency: opencl-1.2-intel-common >= 1:4.5.0.8 for package: 1:opencl-1.2-base-4.5.0.8-1.x86_64
base                                                                                                                                                                                                                    | 3.6 kB  00:00:00     
extras                                                                                                                                                                                                                  | 3.4 kB  00:00:00     
updates                                                                                                                                                                                                                 | 3.4 kB  00:00:00     
updates/7/x86_64/primary_db                                                                                                                                                                                             | 1.7 MB  00:00:00     
Loading mirror speeds from cached hostfile
 * base: artfiles.org
 * extras: centos.intergenia.de
 * updates: artfiles.org
---> Package opencl-1.2-intel-cpu.x86_64 1:4.5.0.8-1 will be installed
--> Processing Dependency: opencl-1.2-intel-common >= 1:4.5.0.8 for package: 1:opencl-1.2-intel-cpu-4.5.0.8-1.x86_64
---> Package opencl-1.2-intel-mic.x86_64 1:4.5.0.8-1 will be installed
--> Finished Dependency Resolution
Error: Package: 1:opencl-1.2-intel-cpu-4.5.0.8-1.x86_64 (/opencl-1.2-intel-cpu-4.5.0.8-1.x86_64)
           Requires: opencl-1.2-intel-common >= 1:4.5.0.8
Error: Package: 1:opencl-1.2-base-4.5.0.8-1.x86_64 (/opencl-1.2-base-4.5.0.8-1.x86_64)
           Requires: opencl-1.2-intel-common >= 1:4.5.0.8
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

 

If I am trying to use the --skip-broken options 3 of te 4 rpms are not installed:

 

 

 

yum install opencl-1.2-* --skip-broken
Loaded plugins: fastestmirror, langpacks, priorities
Examining opencl-1.2-base-4.5.0.8-1.x86_64.rpm: 1:opencl-1.2-base-4.5.0.8-1.x86_64
Marking opencl-1.2-base-4.5.0.8-1.x86_64.rpm to be installed
Examining opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm: opencl-1.2-base-pset-4.5.0.8-1.noarch
opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm: does not update installed package.
Examining opencl-1.2-intel-cpu-4.5.0.8-1.x86_64.rpm: 1:opencl-1.2-intel-cpu-4.5.0.8-1.x86_64
Marking opencl-1.2-intel-cpu-4.5.0.8-1.x86_64.rpm to be installed
Examining opencl-1.2-intel-mic-4.5.0.8-1.x86_64.rpm: 1:opencl-1.2-intel-mic-4.5.0.8-1.x86_64
Marking opencl-1.2-intel-mic-4.5.0.8-1.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package opencl-1.2-base.x86_64 1:4.5.0.8-1 will be installed
--> Processing Dependency: opencl-1.2-intel-common >= 1:4.5.0.8 for package: 1:opencl-1.2-base-4.5.0.8-1.x86_64
Loading mirror speeds from cached hostfile
 * base: artfiles.org
 * extras: centos.intergenia.de
 * updates: artfiles.org
---> Package opencl-1.2-intel-cpu.x86_64 1:4.5.0.8-1 will be installed
--> Processing Dependency: opencl-1.2-intel-common >= 1:4.5.0.8 for package: 1:opencl-1.2-intel-cpu-4.5.0.8-1.x86_64
---> Package opencl-1.2-intel-mic.x86_64 1:4.5.0.8-1 will be installed

Packages skipped because of dependency problems:
    1:opencl-1.2-base-4.5.0.8-1.x86_64 from /opencl-1.2-base-4.5.0.8-1.x86_64
    1:opencl-1.2-intel-cpu-4.5.0.8-1.x86_64 from /opencl-1.2-intel-cpu-4.5.0.8-1.x86_64
    1:opencl-1.2-intel-mic-4.5.0.8-1.x86_64 from /opencl-1.2-intel-mic-4.5.0.8-1.x86_64

 

 

I dont know what else I should try. Please help me to fix this.

Thanks in advance

 

 

0 Kudos
11 Replies
Kevin_F_1
Beginner
1,192 Views

Sorry for the funny format, somewhat my explanations (in the blockquotes) are caught in the Codeboxex and I somewhat cannot remove it.

Robert_I_Intel
Employee
1,192 Views

Hi Kevin,

I understand that you tried the instructions suggested elsewhere, e.g.

rpm -ivh --nodeps opencl-1.2-intel-*

If that didn't work for you, I will try the install today and let you know how it worked. I have a freshly installed CentOS, so it would be interesting to see what happens

Robert_I_Intel
Employee
1,192 Views

Hi Kevin,

I was able to install the package using either install_GUI.sh or install.sh on Centos 7.1 with no issues:

Downloaded the package. Untared it. Switched to pset_OpenCL_runtime_14.1_x64_4.5.0.8. At command prompt:

./install.sh --cli-mode

Chose Install as a root option; entered password and followed the installation prompts. I have a fresh 7.1 install.

Kevin_F_1
Beginner
1,192 Views

Hi Robert,

thanks for the response. As mentioned before, that is not working on my installation:
 

[username@mice pset_opencl_runtime_14.1_x64_4.5.0.8]$ ./install.sh --cli-mode
This script installs Intel(R) Software Development Products.

Usage: install.sh [options]

    -h, --help                 print this message
    -v, --version              print version information
    -s, --silent [FILE]        run install silently, with settings in the configuration file
    -d, --duplicate [FILE]     run install interactively, record the user input into the
                               configuration file
    -l, --lang                 set user interface language
    --cli-mode                 run install in command-line mode
    --gui-mode                 run install in graphical mode
    --user-mode                run install with current user privileges
    --signature                set public key file to validate signature
    --ignore-signature         skip signature validation
    --ignore-cpu               skip CPU model check
    --nonrpm-db-dir            set directory to store product installation database
    -t, --tmp-dir [FOLDER]     set custom temporary folder
    --SHARED_INSTALL           install to a network-mounted drive or shared file system
                               for multiple users

All provided paths must be absolute.
                               
Copyright (C) 2006-2014 Intel Corporation. All rights reserved.

/tmp/intel.pset.strings.username.mice.some.domain.name.com: line 1: 1453125481: command not found
/tmp/intel.pset.strings..username.mice.some.domain.name.com: line 2: 1453125481: command not found
/tmp/intel.pset.strings..username.mice.some.domain.name.com: line 4: syntax error near unexpected token `('
/tmp/intel.pset.strings..username.mice.some.domain.name.com: line 4: `1453125481 - : env_set_string_internal: key "SCRIPT_NAME" with value "/home/username/pset_opencl_runtime_14.1_x64_4.5.0.8/./pset/32e/install" (length 70)'



Password:
su: Authentication failure

That happends if I am trying to execute the script from my home folder as nonroot. I can type in whatever password I like, the authentication will fail. Also if I do it as root, just the help is displayed. (I change the FQDN as well as the username, but the number of "parts" is still similar.

I use the following version of Centos "CentOS Linux release 7.2.1511 (Core) " A fresh install would be impossible because there are already many services installed (which are in use).

 

Kevin_F_1
Beginner
1,192 Views

The stored pset intel.pset.username.mice.some.domain.name.com   (there a 3different psets  for some reason

intel.pset.username.mice.some.domain.name.com                       intel.pset.root.mice.some.domain.name.com mice_01.15.17.08.41.2016/ intel.pset.strings.root.mice.some.domain.name.com)

has stored the following:

1452630099 - : ##########################################################
1452630099 - : Logging started at Tue Jan 12 21:21:39 2016

1452630099 - : env_set_string_internal: key "SCRIPT_NAME" with value "/home/username/openclruntime/pset_opencl_runtime_14.1_x64_4.5.0.8/./pset/32e/install_gui" (length 88)
1452630099 - : main: command-line parameters
1452630099 - ERROR: : store_read_header: can't open '/home/username/openclruntime/pset_opencl_runtime_14.1_x64_4.5.0.8/./pset/32e/install_gui.cab'
1452630099 - : inited cab
1452630099 - : store_read_cab: detected 87 enties in CAB
1452630099 - : store_read_cab: (none)::(none)
1452630099 - : store_read_cab: _internal_::bash_functions.sh
1452630099 - : store_read_cab: _internal_::cli_inst_complete.xml
1452630099 - : store_read_cab: _internal_::cli_inst_configuration.xml
1452630099 - : store_read_cab: _internal_::cli_inst_eula.xml
1452630099 - : store_read_cab: _internal_::cli_inst_finish.xml
1452630099 - : store_read_cab: _internal_::cli_inst_init.xml
1452630099 - : store_read_cab: _internal_::cli_inst_installation.xml
1452630099 - : store_read_cab: _internal_::cli_inst_prerequisites.xml
1452630099 - : store_read_cab: _internal_::cli_inst_sequence.xml
1452630099 - : store_read_cab: _internal_::cli_inst_welcome.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_complete.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_configuration.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_finish.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_init.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_prerequisites.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_sequence.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_uninstallation.xml
1452630099 - : store_read_cab: _internal_::cli_uninst_welcome.xml
1452630099 - : store_read_cab: _internal_::coex.xml
1452630099 - : store_read_cab: _internal_::gui_inst_complete.xml
1452630099 - : store_read_cab: _internal_::gui_inst_configuration.xml
1452630099 - : store_read_cab: _internal_::gui_inst_eula.xml
1452630099 - : store_read_cab: _internal_::gui_inst_init.xml
1452630099 - : store_read_cab: _internal_::gui_inst_installation.xml
1452630099 - : store_read_cab: _internal_::gui_inst_prerequisites.xml
1452630099 - : store_read_cab: _internal_::gui_inst_sequence.xml
1452630099 - : store_read_cab: _internal_::gui_inst_welcome.xml
1452630099 - : store_read_cab: _internal_::gui_uninst_configuration.xml
1452630099 - : store_read_cab: _internal_::gui_uninst_init.xml
1452630099 - : store_read_cab: _internal_::gui_uninst_sequence.xml
1452630099 - : store_read_cab: _internal_::help.msg
1452630099 - : store_read_cab: _internal_::prerequisites_prod_def.xml
1452630099 - : store_read_cab: _internal_::prerequisites_pset_def.xml
1452630099 - : store_read_cab: _internal_::product.ini
1452630099 - : store_read_cab: _internal_::root_nonroot_finish.xml
1452630099 - : store_read_cab: _internal_::root_nonroot_init.xml
1452630099 - : store_read_cab: _internal_::root_nonroot_sequence.xml
1452630099 - : store_read_cab: _internal_::sequence.ini
1452630099 - : store_read_cab: _internal_::silent_inst_configuration.xml
1452630099 - : store_read_cab: _internal_::silent_inst_finish.xml
1452630099 - : store_read_cab: _internal_::silent_inst_init.xml
1452630099 - : store_read_cab: _internal_::silent_inst_installation.xml
1452630099 - : store_read_cab: _internal_::silent_inst_prerequisites.xml
1452630099 - : store_read_cab: _internal_::silent_inst_sequence.xml
1452630099 - : store_read_cab: _internal_::silent_uninst_configuration.xml
1452630099 - : store_read_cab: _internal_::silent_uninst_init.xml
1452630099 - : store_read_cab: _internal_::silent_uninst_prerequisites.xml
1452630099 - : store_read_cab: _internal_::silent_uninst_sequence.xml
1452630099 - : store_read_cab: _internal_::silent_uninst_uninstallation.xml
1452630099 - : store_read_cab: _internal_::strings.ini
1452630099 - : store_read_cab: _internal_::strings_prod_cli_common_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_cli_def.xml
1452630099 - : store_read_cab: _internal_::strings_prod_cli_inst_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_cli_modify_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_cli_repair_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_cli_uninst_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_common_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_gui_common_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_gui_def.xml
1452630099 - : store_read_cab: _internal_::strings_prod_gui_inst_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_gui_modify_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_gui_repair_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_gui_uninst_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_prod_suite_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_common_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_common_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_inst_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_inst_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_modify_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_modify_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_repair_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_repair_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_uninst_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_cli_uninst_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_common_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_common_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_common_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_common_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_inst_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_inst_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_modify_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_modify_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_repair_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_repair_def_default.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_uninst_def.xml
1452630099 - : store_read_cab: _internal_::strings_pset_gui_uninst_def_default.xml
1452630099 - : store_read_cab: _internal_::template_silent_cfg.txt
1452630099 - : show_help: Use default help.msg
1452630099 - : show_help: try to extract help.msg
1452630099 - : show_help: message extracted


 

Kevin_F_1
Beginner
1,192 Views

By removing the currently installed package and try to install the rpms angain, I was able to install 3 out 4 of 4. But it seems there is a conflict between the rpm packages:

 

rpm -ivh --nodeps opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm
Preparing...                          ################################# [100%]
    file /opt/intel/opencl-1.2-4.5.0.8 from install of opencl-1.2-base-pset-4.5.0.8-1.noarch conflicts with file from package opencl-1.2-base-1:4.5.0.8-1.x86_64
    file /opt/intel/opencl-1.2-4.5.0.8 from install of opencl-1.2-base-pset-4.5.0.8-1.noarch conflicts with file from package opencl-1.2-intel-cpu-1:4.5.0.8-1.x86_64
    file /opt/intel/opencl-1.2-4.5.0.8 from install of opencl-1.2-base-pset-4.5.0.8-1.noarch conflicts with file from package opencl-1.2-intel-mic-1:4.5.0.8-1.x86_64

 

Robert_I_Intel
Employee
1,192 Views

Hi Kevin,

Could you remove the packages above and then try the following commands:

sudo bash

su -

./install.sh --cli-mode

The first two commands are to ensure that you are actually in a proper shell. I think something in your environment is messing up the install script.

Another thing to try is to set the first line of the install.sh to the actual location of the bash shell: I suspect that your default shell /bin/sh is not bash but something else and that's what's causing this issue.

Kevin_F_1
Beginner
1,192 Views

Hi Robert,

that changes nothing. I used the bash shell and tried to run the script.It is still just displaying the help message:
 

[root@hostname pset_opencl_runtime_14.1_x64_4.5.0.8]# ./install.sh --cli-mode
This script installs Intel(R) Software Development Products.

Usage: install.sh [options]

    -h, --help                 print this message
    -v, --version              print version information
    -s, --silent [FILE]        run install silently, with settings in the configuration file
    -d, --duplicate [FILE]     run install interactively, record the user input into the
                               configuration file
    -l, --lang                 set user interface language
    --cli-mode                 run install in command-line mode
    --gui-mode                 run install in graphical mode
    --user-mode                run install with current user privileges
    --signature                set public key file to validate signature
    --ignore-signature         skip signature validation
    --ignore-cpu               skip CPU model check
    --nonrpm-db-dir            set directory to store product installation database
    -t, --tmp-dir [FOLDER]     set custom temporary folder
    --SHARED_INSTALL           install to a network-mounted drive or shared file system
                               for multiple users

All provided paths must be absolute.
                               
Copyright (C) 2006-2014 Intel Corporation. All rights reserved.

 

Also I tried to change the first line of the script from

#!/bin/sh

to

#!/usr/bin/bash

Still changes, the same thing happens

Benson_M_
Beginner
1,192 Views

Is there some way to run this without being root user or using SUDO? This would be extremely useful for local installations on shared machines where different specific environment are needed by different users.

Kevin_F_1
Beginner
1,192 Views

Hi

So progress happend. I still wasnt able to install opencl via the script, because it wouldnt run through not matter what I do.

Howerver, I was still able to install der rpms contained in the pset_OpenCL_runtime_14.1_x64_4.5.0.8 folder except the

opencl-1.2-base-pset-4.5.0.8-1.noarch.rpm which semms to have an conflict with the other 3 packages. However, this package seems to only include a deinstallation script which is not really necessary.

 

Together with the opencl-header-package of the epel-repo I was able to compile program which are using the opencl library. Which is certainly a progress.

 

Nevertheless~.. new problems occoured. It seems like opencl is not finding any devices on the system.

For example with the Multi-Device-Basic of the openclcodesamples im getting the following error:

[ ERROR ] Sample application specific error: OpenCL error UNKNOWN ERROR CODE -1001 happened in file ../common/oclobject.cpp at line 89

 

with the code from "tool-master" which can be get here:https://wiki.tiker.net/OpenCLHowTo#Testing I get the following error

*** 'clGetPlatformIDs' in 'cl-helper.c' on line 113 failed with error 'invalid/unknown error code'.

It seems like clGetPlatformIDs is failing to find any platform-Ids how can I debug / fix that?

 

Thanks in advance

 

most sincerely

Kevin F

Kevin_F_1
Beginner
1,192 Views

As for know, it seems to work after the like ~~ 8th install of opencl. The Script still isnt working, and the pset.noarch file couldnt be installed, but it seemed that it only contains the uninstall-script. Which is unnecessary in my case.

As long as I do not touch everything, it should deal the trick for now. Thanks for the help.

(It is also usefull to create an empty intel-common.rpm to get rid of the error messages by installing the rpms directly)

Reply