beast2 icon indicating copy to clipboard operation
beast2 copied to clipboard

-prefix flag cause beast to crash

Open carlopacioni opened this issue 4 years ago • 0 comments

Hi Remco, I have a script to run multiple instances of BEAST from the same xml file to test the speed at different settings. To avoid conflicts to access the same files, I’m using the flag -prefix (e.g. T1). While this works fine for the log and tree files, beast interprets the prefix as a path for the statefile and crashes with the message: java.io.FileNotFoundException: T1\EBSP_default.xml.state.new (The system cannot find the path specified)

I worked around the problem by also setting -statefile, which seems to override -prefix for the statefile, but I’ not sure whether this is the intended behaviour and thought to drop a line to let you know.

cheers, carlo

carlopacioni avatar Aug 03 '20 12:08 carlopacioni