Trouble with BEAGLE library

639 views
Skip to first unread message

Jim McGuire

unread,
Jun 2, 2010, 10:56:22 PM6/2/10
to beast-users
Hi All,

My apologies for this post, but I have been struggling to get the
BEAGLE library to load properly and I'm hoping for some guidance. I
followed the posted instructions for loading the library including
loading the CUDA tools and SDK, etc. When I run with the 'show list of
available BEAGLE resources and quit' option selected, I see that
BEAGLE detects my graphics cards. When I attempt to run with the 'open
in 32-bit mode' button clicked, the program crashes quickly while
loading model parameters. If I run without the 32-bit mode button
selected, the program runs, but it fails to load the BEAGLE library
with error messages including 'Failed to load BEAGLE library: /usr/
local/lib/libhmsbeagle-jni.jnilib: no suitable image found. Did
find: /usr/local/lib/libhmsbeagle-jni.jnilib: mach-o, but wrong
architecture' and 'No external BEAGLE resources available, or resource
list/requirements not met, using Java implementation.'

I believe I have read every post to the User Group related to this
topic and I have tried everything I can think of to solve this
problem. In googling some of these error messages, it suggests that
the problem is either that my BEAGLE library is not in the correct
path or that the architecture of my BEAGLE library does not match my
system for some reason.

If anyone out there has cracked this problem, I would be most grateful
for advice.

Thanks,

Jim

Andrew Rambaut

unread,
Jun 3, 2010, 7:52:27 AM6/3/10
to mcg...@gmail.com, beast-users
Dear Jim,

For the Mac version, BEAGLE only runs in 32bit mode so you must have -d32 on the java command line. The other issue, I think, is because you have installed the latest version of BEAGLE which has advanced a bit since BEAST v1.5.4 was released. The latest version of BEAGLE only works with the latest _in development_ version of BEAST which is probably not stable enough for general use.

The solution is to obtain an older version of BEAGLE that works with BEAST v1.5.4. To obtain this use the following command to check out the code:

svn checkout http://beagle-lib.googlecode.com/svn/tags/BEAST_V1_5_4 beagle-lib

Then follow the instructions to build this version.

I have updated the instructions on the wiki to use this version:

http://beast.bio.ed.ac.uk/BEAGLE_on_Mac_OS_X

Best,
Andrew

> --
> You received this message because you are subscribed to the Google Groups "beast-users" group.
> To post to this group, send email to beast...@googlegroups.com.
> To unsubscribe from this group, send email to beast-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/beast-users?hl=en.
>
>

___________________________________________________________________
Andrew Rambaut
Institute of Evolutionary Biology University of Edinburgh
Ashworth Laboratories Edinburgh EH9 3JT
EMAIL - a.ra...@ed.ac.uk TEL - +44 131 6508624

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Hubert Turner

unread,
Jun 4, 2010, 3:45:23 AM6/4/10
to a.ra...@ed.ac.uk, beast-users
Dear Andrew,

I followed your instructions on the wiki, but ran into a problem.
After downloading the CUDA Developer Drivers for MacOS and the CUDA Toolkit
and installing them (default options used everywhere), I downloaded BEAGLE,
and tried the next commands, but I get an error message:

hubert-turners-macbook:beagle-lib hubertturner$ cd beagle-lib
hubert-turners-macbook:beagle-lib hubertturner$ ./autogen.sh
./autogen.sh: line 3: autoreconf: command not found

What did I do wrong, and how can I correct my error?

The MacOS is 10.6.3.

Thanks for your help,

Hubert Turner
hon. staff biogeography

t +31 71 527 35 75
e turner[at]nhn[dot]leidenuniv[dot]nl


Netherlands Centre for Biodiversity Naturalis (section NHN), Leiden
University
p.o. box 9514, 2300 ra leiden, the netherlands

members.casema.nl/arp/ <http://members.casema.nl/arp/>
www.ncbnaturalis.nl <http://www.ncbnaturalis.nl/>

Aaron Darling

unread,
Jun 4, 2010, 1:51:46 PM6/4/10
to tur...@casema.nl, beast-users
Hi Hubert,
Can you please check whether the Mac OS X Developer Tools (Xcode) are
properly installed on your system? They are required to build the
beagle libraries, or any other software from source code. They usually
come with the OS install CD or DVD, and are also available for download
from Apple:
http://developer.apple.com/technologies/xcode.html

If you have those installed but the autoreconf command is still not
found, then something has seriously run amok and we'll have to
investigate whether there are problems with your PATH variable or other
deficiencies in the OS or Xcode installation.

-Aaron

Jim McGuire

unread,
Jun 7, 2010, 2:21:37 PM6/7/10
to beast-users
Hi Hubert,

I had a similar problem when I initially installed the BEAGLE library
and my problem was that my x-code developer tools were installed but
not up-to-date. Downloading the latest x-code tools did the trick and
might help you, too.

Jim



On Jun 4, 12:45 am, Hubert Turner <tur...@casema.nl> wrote:
> Dear Andrew,
>
> I followed your instructions on the wiki, but ran into a problem.
> After downloading the CUDA Developer Drivers for MacOS and the CUDA Toolkit
> and installing them (default options used everywhere), I downloaded BEAGLE,
> and tried the next commands, but I get an error message:
>
> hubert-turners-macbook:beagle-lib hubertturner$ cd beagle-lib
> hubert-turners-macbook:beagle-lib hubertturner$ ./autogen.sh
> ./autogen.sh: line 3: autoreconf: command not found
>
> What did I do wrong, and how can I correct my error?
>
> The MacOS is 10.6.3.
>
> Thanks for your help,
>
> Hubert Turner
> hon. staff biogeography
>
> t   +31 71 527 35 75
> e   turner[at]nhn[dot]leidenuniv[dot]nl
>
> Netherlands Centre for Biodiversity Naturalis (section NHN), Leiden
> University
> p.o. box 9514, 2300 ra leiden, the netherlands
>
> members.casema.nl/arp/ <http://members.casema.nl/arp/>www.ncbnaturalis.nl<http://www.ncbnaturalis.nl/>
>
> >   EMAIL - a.ramb...@ed.ac.uk                TEL - +44 131 6508624  
Reply all
Reply to author
Forward
0 new messages