Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Possible bug with MPI and writing ancestral state trace #162

@ziad-khouri

Description

@ziad-khouri

Hi,

I ran into a potential issue with how ancestral states are written with mnJointConditionalAncestralState() when using MPI: some sites/characters appear to be skipped like in the example below.

"1,1,1,1,1,1,0,1,1,0,1,0,0,1,0,0,0,1,0,1,1,1,1,0,1,0,1,1,1,1,0,1,1,1,1,1,0,1,1,0,,0,0,1,0,0,0,0,,0,1,1,1,0,,0,,1,0,0,1,0"

This does not occur when replicating the run without MPI. Additionally, when using MPI with this particular analysis, RevBayes freezes on or after the last MCMC iteration.

I'm attaching code to replicate the issue, as well as logs and output from two runs.

Environment:
OS: Ubuntu 18.04
GCC: 8.3.0
OpenMPI: 4.0.1
RevBayes: 59d42df
(development branch, Aug 7, 2019)

Best,

Ziad
mpi_bug_test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions