Problem running Beast 2.7: ""no main manifest attribute in launcher.jar"

96 views
Skip to first unread message

nils.c...@orange.fr

unread,
Oct 3, 2023, 3:35:53 PM10/3/23
to beast-users
Hi everyone,
I want to run some generated .xml files from an Rscript with the function:

system2("../beast2.7/lib/launcher.jar -java file.xml")

However, it returns me "no main manifest attribute in launcher.jar". When I try to run the xml file with : 

system2("../beast2.7/bin/beast  file.xml")
Beast launches the data but before the MCMC starts I get an error :

OpenCL error: CL_DEVICE_NOT_FOUND from file <GPUInterfaceOpenCL.cpp>, line 122.

 Do you have any idea where this problem can come from and how to solve it ? I didn't have this kind of problems on beast 2.6.

Beast regards,
Nils

higg...@gmail.com

unread,
Oct 3, 2023, 3:40:06 PM10/3/23
to beast-users
Hi Nils,

The error message suggests some issue with OpenCL, which may be used when BEAGLE is installed. 
Perhaps you can try forcing BEAGLE not to be used, like so

system2("../beast2.7/bin/beast  -java file.xml")

Using launcher.jar directly can be done by providing it with the main class (beast.pkgmgmt.launcher.BeastLauncher for launching BEAST), but is not recommended since it possibly picks up different environment settings, which are taken care of by the beast script.

Cheers, Remco
Reply all
Reply to author
Forward
0 new messages