Beast jobs crashing after few hours

Primary informations

Username: $paltanil
Cluster: $Bamboo

Description

I’m trying to run Snapper/Beast analysis as well as SPEEDEMON/Beast analysis but some of the jobs I submitted crashed and some are still running

Steps to Reproduce

#!/bin/sh
#SBATCH --job-name species
#SBATCH --error %j.e
#SBATCH --output %j.o
#SBATCH --ntasks 1
#SBATCH --cpus-per-task 1
#SBATCH --partition public-cpu
#SBATCH --time 1-00:00:00
#SBATCH --mem=110G
#ml load GCC/8.2.0-2.31.1
#ml load Beast/2.5.2
module purge
module load Java/11.0.2
export _JAVA_OPTIONS="-Xmx90g"
BEAST_DIR="/home/users/p/paltanil/scratch/Snapper/beast"
XML="/home/users/p/paltanil/scratch/Snapper/nameofmybeautifile.xml"
"${BEAST_DIR}/bin/beast" -threads 1 -overwrite -resume "${XML}"

this are the file I submitted with already generated .xml files as the XML (and beast is installed in my scratch/Snapper directory)

Expected Result

I expect that the 48 steps of each individual snapper analysis are displayed in a result directory I have and contain proper results

For speedemon I also look to have the .log and .trees files displayed in another directory

Actual Result

Some of the jobs I submited are still running one but other have crach with an hs.err.pid files that looks like this (when its not just an empty one)

\#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGBUS (0x7) at pc=0x0000149bea7fd550, pid=8321, tid=8322
#
# JRE version: OpenJDK Runtime Environment Zulu17.34+19-CA (17.0.3+7) (build 17.0.3+7-LTS)

\[error occurred during error reporting (printing Java version string), id 0x7, SIGBUS (0x7) at pc=0x0000149bea9e9130\]

# Problematic frame:
# V  \[libjvm.so+0x57c550\]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (or dumping to /srv/beegfs/scratch/users/p/paltanil/Snapper/results/run_hege/step0/core.8321)
#
# If you would like to submit a bug report, please visit:
#   http://www.azul.com/support/
#

---------------  S U M M A R Y ------------

Command Line: -Xmx90g beast.pkgmgmt.launcher.BeastLauncher -overwrite -seed 1793617546190 beast.xml

Host: AMD EPYC 7742 64-Core Processor, 
\[error occurred during error reporting (printing summary machine and OS info), id 0x7, SIGBUS (0x7) at pc=0x0000149bea7a70e0\]

Time: Tue Nov  3 08:43:52 2026 CET elapsed time: 74245.163174 seconds (0d 20h 37m 25s)

---------------  T H R E A D  ---------------

Current thread (0x0000149be4024120):  
\[error occurred during error reporting (printing current thread), id 0x7, SIGBUS (0x7) at pc=0x0000149bea7ba5d0\]

Stack: \[0x0000149bea0a4000,0x0000149bea1a4000\],  sp=0x0000149bea1a1768,  free space=1013k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  \[libjvm.so+0x57c550\]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
v  \~RuntimeStub::\_new_array_Java
J 1931 c2

Dear @Liam.Paltani do you still have the issue?

Maybe it was related with the storage issue we had on Bamboo? Anyway, my colleague will compile a newer Beast version for you, stay tuned!

Best regards

Dear @Yann.Sagon

Thank you for your response !

I kinda forgot to delete or archive my post because the issue is resolved now

It was indeed partly because of the storage issue that happend on bamboo but also due to the fact that I requested not enough cpus in my slurm to allow the program to be able to work as inteaded.

Thanks again for the answer, I don’t know if I am going to re-use BEAST soon but it would definitely be a nice thing to updade the version of BEAST in the HPC

BEAST regards

Dear Liam,

Just to update I deploy a new Beast version because the one you are using is really old :

(baobab)-[root@gpu008 ~]$ ml spider Beast

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  Beast:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Description:
      BEAST is a cross-platform program for Bayesian MCMC analysis of molecular sequences. It is entirely orientated towards rooted, time-measured phylogenies inferred using strict or relaxed molecular clock models. It can be used as a method of
      reconstructing phylogenies but is also a framework for testing evolutionary hypotheses without conditioning on a single tree topology. BEAST uses MCMC to average over tree space, so that each tree is weighted proportional to its posterior
      probability. - Homepage: http://beast.bio.ed.ac.uk/

     Versions:
        Beast/1.8.4
        Beast/1.10.5pre
        Beast/2.5.2
        Beast/2.7.7-CUDA-12.1.1

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  For detailed information about a specific "Beast" package (including how to load the modules) use the module's full name.
  Note that names that have a trailing (E) are extensions provided by other modules.
  For example:

     $ module spider Beast/2.7.7-CUDA-12.1.1
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This new version is optimised for CUDA so you have to ask public-gpu partition with “–gpus 1”.

Best regards