Not enough memory

416 views
Skip to first unread message

stra...@protist.eu

unread,
Jul 18, 2018, 5:07:12 AM7/18/18
to IQ-TREE
Hi Minh,

I was trying to calculate a tree and although in the log file it says "NOTE: 170943 MB RAM (166 GB) is required!" and I booked a node with >250 GB and also used the -mem option in the command (see below), I got the following error:

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

Here is the command I used:

Host:    r1.uppmax.uu.se (AVX2, FMA3, 251 GB RAM)
Command: /home/user/software/iqtree-1.6.5-Linux/bin/iqtree -s file.fasta -m LG+C60+G+F -bb 1000 -bnni -wbtl -nt 20 -mem 250G
Seed:    743690 (Using SPRNG - Scalable Parallel Random Number Generator)
Kernel:  AVX+FMA - 20 threads (20 CPU cores detected)


Do you have any idea what caused the crash?
Best, Jurgen

Minh Bui

unread,
Jul 19, 2018, 1:58:22 PM7/19/18
to IQ-TREE, stra...@protist.eu
Hi Juergen,

The problem is that currently -bnni option will lead to double the amount of memory required. We’ll fix this but for now, can you switch to another computer with twice RAM the amount reported in "NOTE: 170943 MB RAM (166 GB) is required!”.

Thanks,
Minh

--
You received this message because you are subscribed to the Google Groups "IQ-TREE" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iqtree+un...@googlegroups.com.
To post to this group, send email to iqt...@googlegroups.com.
Visit this group at https://groups.google.com/group/iqtree.
For more options, visit https://groups.google.com/d/optout.

stra...@protist.eu

unread,
Jul 23, 2018, 4:10:42 AM7/23/18
to IQ-TREE
Hi Minh.

Thanks, this explains why it crashed. Do you have a fixed version already (maybe on GitHub) that can be used? I am asking because I need many trees that would take forever using the resources I have.

Thank you,
Jürgen

Minh Bui

unread,
Aug 5, 2018, 8:11:36 PM8/5/18
to iqt...@googlegroups.com, stra...@protist.eu
Hi Jürgen, 
Not yet, but one thing that could help: use "-mem 120G”. This will restrict the RAM for the tree search phase to this amount and the later -bnni phase as well. So in total IQ-TREE will not exceed 240G. Let me know if that works.

Minh
Reply all
Reply to author
Forward
0 new messages