beagle-lib: BEAGLE fails to compile for Ubuntu 16.04 OpenCL

When I $make check

Making check in libhmsbeagle
make[1]: Entering directory '/home/max/beagle-lib/libhmsbeagle'
Making check in GPU
make[2]: Entering directory '/home/max/beagle-lib/libhmsbeagle/GPU'
Making check in kernels
make[3]: Entering directory '/home/max/beagle-lib/libhmsbeagle/GPU/kernels'
make  check-am
make[4]: Entering directory '/home/max/beagle-lib/libhmsbeagle/GPU/kernels'
make[4]: Nothing to be done for 'check-am'.
make[4]: Leaving directory '/home/max/beagle-lib/libhmsbeagle/GPU/kernels'
make[3]: Leaving directory '/home/max/beagle-lib/libhmsbeagle/GPU/kernels'
make[3]: Entering directory '/home/max/beagle-lib/libhmsbeagle/GPU'
make[3]: Nothing to be done for 'check-am'.
make[3]: Leaving directory '/home/max/beagle-lib/libhmsbeagle/GPU'
make[2]: Leaving directory '/home/max/beagle-lib/libhmsbeagle/GPU'
Making check in CPU
make[2]: Entering directory '/home/max/beagle-lib/libhmsbeagle/CPU'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/max/beagle-lib/libhmsbeagle/CPU'
Making check in plugin
make[2]: Entering directory '/home/max/beagle-lib/libhmsbeagle/plugin'
make[2]: Nothing to be done for 'check'.
make[2]: Leaving directory '/home/max/beagle-lib/libhmsbeagle/plugin'
make[2]: Entering directory '/home/max/beagle-lib/libhmsbeagle'
make[2]: Leaving directory '/home/max/beagle-lib/libhmsbeagle'
make[1]: Leaving directory '/home/max/beagle-lib/libhmsbeagle'
Making check in libhmsbeagle/JNI
make[1]: Entering directory '/home/max/beagle-lib/libhmsbeagle/JNI'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/max/beagle-lib/libhmsbeagle/JNI'
Making check in examples
make[1]: Entering directory '/home/max/beagle-lib/examples'
Making check in genomictest
make[2]: Entering directory '/home/max/beagle-lib/examples/genomictest'
make  genomictest genomictest.sh
make[3]: Entering directory '/home/max/beagle-lib/examples/genomictest'
make[3]: 'genomictest' is up to date.
make[3]: 'genomictest.sh' is up to date.
make[3]: Leaving directory '/home/max/beagle-lib/examples/genomictest'
make  check-TESTS
make[3]: Entering directory '/home/max/beagle-lib/examples/genomictest'
make[4]: Entering directory '/home/max/beagle-lib/examples/genomictest'
FAIL: genomictest.sh
============================================================================
Testsuite summary for libhmsbeagle 2.1.2
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See examples/genomictest/test-suite.log
Please report to beagle-dev@googlegroups.com
============================================================================
Makefile:711: recipe for target 'test-suite.log' failed
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory '/home/max/beagle-lib/examples/genomictest'
Makefile:817: recipe for target 'check-TESTS' failed
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory '/home/max/beagle-lib/examples/genomictest'
Makefile:890: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/home/max/beagle-lib/examples/genomictest'
Makefile:409: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/home/max/beagle-lib/examples'
Makefile:607: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

and when $java -Djava.library.path=/home/max/lib -jar beast.jar -beagle_info:


                  BEAST v1.8.4, 2002-2016
       Bayesian Evolutionary Analysis Sampling Trees
                 Designed and developed by
   Alexei J. Drummond, Andrew Rambaut and Marc A. Suchard
...

OpenCL error: Unknown error from file <GPUInterfaceOpenCL.cpp>, line 111.

May or may not be connected to #89.

Happy to provide more details on the system.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 21 (3 by maintainers)

Most upvoted comments

I have a system where clinfo says: The program ‘clinfo’ is currently not installed. To run ‘clinfo’ please ask your administrator to install the package ‘clinfo’

And yet BEAST+BEAGLE works fine on it …

Was it sufficient to install ocl-icd-opencl-dev ?