Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1458513 - fatal error: cannot open file '/usr/lib64/clc//tonga-amdgcn-mesa-mesa3d.bc': No such file or directory
Summary: fatal error: cannot open file '/usr/lib64/clc//tonga-amdgcn-mesa-mesa3d.bc': ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libclc
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Fabian Deutsch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-03 18:23 UTC by Vedran Miletić
Modified: 2017-07-26 18:22 UTC (History)
3 users (show)

Fixed In Version: libclc-0.2.0-7.git1cb3fbf.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-26 18:22:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Vedran Miletić 2017-06-03 18:23:06 UTC
Problem:

$ clinfo 
Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 17.1.1
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Clover
Number of devices                                 1
  Device Name                                     AMD TONGA (DRM 3.10.0 / 4.11.3-300.fc26.x86_64, LLVM 4.0.0)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.1 Mesa 17.1.1
  Driver Version                                  17.1.1
  Device OpenCL C Version                         OpenCL C 1.1 
  Device Type                                     GPU
  Device Available                                Yes
  Device Profile                                  FULL_PROFILE
  Max compute units                               32
  Max clock frequency                             1030MHz
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Compiler Available                              Yes
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr/lib64/clc//tonga-amdgcn-mesa-mesa3d.bc': No such file or directory
  Preferred work group size multiple              <getWGsizes:500: build program : error -11>

Proposed soution:

./configure.py should also enable amdgcn-mesa-mesa3d and perhaps amdgcn--amdhsa as well

Comment 1 johannes.wagner 2017-07-14 18:04:33 UTC
gromacs from the fedora26 default repo crashes when used with OpenCl with following error:



-------------------------------------------------------
Program:     gmx mdrun, version 2016.3
Source file: src/gromacs/gpu_utils/ocl_compiler.cpp (line 273)
Function:    size_t gmx::ocl::getWarpSize(cl_context, cl_device_id)

Internal error (bug):
Failed to compile NBNXN kernels for GPU #AMD TONGA (DRM 3.10.0 /
4.11.9-300.fc26.x86_64, LLVM 4.0.0)
  Could not build OpenCL program to determine warp size, error was
  CL_BUILD_PROGRAM_FAILURE

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors

and same problem in clinfo:

Number of devices                                 1
  Device Name                                     AMD TONGA (DRM 3.10.0 / 4.11.9-300.fc26.x86_64, LLVM 4.0.0)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.1 Mesa 17.1.4
  Driver Version                                  17.1.4
  Device OpenCL C Version                         OpenCL C 1.1
  Device Type                                     GPU
  Device Available                                Yes
  Device Profile                                  FULL_PROFILE
  Max compute units                               28
  Max clock frequency                             1010MHz
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Compiler Available                              Yes
=== CL_PROGRAM_BUILD_LOG ===
fatal error: cannot open file '/usr/lib64/clc//tonga-amdgcn-mesa-mesa3d.bc': No such file or directory
  Preferred work group size multiple              <getWGsizes:500: build program : error -11>
  Preferred / native vector sizes

Comment 2 Fedora Update System 2017-07-25 06:52:03 UTC
libclc-0.2.0-7.git1cb3fbf.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-db4f11cb08

Comment 3 Fedora Update System 2017-07-26 01:19:20 UTC
libclc-0.2.0-7.git1cb3fbf.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-db4f11cb08

Comment 4 Fedora Update System 2017-07-26 18:22:12 UTC
libclc-0.2.0-7.git1cb3fbf.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.