Alternative to adding Beagle library to PATH - not compatible with Condor

449 views
Skip to first unread message

Mary O'Neill

unread,
Mar 13, 2016, 3:51:50 AM3/13/16
to beast-users
I am trying to run beast on a cluster and get the following error when I submit a BEAST run through Condor:

Failed to load BEAGLE library: no hmsbeagle-jni in java.library.path
Failed to load BEAGLE library: no hmsbeagle-jni in java.library.path

Failed to load parser: dr.inferencexml.trace.GeneralizedHarmonicMeanAnalysisParser
line = dr.inferencexml.trace.GeneralizedHarmonicMeanAnalysisParser

Failed to load BEAGLE library: no hmsbeagle-jni in java.library.path
Fatal exception: No acceptable BEAGLE library plugins found. Make sure that BEAGLE is properly installed or try changing resource requirements.
java.lang.RuntimeException: No acceptable BEAGLE library plugins found. Make sure that BEAGLE is properly installed or try changing resource requirements.
    at beagle.BeagleFactory.loadBeagleInstance(Unknown Source)
    at dr.app.beagle.evomodel.treelikelihood.BeagleTreeLikelihood.<init>(Unknown Source)
    at dr.app.beagle.evomodel.parsers.BeagleTreeLikelihoodParser.createTreeLikelihood(Unknown Source)
    at dr.app.beagle.evomodel.parsers.BeagleTreeLikelihoodParser.parseXMLObject(Unknown Source)
    at dr.xml.AbstractXMLObjectParser.parseXMLObject(Unknown Source)
    at dr.xml.XMLParser.convert(Unknown Source)
    at dr.xml.XMLParser.convert(Unknown Source)
    at dr.xml.XMLParser.parse(Unknown Source)
    at dr.app.beast.BeastMain.<init>(Unknown Source)
    at dr.app.beast.BeastMain.main(Unknown Source)
java.lang.RuntimeException: Terminate
    at dr.app.beast.BeastMain.<init>(Unknown Source)
    at dr.app.beast.BeastMain.main(Unknown Source)

On our server the command works just fine, as the Beagle library has been added to the PATH. Unfortunately the other servers in the cluster to do not share this - is there a way to specify the path to the beagle library in the command or some other solution?

Thank you,


Mary

Andrew Rambaut

unread,
Mar 13, 2016, 4:20:27 AM3/13/16
to beast...@googlegroups.com
Dear Mary,

If you can control the environment of the cluster nodes, you can add the location of BEAGLE to LD_LIBRARY_PATH. 
Alternatively, you can edit the shell script that runs BEAST (./bin/beast) and add the location to the java.library.path
in the command line at the end.

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 https://groups.google.com/group/beast-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages