Skip to content

Linking fails with -lOpenGL not found #54

@devreal

Description

@devreal

Steps to reproduce

On Frontier, load rocm/6.0.0 and try to build StarPU 1.4.7.

Obtained behavior

Linking fails with:

  CCLD     implicit_stencil
ld.lld: error: unable to find library -lOpenCL
clang: error: linker command failed with exit code 1 (use -v to see invocation)

If I disable builduing of examples the build succeeds. Tried passing --disable-socl but that had no effect.

Configuration

../configure --disable-openmp --disable-build-tests --enable-blas-lib=none --disable-fortran CC=cc CXX=CC FC=ftn

Configuration result

config.log

Distribution

StarPU 1.4.7 release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions