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

Constraint segmentation fault #128

Open
LizEve opened this issue Jun 26, 2018 · 0 comments
Open

Constraint segmentation fault #128

LizEve opened this issue Jun 26, 2018 · 0 comments

Comments

@LizEve
Copy link

LizEve commented Jun 26, 2018

In the mpi build of v1.0.7 throws a segmentation fault when the first taxa alphabetically is used in a clade constraint. I have not tested the regular, non mpi build.

It works if the first taxa read in (the first taxon alphabetically) is not included in a constraint.

The easy work around is to rename a taxon not included in constraints to be alphabetically first.

I've attached my alignment file and code to reproduce the error.

inFile = "AHE-L13.threeg.txt"
data <- readDiscreteCharacterData(inFile)
names <- data.names()
outgroup=clade("Gallus_gallus")
iguania=clade("Anolis_brasiliensis", "Anolis_meridionalis", "Tropidurus_oreadicus")
a=clade("Kentropyx_calcarata", "Emeiva_emeiva")
b=clade("Kentropyx_calcarata", "Emeiva_emeiva","Ameivula_mumbuca")

# This works fine
constraints=[outgroup,iguania,a]
topology ~ dnUniformTopology(names,constraints=constraints)

# This gives: Segmentation fault
constraints=[outgroup,iguania,b]
topology ~ dnUniformTopology(names,constraints=constraints)

AHE-L13.threeg.txt

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant