Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot run UDM lclr with 256 or more components in iqtree #1

Open
pnatsi opened this issue Apr 10, 2021 · 3 comments
Open

Cannot run UDM lclr with 256 or more components in iqtree #1

pnatsi opened this issue Apr 10, 2021 · 3 comments

Comments

@pnatsi
Copy link

pnatsi commented Apr 10, 2021

Hi,

I am trying to use the UDM lclr models with iqtree on a toy alignment of 100 species and 500 sites.

Our computer has 1.5TB RAM and 40 cores.

However, iqtree runs successfully only with up to 128 components, and not with 256 or more.
The command I use is:

iqtree -s aln1_100species_500sites.aln -mdef ../tools/EDCluster/Distributions/hogenom/udm_hogenom_0256_lclr_iqtree.nex -m Poisson+UDM0256LCLR -nt AUTO

and the error I get is:

ERROR: STACK TRACE FOR DEBUGGING:
ERROR: Not enough memory, allocation of -15032385536 bytes failed (bad_alloc)

Is this a known issue?
Is it possible to use the PMSF approximation in iqtree in combination with the UDM to overcome this?

Paschalis

@dschrempf
Copy link
Owner

Hi, thanks for you interest in EDM models and thanks for your report.

This was (is?) a long standing bug (integer overflow) in IQ-TREE.

Which version of IQ-TREE are you using? Can you try using the latest release of IQ-TREE2?

If the issue persists, please let me know. I do have a personal IQ-TREE version with this bug fixed, and I can file an upstream bug report.

@pnatsi
Copy link
Author

pnatsi commented Apr 14, 2021 via email

@dschrempf
Copy link
Owner

I have submitted a bug report, see iqtree/iqtree2#24, and also Cibiv/IQ-TREE#171. An (older, v2.0.4) but working version can be downloaded now like so:

git clone https://github.com/Cibiv/IQ-TREE.git
cd IQ-TREE
git checkout linked_models

Compilation is explained here: http://www.iqtree.org/doc/Compilation-Guide

I hope that the issue gets fixed soon, and that you can work with the workaround for now!

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

No branches or pull requests

2 participants