Beagle make check error

940 views
Skip to first unread message

Jackson Lima

unread,
Nov 2, 2013, 11:28:09 AM11/2/13
to beast...@googlegroups.com
After compiling the BEAGLE , I realize the make check and it failed.
The log file greado is pasted below :
================================================== =========
   
libhmsbeagle 2.1 : examples / genomictest / test- suite.log
================================================== =========

# TOTAL : 1
# PASS : 0
# SKIP : 0
# XFAIL : 0
# FAIL : 1
# XPASS : 0
# ERROR : 0

.. contents ::: depth : 2

FAIL : genomictest.sh
====================


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

Simulating genomic DNA with 16 and rate 10000 site patterns ( 5 reps )


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

Simulating genomic 64 -state rate and date with 10 100 site patterns ( 5 reps )


Any suggestions ?
I'm using Ubuntu 13:10 NVIDIA 770GTX with the latest driver ( BETA ) and cuda - 5.5 .
At the time the compilation , the . / Configure , the error appeared to lack of OpenCL , because I think it looks in / usr / include / CL , but at mesno this driver does not create this directory , then redirected to / usr / local / cuda-5.5/include/Cl , you did it wrong ?

Best regards ,

Jackson Lima

Andrew Rambaut

unread,
Nov 2, 2013, 11:36:31 AM11/2/13
to beast...@googlegroups.com
Try doing:

./configure --without-opencl

and rebuilding. Or install Intel OpenCL from the Intel website.

Best,
Andrew

--
You received this message because you are subscribed to the Google Groups "beast-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beast-users...@googlegroups.com.
To post to this group, send email to beast...@googlegroups.com.
Visit this group at http://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/groups/opt_out.

Jackson Lima

unread,
Nov 2, 2013, 11:41:47 AM11/2/13
to beast...@googlegroups.com
Thank you Andrew,

But I can install the Intel OpenCL even my processor is an AMD? What is the importance of OpenCL to run BEAST on a GPU NVIDIA?

Best regards,

Jackson Lima

Andrew Rambaut

unread,
Nov 2, 2013, 11:52:23 AM11/2/13
to beast...@googlegroups.com
I don't know if Intel OpenCL would work on an AMD machine. If you want to use your GPU and you have CUDA installed then
that would be the most efficient way. The main advantage of OpenCL is target multi-core CPUs (and AMD GPUs).

Andrew

ramonf

unread,
Oct 2, 2014, 6:21:27 AM10/2/14
to beast...@googlegroups.com
Hi

I just downloaded the latest version (SVN ver.1260 of beagle-lib) and I am also getting this error.

Moreover the --without-opencl doesn't not appear to have much effect as this GPUInterfaceOpenCL.cpp error continues to pop up when specifying it.

I have started to leaf through the configure script output to figure why opencl code is still being included in the compilation, but any clues beforehand would be appreciated.

Thanks / Ramón.

Roxana Capper

unread,
Oct 2, 2014, 10:46:51 AM10/2/14
to beast...@googlegroups.com
I can't help with the opencl part, but the newest version of Beagle is actually 2.1.2.   You can find it at http://beagle-lib.googlecode.com/svn/tags/beagle_release_2_1_2 beagle_v212 . Note that line 388 of configure.ac must be changed to AC_CONFIG_FILES([hmsbeagle-1.pc]) and that you use .configure --prefix=/path/to/where/ever you don't have a trailing slash.  

Ramón Fallon

unread,
Oct 3, 2014, 10:46:05 AM10/3/14
to beast-users
Thanks for the answer Roxana.

Ref. the version, actually I mean the revision number in the SVN source tree, 1260 being the latest. The 2.1.2 release may well be based on this or an earlier SVN revision, I'm going to check the "svn log" to see if says so. In any case, my main assumption is that the latest SVN is the way to go, though I may go for an early revision in order to solve this opencl problem, because I did install beagle some years ago and didn't get this problem.

Seeing as the --without-opencl option isn't working for me, I'm going to try and get opencl working first, though I only have recourse to the nvidia version. I'm hoping it might work there. I'll post further on my progress.

For more options, visit https://groups.google.com/d/optout.

Ramón Fallon

unread,
Oct 3, 2014, 11:47:27 AM10/3/14
to beast-users
svn log says "r1240 tagging release v2.1.2" so the revision number 1240 corresponds to release 2.1.2, I venture.

Ramón Fallon

unread,
Oct 9, 2014, 1:53:29 PM10/9/14
to beast-users
I made some progress on my Ubuntu, by deciding to go the Intel OpenCL way and forgetting about trying to avoid OpenCL (download page: https://software.intel.com/en-us/intel-opencl and necessary installation advice: https://software.intel.com/en-us/forums/topic/390630).

Beagle then compiled the tests successfully with none of the previous "OpenCL error: Unknown error <GPUInterfaceOpenCL.cpp> from file , line 111 ." errors, and beast then duly recognised the GP cards.

Will do some stress testing tomorrow with the researchers. Cheers.
Reply all
Reply to author
Forward
0 new messages