OpenCL vs CUDA in BEAGLE

625 views
Skip to first unread message

Jacob Berv

unread,
Jul 20, 2014, 10:21:33 AM7/20/14
to beast...@googlegroups.com
Does anyone have any experience with the OpenCL implementation of the beagle library for use with beast? I'm thinking about purchasing a new Mac Pro with dual AMD D700 GPUs, which have alot of GPU horsepower, and apparently beagle 2.1 supports OpenCL on AMD devices for accelerated computing  - is there anyone on here who has tried this combination? 
Jake

Andrew Rambaut

unread,
Jul 20, 2014, 11:30:20 AM7/20/14
to beast...@googlegroups.com
Hi Jake,

I have a MacPro with these GPUs but at present BEAGLE doesn’t work with them (runs fine on the CPU). We are trying to track down the issue but it seems to be a problem with Apple’s OpenCL implementation.

The new MacPro’s are very fast machines but at present we can’t make use of the GPUs.

Andrew

On 20 Jul 2014, at 15:21, Jacob Berv <jacob...@gmail.com> wrote:

Does anyone have any experience with the OpenCL implementation of the beagle library for use with beast? I'm thinking about purchasing a new Mac Pro with dual AMD D700 GPUs, which have alot of GPU horsepower, and apparently beagle 2.1 supports OpenCL on AMD devices for accelerated computing  - is there anyone on here who has tried this combination? 
Jake

--
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/d/optout.

Andrew Rambaut 
Institute for Evolutionary Biology | Centre for Infection, Immunity & Evolution 
Ashworth Laboratories, University of Edinburgh, Edinburgh, EH3 9JT, UK


Jacob Berv

unread,
Jul 20, 2014, 11:36:00 AM7/20/14
to beast...@googlegroups.com
Have you tried running windows natively on the mac pro? Apparently the drivers for the D700 work way better in windows - 

Jake

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
You received this message because you are subscribed to a topic in the Google Groups "beast-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beast-users/Vb0cnCVs3bs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beast-users...@googlegroups.com.

Andrew Rambaut

unread,
Jul 20, 2014, 11:43:34 AM7/20/14
to beast...@googlegroups.com
I am not sure I would go as far as using Windows but I do intend to install Linux and use the Intel OpenCL drivers which are very good (and allow the multicore processors to be used as a single BEAGLE device).

Andrew

Jacob Berv

unread,
Jul 20, 2014, 12:03:31 PM7/20/14
to beast...@googlegroups.com
Would that would allow you to use the GPUs in Linux? Does BEAGLE not recognize the multicore CPU in OSX? Do you have any sense of the potential performance improvement if the GPUs eventually did get working?

It seems like the potential GPU computing horsepower/dollar for Mac Pro with the 2 D700s is very great, given that purchasing equivalent AMD workstation GPUs for a DIY build are much more expensive. It seems the Mac Pro discount comes at the expense of ‘pro’ quality drivers.

Jake

Andrew Rambaut

unread,
Jul 20, 2014, 12:16:00 PM7/20/14
to beast...@googlegroups.com
It does (recognise multicore CPUs in OpenCL in OSX) but Apple’s OpenCL drivers are not fast (and a bug prevents BEAGLE running on the GPUs at all). 

Sad, because as you say the MacPro is a lot of machine for the money (and the CPUs really fly with BEAGLE). The small size also allows high density in
a room (assuming adequate cooling).

I hope that this situation improves.

I will try to get Linux running with the GPUs to test their potential (seems a shame to run have to run Linux but if these are going to be headless compute boxes
it doesn’t matter much).

Andrew

Jacob Berv

unread,
Aug 16, 2014, 7:43:05 PM8/16/14
to beast...@googlegroups.com
Have you had any success testing the GPUs under linux? We just ordered one of these machines... 
Jake

Jacob Berv

unread,
Oct 20, 2014, 4:07:06 PM10/20/14
to beast...@googlegroups.com
Just tried in OSX 10.10, still doesn't work. Do you have any updates from testing in linux? My next thing will be to try Ubuntu, but apparently the windows drivers hugely outperform linux (at least in OpenGL).
Jake

Andrew Rambaut

unread,
Oct 20, 2014, 4:11:46 PM10/20/14
to beast...@googlegroups.com
Intel has OpenCL drivers for Linux that seem as fast as Windows (and much faster than Mac OS X). Haven’t tested on Mac Pro yet. 

Andrew

Ramón Fallon

unread,
Oct 20, 2014, 4:28:43 PM10/20/14
to beast-users
In the past, I have dualbooted mac OS X with Biolinux 8 (basically Ubuntu Trusty 14.04, with lots and lots of bio computing goodness) using refind.
* refind: http://www.rodsbooks.com/refind/
* http://environmentalomics.org/bio-linux/
Intel OpenCL installs fairly well in Ubuntu (after you've blacklisted nouveau and  stuck on CUDA)... search posts on this mailing list, though it's not entirely stress-free. There's a big difference between stressfully getting something installed and working and then stresslessly not getting it done at all ... :-D

Generally, if you can install the CUDA SDK samples, and see smokeParticles working, it gives you a good initial idea about GPGPU performance.  "seeming" or "appearing" to be fast is one thing, often influenced by marketing, if I may say so.


Jacob Berv

unread,
Oct 20, 2014, 6:36:04 PM10/20/14
to beast...@googlegroups.com
Cool - I will look into that. I just went through getting MPI working on our mac (which was a huge pain).. so I’m capable of following instructions, as long as said instructions exist. I’m tempted to try Win8 because it would let me play some games :D

If I do I will report benchmarks here.

Jake

Kent Kawashima

unread,
Nov 25, 2014, 1:50:41 AM11/25/14
to beast...@googlegroups.com
Has anyone successfully installed Linux on the mac pro cylinder? Dual D700's would really be sweet but Andrew said he hasn't tested it yet.

Jacob Berv

unread,
Nov 25, 2014, 8:48:42 AM11/25/14
to beast...@googlegroups.com
Unfortunately I still haven't yet had time to test it in windows or Linux.

Sent from my iPhone
Reply all
Reply to author
Forward
0 new messages